1、Install Boost
Download the boost library from http://www.boost.org/ untar compile with
./bootstrap.sh sudo ./b2 threading=multi address-model=64 variant=release stage install
2、Install libevent
Download libevent from http://libevent.org/, untar and compile with
./configure --prefix=/usr/local make sudo make install
3、Build Apache Thrift
Download the latest version of Apache Thrift, untar and compile with
./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local
4、Build thrift via make
make
5、Install thrift
sudo make install
安装过程出现的错误及解决办法:
1、configure命令执行过程出现的错误:
Bison version 2.5 or higher must be installed on the system!
解决办法