最近在编译 Thrift 的时候出现这种情况,我按照官方教程的要求,所有版本都是最新,但是还出现这种问题。

make[]: Entering directory `/home/yantze/dl/thrift/lib/cpp/test'
Makefile:: gen-cpp/.deps/ChildService.Plo: No such file or directory
Makefile:: gen-cpp/.deps/DebugProtoTest_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/EmptyService.Plo: No such file or directory
Makefile:: gen-cpp/.deps/EnumTest_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/OptionalRequiredTest_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/ParentService.Plo: No such file or directory
Makefile:: gen-cpp/.deps/Recursive_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/ThriftTest_constants.Plo: No such file or directory
Makefile:: gen-cpp/.deps/ThriftTest_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/TypedefTest_types.Plo: No such file or directory
Makefile:: gen-cpp/.deps/proc_types.Plo: No such file or directory
make[]: *** No rule to make target `gen-cpp/.deps/proc_types.Plo'. Stop.

断断续续,中午终于搞定编译,但是也不知道能不能用。

git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift
./bootstrap.sh
./configure --with-lua=no --with-erlang=no
make -j1
sudo make install

`make -j1`应该是只用一个 CPU 编译的意思。

最新文章

  1. struts2 的正则表达式验证不起作用解决办法
  2. CSS实现DIV水平 垂直居中-1
  3. 解的个数(codevs 1213)
  4. Spring+Struts2/Hibernate 学习笔记
  5. sprint3(第六天)
  6. php 实现文件下载,兼容IE、Firefox、Chrome等浏览器
  7. Adding the Test API in The ASP.NET Web API Help Page
  8. 【转】shell 教程——06 Shell变量:Shell变量的定义、删除变量、只读变量、变量类型
  9. Jquery 对话框确认
  10. [code]高精度运算
  11. babel如此简单
  12. SSH第一篇【整合SSH步骤、OpenSessionInView】
  13. webservice接口国内手机号码归属地查询
  14. (转)IDEA破解 2017 IDEA license server 激活(可用)
  15. qml demo分析(abstractitemmodel-数据分离)
  16. 解决ionic3 android 运行出现Application Error - The connection to the server was unsuccessful
  17. luogu P2553 [AHOI2001]多项式乘法
  18. DT:DT实现根据乳腺肿瘤特征向量高精度预测肿瘤的是恶性还是良性—Jason niu
  19. npm 全局执行 update 、 outdated 出现 npm-debug.log 404 错误的问题
  20. SVN之 trunk, branches and tags意义

热门文章

  1. iOS开发——图形编程OC篇&OpenGL ES2.0编程步骤
  2. XtraBackup原理3
  3. Shell脚本调试工具set
  4. Computer Science Theory for the Information Age-3: 高维空间中的高斯分布和随机投影
  5. super 和this的用法
  6. [PHP] Eclipse开发PHP环境配置
  7. CentOS7.0 重置Root的密码
  8. [转]T4模版引擎之生成数据库实体类
  9. HDU 2295 Radar (DLX + 二分)
  10. poj 3164 最小树形图