网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
04月25日漏签0天
ethos吧 关注:298贴子:805
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 7回复贴,共1页
<<返回ethos吧
>0< 加载中...

go-ethereum 报错处理

  • 只看楼主
  • 收藏

  • 回复
  • 40451
  • 人中龙凤
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
root@KC:~# cd go-ethereum
root@KC:~/go-ethereum# make geth
build/env.sh go run build/ci.go install ./cmd/geth
internal/build/azure.go:20:2: cannot find package "context" in any of:
/root/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/context (vendor tree)
/usr/lib/go-1.6/src/context (from $GOROOT)
/root/go-ethereum/build/_workspace/src/context (from $GOPATH)
Makefile:15: recipe for target 'geth' failed
make: *** [geth] Error 1
解决办法:
sudo apt-get remove golang
sudo apt-get install go-1.9
sudo cp /usr/lib/go-1.9/bin/go /usr/bin/go


  • 40451
  • 人中龙凤
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
搭建矿池呢


2026-04-25 13:42:15
广告
不感兴趣
开通SVIP免广告
  • 我打紧羽毛球
  • 初涉江湖
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
root@nuanyang-2288H-V5:~/go-ethereum# make geth
env GO111MODULE=on go run build/ci.go install ./cmd/geth
build/ci.go:60:2: cannot find package "github.com/cespare/cp" in any of:
/usr/lib/go-1.10/src/github.com/cespare/cp (from $GOROOT)
/root/go/src/github.com/cespare/cp (from $GOPATH)
build/ci.go:61:2: cannot find package "github.com/ethereum/go-ethereum/crypto/signify" in any of:
/usr/lib/go-1.10/src/github.com/ethereum/go-ethereum/crypto/signify (from $GOROOT)
/root/go/src/github.com/ethereum/go-ethereum/crypto/signify (from $GOPATH)
build/ci.go:62:2: cannot find package "github.com/ethereum/go-ethereum/internal/build" in any of:
/usr/lib/go-1.10/src/github.com/ethereum/go-ethereum/internal/build (from $GOROOT)
/root/go/src/github.com/ethereum/go-ethereum/internal/build (from $GOPATH)
build/ci.go:63:2: cannot find package "github.com/ethereum/go-ethereum/params" in any of:
/usr/lib/go-1.10/src/github.com/ethereum/go-ethereum/params (from $GOROOT)
/root/go/src/github.com/ethereum/go-ethereum/params (from $GOPATH)
Makefile:16: recipe for target 'geth' failed
make: *** [geth] Error 1
我也出现这种情况,就是弄不明白怎么处理


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 7回复贴,共1页
<<返回ethos吧
分享到:
©2026 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示