Reputation: 60213
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.
Upvotes: 3
Views: 1907
Reputation: 60213
The problem was that I had not included $GOPATH/bin
in my $PATH
:
export PATH="${PATH}:${GOPATH}/bin"
That made the warning disappear.
Upvotes: 6