ubuntu 安装thrift0.9

首先到:
http://archive.apache.org/dist/thrift/0.9.0/
下载thrift-0.9.0.tar.gz 解压

安装依赖:
sudo apt-get install python-dev automake libtool flex bison pkg-config g++


配置:
./configure --with-cpp --with-python  --with-boost --with-java --with-csharp  --without-erlang --without-perl --with-php --with-php_extension --without-ruby --without-haskell --without-go

根据需要设定安装的语言支持

编译安装:
make && make install

猜你喜欢

转载自denniszjw.iteye.com/blog/1941798