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

环境

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/go
export GOPATH=$HOME/gosrc
export GOBIN=$GOROOT/bin
export PATH=$PATH:$GOROOT/bin

source ~/.profile


区块in~微信公众号:

go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed_第1张图片

区块链开发者交流群

go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed_第2张图片

go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed_第3张图片


你可能感兴趣的:(Ethereum以太坊)