Guide for install thrift on Mac OS X


Install Boost

Download the boost library and bjam installer from http://www.boost.org Untar and place bjam in the boost folder and then compile with

$ sudo ./bjam toolset=darwin link=shared threading=multi runtime-link=shared variant=release address-model=64 stage install

Install libevent

Download libevent from http://monkey.org/~provos/libevent/ untar and compile with

$ ./configure --prefix=/usr/local --disable-static
$ make
$ sudo make install

Install Apache Thrift

Download apache thrift from http://thrift.apache.org untar and compile with

$ ./configure --prefix=/usr/local/ --disable-static --with-boost=/usr/local --with-libevent=/usr/local --without-python --without-csharp --without-ruby --without-perl --without-php --without-java --without-haskell --without-erlang
$ make
$ sudo make install
  • No labels