Download boost library from here, untar compile with
./bootstrap.sh
sudo ./b2 threading=multi address-model=64 variant=release stage install
Download libevent, untar and compile with
brew install openssl
sudo chown -R <username>:admin /usr/local/include
brew link openssl --force
./configure --prefix=/usr/local
make
sudo make install
Use homebrew
brew install libevent
Use Homebrew to install
brew install bison
brew link bison --force
Download the latest version of Apache Thrift, untar and compile with
./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local