go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed

来源:互联网 发布:淘宝爱用交易怎么样 编辑:程序博客网 时间:2024/06/03 21:41

环境

Ubuntu 版本 16.04.1
go-ethereum 1.6版本

报错

pyp@pyp-ThinkPad-T420s:~/data/go-ethereum$ make geth

build/env.sh go run build/ci.go install ./cmd/geth
ci.go:179: You have Go version go1.6.2
ci.go:180: go-ethereum requires at least Go version 1.7 and cannot
ci.go:181: be compiled with an earlier version. Please upgrade your Go installation.
exit status 1
Makefile:15: recipe for target 'geth' failed

make: *** [geth] Error 1


错误提示我 go1.6.2版本过低 最小版本支持1.7

去https://www.golangtc.com/download goland中国下载

我下下载go1.9.linux-amd64.tar.gz


安装步骤

tar -xvf go1.9.linux-amd64.tar.gz

mv go /usr/local/src

mkdir $HOME/gosrc && cd $HOME/gosrc

mkdir bin  pkg  src


vim ~/.profile export GOROOT=/usr/local/src/goexport GOPATH=$HOME/gosrcexport GOBIN=$GOROOT/binexport PATH=$PATH:$GOROOT/binsource ~/.profile


区块in~微信公众号:

区块链开发者交流群



阅读全文
0 0