首页 > 其他 > 详细

Thrift 安装

时间:2018-11-28 14:31:35      阅读:170      评论:0      收藏:0      [点我收藏+]

安装 thrift-0.9.2 步骤如下:

1. 下载

# wget http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz

2. 安装依赖

# yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel openssl-devel

3. 升级bison版本到2.5

# wget http://ftp.gnu.org/gnu/bison/bison-2.5.tar.gz
# tar -zxf bison-2.5.tar.gz
# cd bison-2.5
# ./configure
# make
# make install

4. 编译与安装

# tar -zxf thrift-0.9.2.tar.gz
# cd thrift-0.9.2
# ./configure --with-lua=no
# make
# make install

5. 验证安装是否成功

# thrift -version
Thrift version 0.9.2


安装参考:

  http://thrift.apache.org/docs/install/
  http://thrift.apache.org/docs/install/centos

 

Thrift 安装

原文:https://www.cnblogs.com/leaves1024/p/10031741.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!