Last active
June 21, 2017 06:05
-
-
Save schmatz/d5ca0ced06a0f3164d01 to your computer and use it in GitHub Desktop.
Building Proxygen on OSX
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
From: https://thrift.apache.org/docs/install/os_x | |
Download Boost, compile | |
http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.gz/download | |
tar xzvf boost_1_57_0.tar.gz | |
./bootstrap.sh | |
sudo ./b2 threading=multi address-model=64 variant=release stage install | |
Download libevent, compile | |
https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
tar xzvf libevent-2.0.21-stable.tar.gz | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
Download Thrift, compile | |
https://thrift.apache.org/download | |
http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.1/thrift-0.9.1.tar.gz | |
tar xzvf thrift-0.9.1.tar.gz | |
./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local | |
make | |
May exit with error with tr1/functional, that's test, just make install | |
sudo make install | |
Install bison | |
http://alpha.gnu.org/gnu/bison/bison-2.7.91.tar.xz | |
./configure | |
make | |
make install | |
Seems 0.91 has a compilation error (no -std=c++11) | |
git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift | |
./boostrap | |
Previous configure step | |
If OpenSSL error, https://issues.apache.org/jira/browse/THRIFT-2515?focusedCommentId=14012758&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14012758 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment