【发布时间】:2012-02-20 11:46:57
【问题描述】:
我在以下位置安装了 doozerd 源:
home/stephan/src/go/src/pkg/github.com/ha/doozerd
$GOROOT = /home/stephan/src/go $GOPATH = /home/stephan/src/go/src/pkg/
当我尝试在 github 的 doozerd 结帐中执行 ./all.sh 时,我得到 package could not be found local errors.. :
.
imports github.com/ha/doozerd/peer
imports github.com/ha/doozerd/web
imports code.google.com/p/go.net/websocket: /home/stephan/src/go/src/pkg/github.com/ha/doozerd/web/web.go:4:2: package could not be found locally
.
imports github.com/ha/doozerd/peer
imports github.com/ha/doozerd/consensus
imports code.google.com/p/goprotobuf/proto: /home/stephan/src/go/src/pkg/github.com/ha/doozerd/server/conn.go:4:2: package could not be found locally
.
imports github.com/ha/doozer: /home/stephan/src/go/src/pkg/github.com/ha/doozerd/peer/peer.go:4:2: package could not be found locally
我认为 go 会找到缺少的需求,并自行安装它们。 我错过了什么?
【问题讨论】:
标签: compilation go