運行以下命令一段時間,我看到下面的錯誤在我的終端獲得以下錯誤,同時建立hyperledger面料
$做出的dist-清潔所有
編譯/斌/對後建立hyperledger CGO_CFLAGS =」「 GOBIN =/usr/share/go-1.6/src/github.com/hyperledger/fabric/build/bin go install -ldflags「-X github.com/hyperledger/fabric/common/metadata.Version=0.7.0-snapshot -29d7fc0 -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.3.0 -X github.com/hyperledger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric「github.com/hyperledger/fabric/peer /usr/lib/go-1.6/src/github.com/hyperledger/fabric/核心/ chaincode/ccproviderimpl.go:20:2:在以下任何一箇中找不到軟件包「context」: /usr/lib/go-1.6/src/github.com/hyperledger/fabric/vendor/context(vendor tree) /usr/lib/go-1.6/src/vendor/context /usr/share/go/src/github.com/hyperledger/fabric/vendor/context /usr/share/go/src/vendor/context /usr/lib目錄/去-1.6/src目錄/上下文(由$ GOROOT) 在/ usr /共享/去/ src目錄/上下文(由$ GOPATH) 的Makefile:177:配方目標 '構建/斌/同行' 失敗 化妝:*** [建/斌/同行]錯誤1
我試圖從源代碼構建hyperledger面料。我可以使用docker安裝沒有源代碼的結構。 –