Closed andersfylling closed 6 years ago
Is that the entire output? The make
should automatically call make get-deps
, although you can try running it separately.
having same error
Could you post log of the command you are trying to run and the output?
go version: go version go1.9.2 linux/amd64
command: make
output:
go get -u github.com/golang/dep/cmd/dep
dep ensure
make: dep: Command not found
Makefile:10: recipe for target 'dep' failed
make: *** [dep] Error 127
Looks like this is the same output that @andersfylling is getting
was hacking around on the Makefile to see if I could fix it myself
Adding GOBIN := $(shell go env GOBIN)
right below GOARCH
decleration and changing dep ensure
to $(GOBIN)/./dep ensure
seemed to do the trick for me @TrueFurby
Do you have your bin
(from GOPATH/bin) in the PATH
environment variable?
My GOPATH was separate from my GOROOT env variable; causing the issues.
All set now.
go version:
go version go1.10 linux/amd64
command:
make
output: