Chinaunix首页 | 论坛 | 博客
  • 博客访问: 134648
  • 博文数量: 28
  • 博客积分: 250
  • 博客等级: 二等列兵
  • 技术积分: 270
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-30 15:13
文章分类
文章存档

2017年(1)

2016年(8)

2015年(7)

2012年(12)

我的朋友

分类: C/C++

2015-08-16 16:40:08

按照安装grpc
在make的过程中出现如下错误:
make[1]: Entering directory `/home/work/chensijiao/opensource/grpc/third_party/protobuf'

make[1]: *** No rule to make target `clean'.  Stop.
这是因为third_party/protobuf缺少makefile所致

third_party/protobuf生成makefile的方法:
step1:进入third_party/protobuf 执行 autogen.sh  如果碰到gtest拉取失败,注释掉autogen.sh中gtest相关的代码
step2:运行bash autogen.sh生成configure文件
step3:执行./configure就可以生成Makefile。

再进入主目录即可编译通过。


阅读(4446) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~