Thrift 安装

1. sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev

2. 下载thrift源码 http://thrift.apache.org/

3. tar -xvf thriftXXX.tar.gz

4. 进入Thrift安装主目录

5. ./configure (权限不够需修改文件权限sudo chmod 777 configure)

6. sudo make

8. sudo make install

你可能感兴趣的:(Thrift 安装)