It's true. As of this writing, Thrift is already at version 0.4.0. But FlockDB requires version 0.2.0, and for whatever reason is not forwards compatible. QED, install Thrift 0.2.0. Hopefully this situation will sort out soon.
Boost Install
Thrift requires the boost C++ libraries. This script works for me on OS X. Just know that compiling boost takes a very, very long time:mkdir -p ~/build cd ~/build curl --location --remote-name http://downloads.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.tar.gz tar -xf boost_1_44_0.tar.gz cd boost_1_44_0 ./bootstrap.sh ./bjam sudo ./bjam install
Thrift Install
cd ~/build curl --location --remote-name http://apache.cs.utah.edu/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz tar -xf thrift-0.2.0-incubating.tar.gz cd thrift-0.2.0 ./configure sudo make sudo make install
Test
/usr/local/bin/thrift Usage: thrift [options] file Options: -version Print the compiler version ...
There is more bundled into the Thrift 0.2.0 distribution, but I am not sure it remains relevant. Testing that will have to remain a project for another day, probably involving Scribe.
No comments:
Post a Comment