Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compilation fails due to go-bindata not in GOPATH #43

Closed
discordianfish opened this issue Jun 8, 2015 · 1 comment
Closed

Cross compilation fails due to go-bindata not in GOPATH #43

discordianfish opened this issue Jun 8, 2015 · 1 comment
Labels

Comments

@discordianfish
Copy link
Member

When cross-compiling, the Makefile installs go-bindata in .build/gopath/bin/linux_386/go-bindata but tries to call it via .build/gopath/bin/go-bindata:

$ GOOS=linux GOARCH=386 make archive
GOPATH=/home/fish/dev/go/src/github.com/prometheus/pushgateway/.build/gopath /home/fish/dev/go-src/bin/go get github.com/jteeuwen/go-bindata/...
/home/fish/dev/go/src/github.com/prometheus/pushgateway/.build/gopath/bin/go-bindata -prefix=resources resources/...
make: /home/fish/dev/go/src/github.com/prometheus/pushgateway/.build/gopath/bin/go-bindata: Command not found
Makefile:33: recipe for target 'bindata.go' failed
make: *** [bindata.go] Error 127
@sdurrheimer
Copy link
Contributor

Fixed by #76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants