thrift 安装
来源:互联网 发布:网络兼职招聘信息 编辑:程序博客网 时间:2024/05/16 05:59
1. 下载到 thrift-0.9.0.tar.gz,解压
2. sudo ./configure --prefix=/usr/local/thrift-0.9.0 --with-boost=/usr/local/boost --with-cpp --with-libevent=/usr/local/libevent
由于依赖boost和 libevent,指明路径。with-cpp表示安装cpp库
3. sudo make && sudo make install
在/usr/local/thrift-0.9.0 就看到了
------------
4. 在/usr/local/bin中 ln 命令 thrift
5. 在/etc/ld.so.conf.d/third-part.conf中 添加库的路径, 执行/sbin/ldconfig
问题:
1 安装时看到 src/protocol/fastbinary.c:20:20: error: Python.h: No such file or directory
这个文件在安装了python开发包之后才有,所以sudo apt-get install python-dev
- thrift安装
- thrift安装
- thrift安装
- thrift安装
- thrift安装
- thrift 安装
- thrift 安装
- thrift安装
- Thrift 安装
- thrift 安装
- thrift安装
- thrift 安装
- thrift 安装
- thrift安装
- thrift安装
- 安装thrift
- 【Thrift一】Thrift编译安装
- thrift的安装和Java编写thrift
- 匹配汉字的正则表达式!
- Visual Studio中的邮箱验证正则表达式!
- 登陆也需要装饰——机房收费系统装饰模式实战
- 切图小贴士
- 验证日期的正则(可输入形如2008、2008-9、2008-09...)
- thrift 安装
- 【Data】数据结构之线性表(3)
- 减少你的锚文本的数量以提高用户体验
- #pragma pack(2)意义与用法
- shell的输入,输出
- 使用git下载android源码 Git和Repo扫盲——如何取得Android源代码
- linux 函数hook实现数据包过滤基本框架
- 灼眼夏娜电脑主题_系统美化
- 华为软件编程规范学习(四)--可读性