So I’m getting Cassandra/Thrift up and running and came across a few dependencies with the install. Here’s the fix if you encounter either the ` PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)’ or missing yac configure and make errors.

If you’re compiling and seeing the MONO errors prior to having installed pkg-configure, just run ./cleanup.sh before running through the instructions below.

- Before compiling the Thrift source, make sure you at least have these packages installed

$ sudo apt-get install automake libtool pkg-config libboost-dev byacc mono-2.0-service flex

- This should also mostly apply to Ubuntu, though I noticed libboost1.35-dev was required (at the time of writing)

- From the directory you’ve unpacked Thrift into, just this will do, though check the configure for options

$ ./bootstrap.sh
$ ./configure
$ sudo make
$ sudo make install

- No errors?

$ thrift -version
Thrift version 20080411-exported

SEXY!