安装 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

 

相关文章:

  • 2021-09-20
  • 2021-07-18
  • 2021-08-12
  • 2021-08-03
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-08-27
  • 2021-07-13
  • 2021-10-03
  • 2022-02-11
相关资源
相似解决方案