总的来讲,在Ubuntu上安装Thrift非常顺利。下面是最有用的一个在线文档:http://wiki.apache.org/thrift/GettingUbuntuPackages
下面是我的安装过程,依次是:安装python头文件、安装thrift依赖包、下载thrift包、解包、编译。(Some other packages depend on what languages you want Thrift to support. For ruby, install ruby-dev.)
sudo apt-get install python-dev sudo apt-get install libboost-dev automake libtool flex bison pkg-config g++ wget http://apache.freelamp.com/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz tar -zxvf thrift-0.2.0-incubating.tar.gz cd thrift-0.2.0 ./bootstrap.sh ./configure sudo make sudo make install
我在安装过程中遇到的其他问题:
- 机器没装make,汗。sudo apt-get install make
- burstnet比公司内自建的vps快多了,burstnet上make了三遍公司里的还没make完
嘿!这篇文章在Google 第一页阿!关键词“ Thrift”!
是博客搜索里的第一吧?而且是中文博客搜索。
Google还没那么抬举我,让刚发的文章就跑到搜索的第一。
Pingback: 李新阳的博客 | lxy » BurstNet体验,以及VPN安装