compile thrift on mac
The prepackaged version on thrift.apache.org contain bugs, that prevent it from being compiled on mac. To compile thrift mac, clone the version from git master branch.
install boost from boost.org
install various packages
port install libtool
port install autoconf
port install automake
port install bison # default version on mac is 2.3 need 2.5 greater
clone git repo and make!
git clone git://git.apache.org/thrift.git
./bootstrap.sh
./configure --with-boost=/usr/local --enable-tests=no --enable-libs=no
make
sudo make install