HOWTO: Install Thrift on Fedora 11

These are the steps to install Thrift on Fedora 11.

  1. Get Thrift from official site

    1. wget -O thrift.tgz "http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz"
    2. tar -xzf thrift.tgz
    3. mv thrift "thrift-snapshot-head-$(date +%Y%m%d)"
    4. cd "thrift-snapshot-head-$(date +%Y%m%d)"

  2. Install packages depending
    1. yum -y install autoconf automake sysconftool boost boost-devel libtool perl-ExtUtils-MakeMaker
  3. Compile and Install
    1. ./bootstrap.sh
    2. ./configure \
    3.   --prefix="/usr/local/thrift-snapshot-head"
    4. make && make install