goinstall go-tour.googlecode.com/hg/gotour
運行上面的命令給我下面的消息..無法運行goinstall
goinstall: encoding/json: go/build: package could not be found locally
goinstall: code.google.com/p/go-tour/pic: cannot download: code.google.com/p/go-tour/pic
goinstall: code.google.com/p/go-tour/tree: cannot download: code.google.com/p/go-tour/tree
goinstall: code.google.com/p/go-tour/wc: cannot download: code.google.com/p/go-tour/wc
goinstall: os/exec: go/build: package could not be found locally
goinstall: net/http: go/build: package could not be found locally
我知道,有一個與路徑設置問題..我也查了這個post
export PATH=$PATH:/home/sakthi/sakthig/code/my/go/go/bin
export GOROOT=/home/sakthi/sakthig/code/my/go/go
export GOPATH=$GOROOT/bin
這是我當前的路徑設置..任何幫助?
'汞柱更新weekly'此命令幫助..之前這個我用來試試'hg update release'這個功能或者至少可以解決我的問題;) – sakthig 2011-12-21 05:50:00