Skip to content

Commit

Permalink
Fixed install_thrift script
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragkh committed Aug 25, 2015
1 parent cda1f82 commit c72aa1e
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions ec2/install_thrift.sh
Original file line number Diff line number Diff line change
@@ -1,46 +1,53 @@
sudo yum -y update
# Must run scripts logged in as root
yum -y update

sudo yum -y groupinstall "Development Tools"
yum -y groupinstall "Development Tools"

sudo yum install -y wget
yum install -y wget

mkdir tmpdir
cd tmpdir

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar xvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr
make
sudo make install
make install
cd ..

wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
tar xvf automake-1.14.tar.gz
cd automake-1.14
./configure --prefix=/usr
make
sudo make install
make install
cd ..

wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
tar xvf bison-2.5.1.tar.gz
cd bison-2.5.1
./configure --prefix=/usr
make
sudo make install
make install
cd ..

sudo yum -y install libevent-devel zlib-devel openssl-devel
yum -y install libevent-devel zlib-devel openssl-devel

wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz
tar xvf boost_1_55_0.tar.gz
cd boost_1_55_0
./bootstrap.sh
sudo ./b2 install
./b2 install
cd ..

git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift
./bootstrap.sh
./configure --with-lua=no
make
sudo make install
make install
cd ..

cd ..
rm -rf tmpdir

0 comments on commit c72aa1e

Please sign in to comment.