You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
After installing a fresh copy of Go, attempting to build weave gives:
Your go standard library was built without the 'netgo' build tag.
To fix that, run
sudo go clean -i net
sudo go install -tags netgo std
These instructions overwrite Go's libraries, which may be inconvenient for some users.
This can be improved by adding -installsuffix netgo each time -tags netgo is used in the Makefile to make Go put the files in a different directory.
(Inspired by golang/go#9369 (comment))
The text was updated successfully, but these errors were encountered:
bboreham
changed the title
Make line should use -installsuffifx in addition to -netgo
Makefile should use -installsuffifx in addition to -netgo
May 26, 2015
Since this issue was filed, the symptoms have downgraded to:
After installing a fresh copy of Go, attempting to build weave gives:
$ make
go get -tags netgo ./prog/weaver
go install net: open /usr/local/go/pkg/linux_amd64/net.a: permission denied
make: *** [prog/weaver/weaver] Error 1
After installing a fresh copy of Go, attempting to build weave gives:
These instructions overwrite Go's libraries, which may be inconvenient for some users.
This can be improved by adding
-installsuffix netgo
each time-tags netgo
is used in the Makefile to make Go put the files in a different directory.(Inspired by golang/go#9369 (comment))
The text was updated successfully, but these errors were encountered: