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!

2 comments:

Emi Jackson 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.

for IT the said...

I have read your blog its very attractive and impressive. I like it your blog.

Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

Java Online Training Java Online Training Core Java 8 Training in Chennai Core java 8 online training JavaEE Training in Chennai Java EE Training in Chennai