[go-nuts] Re: building go1.7.5 ... api check failed

2017-01-28 Thread Dave Cheney
You must not set GOROOT when building from source. It is not necessary and will lead to confusing error messages if you at GOROOT -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it,

[go-nuts] Re: building go1.7.5 ... api check failed

2017-01-28 Thread gocss
yes; after the failed api check I issued 4 commands: "go env" "env | grep GO" "which go" "go -version" output of those follow: admin1@tp13:/csspc/etc$ go env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/mnt/data1/admin1/gocode" GORACE=""

[go-nuts] Re: building go1.7.5 ... api check failed

2017-01-28 Thread Dave Cheney
Do you have GOROOT set? This error can occur when GOROOT is set incorrectly. On Sunday, 29 January 2017 03:06:18 UTC+11, gocss wrote: > > building in xubuntu 16.04 LTS > > # API check > stat /csspc/etc/go/src/cmd/api/run.go: no such file or directory > 2017/01/28 10:51:46 Failed: exit status