-
-
Save amuraru/3138500 to your computer and use it in GitHub Desktop.
install thrift 0.8.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
set -e | |
wget http://archive.apache.org/dist/thrift/0.8.0/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 | |
wget https://issues.apache.org/jira/secure/attachment/12537024/THRIFT-1474-read-exceptions-first.patch | |
patch -p1 < THRIFT-1474-read-exceptions-first.patch | |
wget https://issues.apache.org/jira/secure/attachment/12525200/thrift-681-inline-parameter-doc-generation.patch | |
patch -p0 <thrift-681-inline-parameter-doc-generation.patch | |
wget https://issues.apache.org/jira/secure/attachment/12521431/thrift_1515.patch | |
patch -p0 <thrift_1515.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