栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

make peer报错:recipe for target ‘build/image/ccenv/payload‘ failed

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

make peer报错:recipe for target ‘build/image/ccenv/payload‘ failed

使用make peer 后protoc-gen-go这个文件找不到的情况
报错:
cp: omitting directory ‘build/docker/gotools/bin/protoc-gen-go’
Makefile:262: recipe for target ‘build/image/ccenv/payload’ failed

解决:
自己安装后拷贝到 build/docker/gotools/bin/ 目录,然后再次执行编译 peer 的命令
cd $GOPATH/src/github.com/golang/
git clone https://git.oschina.net/mellymeng/protobuf.git
go get -u github.com/golang/protobuf/protoc-gen-go
cd $GOPATH
cp bin/protoc-gen-go /opt/gopath/src/github.com/hyperledger/fabric/build/docker/gotools/bin/

方法参考:
https://www.cnblogs.com/chenfool/p/8494052.html

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/751091.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号