2 The following command install all the required tools and libraries to build and install the Apache Thrift compiler on a OS X based system.
5 Download the boost library from [boost.org](http://www.boost.org) untar compile with
8 sudo ./b2 threading=multi address-model=64 variant=release stage install
11 Download [libevent](http://monkey.org/~provos/libevent), untar and compile with
13 ./configure --prefix=/usr/local
17 ### Building Apache Thrift
18 Download the latest version of [Apache Thrift](/download), untar and compile with
20 ./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local
24 For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
26 For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)