Skip to content

Instantly share code, notes, and snippets.

@betapcode
Forked from amuraru/install_thrift.sh
Last active October 28, 2015 03:40
Show Gist options
  • Save betapcode/6867da3da5710711a78d to your computer and use it in GitHub Desktop.
Save betapcode/6867da3da5710711a78d to your computer and use it in GitHub Desktop.
install thrift 0.8.0
#/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 && make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment