2009/03 19
1. 安装依赖的包
sudo apt-get install libboost-dev automake libtool flex bison

2. 安装ruby, gem
sudo apt-get install ruby rubygem ruby1.8-dev

3.下面make时需要require mkmf,需要sys-proctable
sudo gem install sys-proctable

4. 下载thrift,解压
wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz"
tar -xzf thrift.tgz
cd thrift

4. 安装
./bootstrap.sh
CONFIG_SHELL=/bin/bash ./configure --pref-x=/opt
make && sudo make install

Posted by rollenc

Not modified

0 Trackbacks

  1. No Trackbacks

0 Comments

  1. No comments

Add Comment


E-Mail addresses will not be displayed and will only be used for E-Mail notifications.