Monday, July 12, 2010

Thrift Installation


1. Download Source
- Download Tar From : http://incubator.apache.org/thrift/download/


2. Install all the required components

- Install pkgs with yum
[root@neb005 thrift-0.2.0]# yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel

- Install autoconf version > 2.61 from : http://ftp.gnu.org/gnu/autoconf/autoconf-2.66.tar.gz

- build it and copy "libtool" binary to thrift build directory.

3. Install Thrift
- To install under /usr/local/thrift/
[root@localhost src]# gunzip thrift-0.2.0-incubating.tar.gz
[root@localhost src]# tar xvf thrift-0.2.0-incubating.tar
.....
[root@localhost src]# cd thrift-0.2.0
[root@neb005 thrift-0.2.0]# ./bootstrap.sh
[root@neb005 thrift-0.2.0]# ./configure
[root@neb005 thrift-0.2.0]# make
[root@neb005 thrift-0.2.0]# make install


No comments: