在超级账本结构1.4上运行命令'make configtxgen cryptogen'时出现问题:不允许导入周期

时间:2019-01-23 08:21:58

标签: hyperledger-fabric

我已经从here克隆了Fabric存储库并成功运行了make docker,但是当我运行make configtxget cryptogen时,此输出出现错误:

.build/bin/configtxgen
CGO_CFLAGS=" " GOBIN=/home/yashar/go/src/github.com/hyperledger/fabric/.build/bin go install -tags "" -ldflags "-X github.com/hyperledger/fabric/common/tools/configtxgen/metadata.CommitSHA=908739e0f" github.com/hyperledger/fabric/common/tools/configtxgen
import cycle not allowed
package github.com/hyperledger/fabric/common/tools/configtxgen
        imports github.com/hyperledger/fabric/bccsp/factory
        imports github.com/hyperledger/fabric/bccsp/sw
        imports crypto/x509
        imports net
        imports runtime/cgo
        imports runtime/cgo
Makefile:260: recipe for target '.build/bin/configtxgen' failed
make: *** [.build/bin/configtxgen] Error 1

我将GOROOT设置为/ home / yashar / go / bin并将GOPATH设置为/ home / yashar / go可以正常工作,并且我正在ubuntu 18.04上使用Docker版本18.09.1在gountu 18.04上使用go1.11.4,构建4c52b90和docker -撰写1.23.2版,建立1110ad01

如何解决此问题?

0 个答案:

没有答案