ubuntu下安装thrift
2016-05-22 22:32
316 查看
1.必须已经安装g++
2.sudo apt-get update
4.wget https://mirrors.tuna.tsinghua.edu.cn/apache/thrift/0.9.3/thrift-0.9.3.tar.gz(去官网找到最新也可以)
5.tar -xzf thrift-0.9.3.tar.gz
6.cd thrift-0.9.3
7. ./configure ( error: no acceptable C compiler found in $PATH 没有装g++)
8. make 有点慢
9.sudo make install
thrift -version 出现版本就ok了
2.sudo apt-get update
3.sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
4.wget https://mirrors.tuna.tsinghua.edu.cn/apache/thrift/0.9.3/thrift-0.9.3.tar.gz(去官网找到最新也可以)
5.tar -xzf thrift-0.9.3.tar.gz
6.cd thrift-0.9.3
7. ./configure ( error: no acceptable C compiler found in $PATH 没有装g++)
8. make 有点慢
9.sudo make install
thrift -version 出现版本就ok了
相关文章推荐
- linux Cent-os vim 背景色设置 vimrc配置
- Jquery 之 使用选择器
- 5分钟实现Android中更换头像功能
- Python处理多个客户端连接---多路复用选择服务器
- 排序算法总结之插入排序
- 坚持翻译吧一天一段 》1
- C#知识点-委托
- session存储数组列子(会话购物车)
- Hadoop学习19--推测式执行
- 原子,锁,还有内存屏障
- 哈希表
- spring mvc 异常统一处理方式
- FFT(快速傅里叶变换):HDU 4609 3-idiots
- 第二章 一切都是对象
- 指针难点汇总
- JSTL标签
- C#网络程序设计1-6:百度百科-c#委托
- 用遗传算法走迷宫 [Java语言实现]
- 起航
- 《两汉两罗马》等后感