第4章make docker

区块链开发实战: Hyperledger Fabric

严格按照步骤过来的, 到make docker就报错,实在让人心情不好.

环境: Macbook pro

uilding build/docker/bin/peer

^@^@^@# github.com/hyperledger/fabric/peer

/tmp/go-link-319335397/000001.o: In function `pluginOpen':

/tmp/workdir/go/src/plugin/plugin_dlopen.go:19: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/tmp/go-link-319335397/000000.o: In function `_cgo_b0c710f30cfd_C2func_getaddrinfo':

/tmp/go-build/net/_obj/cgo-gcc-prolog:46: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

(cd sampleconfig && tar -jc *) > build/sampleconfig.tar.bz2

mkdir -p build/image/peer/payload

cp build/docker/bin/peer build/sampleconfig.tar.bz2 build/image/peer/payload

make[1]: Entering directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'

Building golang.org/x/lint/golint -> golint

package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (https fetch: Get https://golang.org/x/lint/golint?go-get=1: proxyconnect tcp: dial tcp 127.0.0.1:8123: getsockopt: connection refused)

make[1]: *** [gotool.golint] Error 1

Makefile:48: recipe for target 'gotool.golint' failed

make[1]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'

Makefile:53: recipe for target '/opt/gotools/obj/gopath/bin/golint' failed

make: *** [/opt/gotools/obj/gopath/bin/golint] Error 2

make: *** [build/docker/gotools] Error 2

请先 登录 后评论

1 个回答

冯翔 - 高级系统架构师

https fetch: Get https://golang.org/x/lint/golint?go-get=1: proxyconnect tcp: dial tcp 127.0.0.1:8123: getsockopt: connection refused   

问题在这里


请先 登录 后评论
  • 2 关注
  • 0 收藏,146 浏览
  • yunzhishang 提出于 2018-08-08 10:43

相似问题