Hi, I'm having trouble updating the version through source code. export GOROOT_BOOTSTRAP=/home/lucas/go1.4 export GOROOT=$HOME/go export GOPATH=$HOME/workspace-go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
$ go version go version go1.8.3 linux/amd64 When i run ./all.bash $ ./all.bash Building Go cmd/dist using /home/lucas/go1.4. Building Go toolchain1 using /home/lucas/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. /home/lucas/go/src/cmd/go/zosarch.go:3:9: package cfg; expected main go tool dist: FAILED: /home/lucas/go/pkg/tool/linux_amd64/compile -std -pack -o /tmp/go-tool-dist-706454567/cmd/go/_go_.a -p main /home/lucas/go/src/cmd/ go/alldocs.go /home/lucas/go/src/cmd/go/go11.go /home/lucas/go/src/cmd/go/ main.go /home/lucas/go/src/cmd/go/zdefaultcc.go /home/lucas/go/src/cmd/go/ zosarch.go: exit status Em terça-feira, 24 de abril de 2018 20:58:32 UTC-3, Dave Cheney escreveu: > > It depends on how you installed ypthe previous version of go. Home brew is > popular on the Mac so follow their instructions for upgrading a package > installed via brew. > > If you used one of the options from the golang org website, simply remove > /usr/local/go and follow the instruction on the website to install go > 1.10.1. > > Lastly, unset GOROOT if you’ve set it. -- 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, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.