Installing Apache Thrift

Recently I needed to install Apache Thrift (version 0.9.0). This did not go as I hoped. Make failed with a message along the lines of “No rule to make target…” and something about ParentService.cpp. After trying several combinations of settings I managed to get pasted the issue. There isn’t really any active development on thrift so I did a git clone from their git repo. Manually installed autoconf because centos 6’s version was outdated –my distro from 2012 has a less up to date version than required by a product last updated in 2010. Ran the ./bootstrap.sh, ./configure, make, sudo make install. Done. Hope that helps someone.

tl;dr: If running into a “No rule to make target” error during the make of Apache Thrift 0.9.0, then head from git and build that.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: