标签:成功 iso span family tar evel class c++ boost
安装 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
标签:成功 iso span family tar evel class c++ boost
原文地址:https://www.cnblogs.com/leaves1024/p/10031741.html