Skip to content

Instantly share code, notes, and snippets.

@tscurtu
Forked from adragomir/gist:2764307
Created July 2, 2012 15:10
Show Gist options
  • Save tscurtu/3033705 to your computer and use it in GitHub Desktop.
Save tscurtu/3033705 to your computer and use it in GitHub Desktop.
install thrift 0.8.0
#/bin/bash
set -e
wget http://bucasit-build.corp.adobe.com/thrift-0.8.0.tar.gz
tar zxf thrift-0.8.0.tar.gz
pushd thrift-0.8.0
wget https://issues.apache.org/jira/secure/attachment/12511532/thrift-1465_1.patch
patch -p0 < thrift-1465_1.patch
./configure --without-erlang --without-haskell --without-ocaml --without-ruby && make && sudo env JAVA_HOME=$JAVA_HOME make install
pushd lib/py
sudo python setup.py install
popd
echo "Done. To install extra language libraries, come back here and do it by hand"
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment