| Roger Meier | e9f00cb | 2014-05-30 14:35:34 +0200 | [diff] [blame] | 1 | ## OS X Setup |
| 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. |
| 3 | |
| 4 | ### Install Boost |
| 5 | Download the boost library from [boost.org](http://www.boost.org) untar compile with |
| 6 | |
| 7 | ./bootstrap.sh |
| 8 | sudo ./b2 threading=multi address-model=64 variant=release stage install |
| 9 | |
| 10 | ### Install libevent |
| 11 | Download [libevent](http://monkey.org/~provos/libevent), untar and compile with |
| 12 | |
| 13 | ./configure --prefix=/usr/local |
| 14 | make |
| 15 | sudo make install |
| 16 | |
| 17 | ### Building Apache Thrift |
| 18 | Download the latest version of [Apache Thrift](/download), untar and compile with |
| 19 | |
| 20 | ./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local |
| 21 | |
| 22 | ## Additional reading |
| 23 | |
| 24 | For more information on the requirements see: [Apache Thrift Requirements](/docs/install) |
| 25 | |
| 26 | For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource) |
| 27 | |