3

I am trying to build syncthing:

$ ./build.sh 
Warning: no godep, using "go get" instead.
Try "go get github.com/tools/godep".

Even though it is only a warning, I would like to make it disappear.
As suggested by the message, I ran:

go get github.com/tools/godep

But even after doing so, the same error appears.
My $GOPATH/bin contains an executable called godep.

How to fix this warning?

Ubuntu 2013.10 go version go1.1.2 linux/amd64

UPDATE: I just realized that this warning is generated by build.sh itself, so the problem might be more localized than I thought.

1 Answer 1

6

The problem was that I had not included $GOPATH/bin in my $PATH:

export PATH="${PATH}:${GOPATH}/bin"

That made the warning disappear.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.