Thursday, February 20, 2014

Installing Thrift Java Generators on Mac OSX Mavericks

I had the pleasure of having to install thrift 0.6.1 on my Mac but kept running into compilation errors.

By default thrift wants to install the C++, Java, Perl, PHP, and Ruby generators; but all I wanted to enable was Java.

Here is the configuration options I had to set to get that to work:


./configure --disable-gen-cpp --with-cpp=no --disable-gen-c_glib --with-c_glib=no --disable-gen-perl --with-perl=no --disable-gen-python --with-python=no --disable-php --with-php=no --disable-gen-ruby --with-ruby=no

Now I have a machine gun... HO! HO! HO!

1 comment:

Unknown said...

Hi I am Emi from Chennai. Thanks for sharing the informative post about Java technology. It’s really useful for me to know more about this technology. Recently I did Java Training in Chennai at a leading Java Training Institutes in Chennai.