Giter Club home page Giter Club logo

Comments (11)

mfilotto avatar mfilotto commented on September 18, 2024 1

Hi,
I get an error too

$ go get github.com/uber/jaeger
package github.com/uber/jaeger: no buildable Go source files in /home/vagrant/go/src/github.com/uber/jaeger

$ go get github.com/jaegertracing/jaeger
package github.com/jaegertracing/jaeger: no buildable Go source files in /home/vagrant/go/src/github.com/jaegertracing/jaeger

Any idea ?

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

On the first look everything seems ok, the Travis build did compile hotrod successfully

https://travis-ci.org/uber/jaeger#L552

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

I tried a few things, all seem to work for me. One strange thing about the error you have is that it refers to /Users/Chris/go/src/github.com/uber-go/zap - instead it should be looking for it under the ./vendor dir.

from jaeger.

dianvaltodorov avatar dianvaltodorov commented on September 18, 2024

@LoungeFlyZ How did you get the source code?
Was it with go get github.com/uber/jaeger or with git clone https://github.com/uber/jaeger.git in a path different from your $GOPATH?

If it was with the second option it would not work. Instead use the go get github.com/uber/jaeger and check if it does?

from jaeger.

LoungeFlyZ avatar LoungeFlyZ commented on September 18, 2024

Thanks @dianvaltodorov, it was with git clone. I did that because go get didnt work either. Here is what i got:

can't load package: package github.com/uber/jaeger: no buildable Go source files in /Users/Chris/go/src/github.com/uber/jaeger

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

@LoungeFlyZ we may need to put a dummy file in the root to make sure go get works. If you're using git clone, you need to make sure the target dir follows Go convention, i.e. it should be cloned into $GOPATH/src/github.com/uber/jaeger

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

I added doc.go, so that go get now works.

from jaeger.

LoungeFlyZ avatar LoungeFlyZ commented on September 18, 2024

@yurishkuro that seemed to fix the go get issue.

Now when i get to the next step it doesnt want to run:

Chris@Christophers-MacBook-Pro-2  ~/go/src/github.com/uber/jaeger/examples/hotrod   master  go run ./main.go all pkg/log/factory.go:27:2: cannot find package "go.uber.org/zap" in any of: /Users/Chris/go/src/github.com/uber/jaeger/examples/hotrod/vendor/go.uber.org/zap (vendor tree) /usr/local/Cellar/go/1.8/libexec/src/go.uber.org/zap (from $GOROOT) /Users/Chris/go/src/go.uber.org/zap (from $GOPATH) pkg/log/factory.go:28:2: cannot find package "go.uber.org/zap/zapcore" in any of: /Users/Chris/go/src/github.com/uber/jaeger/examples/hotrod/vendor/go.uber.org/zap/zapcore (vendor tree) /usr/local/Cellar/go/1.8/libexec/src/go.uber.org/zap/zapcore (from $GOROOT) /Users/Chris/go/src/go.uber.org/zap/zapcore (from $GOPATH)

Ideas?

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

I think it was missing the main install, I just pushed a change to the Makefile.

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

Please reopen if you still have the issue.

from jaeger.

yurishkuro avatar yurishkuro commented on September 18, 2024

@mfilotto fixed by c32f960

however, that error was not fatal, the code is stil downloaded

from jaeger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.