Compilation 手动编译doozerd失败

Compilation 手动编译doozerd失败,compilation,go,Compilation,Go,我在以下位置安装了doozerd sources: 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时,在本地找不到我得到的包错误..: . imports github.com/ha/doozerd/peer imports git

我在以下位置安装了doozerd sources:

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时,在本地找不到我得到的包错误..:

.
    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会找到缺少的需求,并自行安装它们。 我错过了什么?

$GOPATH=

/home/stephan/src/go/src/pkg/
表示go工具在
/home/stephan/src/go/src/pkg/src/
,但您将源代码放在了
/home/stephan/src/go/src/pkg/github.com/ha/doozerd