mac上安装thrift0.9.3
来源:互联网 发布:张爱玲小艾 知乎 编辑:程序博客网 时间:2024/06/04 19:59
步骤
1.下载thrift0.9.3的安装包,进行解压。
2. 执行configure
./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local --without-ruby --without-perl --without-php --without-nodejs
3.执行make,出现异常按3.3处理。
4. 执行make install
5. 安装完成后输入thrift -version,正常显示版本号
Thrift version 0.9.3
PS:
3.3 make时,报”configure: error: Bison version 2.5 or higher must be installed on the system!”,原因为osc上的预装的bison版本冲突,需要重新安装bison。步骤如下
3.3.1 从http://www.gnu.org/software/bison/ 上下载最新的bison.tar.gz,并解压。
3.3.2 进行configure, 用prefix指定目录
./configure --prefix=/Library/Developer/CommandLineTools/usr/bin/bison2
3.3.3 执行make
3.3.4 执行install,安装完成
3.3.5 将当前的bison重命名为bison.2.3,我的本机bison目录在/Library/Developer/CommandLineTools/usr/bin/上
cd /Library/Developer/CommandLineTools/usr/bin/sudo mv bison bison.2.3
3.3.6 将新安装的bison重命为bison
cd /Library/Developer/CommandLineTools/usr/bin/bison2sudo cp bison ..\
3.3.7 复制成功后,正常使用bison –help测试
0 0
- mac上安装thrift0.9.3
- Thrift0.9.3 安装(最新版本)
- Thrift0.8.0安装常见问题
- Ubuntu安装thrift0.10.0
- centos7.1编译安装 Thrift0.9.3及boost1.6
- Mac上进行thrift0.9.0升级到0.9.2的方法
- linux下安装Thrift0.5.0
- Redhat6.2安装thrift0.9.1
- Ubuntu16.06安装Thrift0.10
- thrift0.7.0在ubuntu11.04/11.10和centos6上的安装测试
- Thrift安装(ubuntu16.04+thrift0.10.0)
- Mac上安装Git
- PC上安装Mac
- Mac上 安装Lua
- Mac上安装Thrift
- mac上安装MySql
- mac 上安装mysql
- MAC上安装hadoop
- beego API开发以及自动化文档
- python 处理命令行参数
- 复杂指针的声明
- 80端口被占用
- Single Image Haze Removal Based On Guided Filter
- mac上安装thrift0.9.3
- wemall软件交易平台微信图文编辑器部分代码分享
- CSS :focus 伪类
- JSON是什么?
- HTML5&CSS3笔记:用 CSS3 创造令人惊艳的美
- Pandas 初探(二)
- 在springmvc中使用hibernate-validate
- postgresql中sql多行语句合并一行
- mysqlreport 中文文档