- 下载thrift :http://thrift.apache.org/
- 解压缩:tar -xzvf ***.tar.gz
- 进入目录: cd thrift-0.9.0
-
sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel
- ./confugure
- make
- make install
4。 ./configure时可能会出错:Error: libcrypto required.
在fedora下应该安装openssl-devel:yum install openssl-devel
其他系统可参见:http://stackoverflow.com/questions/9123457/configure-thrift-libcrypto-required