1、下载thrift(thrift-0.9.3.tar.gz)
2、解压到linux目录
3、安装依赖库(ubuntu 支持c++)
sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
4 执行
./configure
5 执行
make
6 安装
make install