<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>max.lueb.be &#187; linux</title>
	<atom:link href="http://lueb.be/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lueb.be</link>
	<description>Thoughts on tech and other rants.</description>
	<lastBuildDate>Mon, 05 Apr 2010 17:00:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Apache Thrift on Ubuntu 8.04</title>
		<link>http://lueb.be/2009/02/27/installing-apache-thrift-on-ubuntu-804/</link>
		<comments>http://lueb.be/2009/02/27/installing-apache-thrift-on-ubuntu-804/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:00:28 +0000</pubDate>
		<dc:creator>mluebbe</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Thrift]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lueb.be/?p=58</guid>
		<description><![CDATA[In a recent post, I explained how to install the Thrift RPC framework on OS X 10.5. Another scenario that doesn't install as advertised out of the box is building Thrift on Ubuntu server. Again, an issue with pkg.m4 is to blame - follow the steps in this guide to get Thrift built on your Ubuntu system.]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://lueb.be/2009/02/27/installing-apache-thrift-on-ubuntu-804/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "";
		digg_window = "";
		digg_title = "Installing+Apache+Thrift+on+Ubuntu+8.04";
		digg_media = "news";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p>In a recent post, I explained <a href="http://lueb.be/2009/02/23/installing-apache-thrift-on-mac-os-x-105-leopard/" target="_self">how to install the Thrift RPC framework on OS X 10.5</a>. Another scenario that doesn&#8217;t install as advertised out of the box is building Thrift on Ubuntu server. Again, an issue with pkg.m4 is to blame &#8211; follow the steps below to get Thrift built on your Ubuntu system:</p>
<p>As in the previous guide start by getting the <a href="http://incubator.apache.org/thrift/download/" target="_blank">latest revision of the Thrift library</a>, and extract the archive.</p>
<p>Install the necessary prerequisites, which is much easier than on OS X thanks to apt. Fire up a terminal, and use apt-get to pull everything. Substitute java5 with your favorite jdk, if you&#8217;re not a fan of the Sun implementation.</p>
<pre class="wiki">apt-get install libboost-dev libevent-dev build-essential
python-dev automake pkg-config libtool flex bison sun-java5-jdk</pre>
<p>Now, for the pkg.m4 workaround!</p>
<pre class="wiki">cd [thrift root]
cp /usr/share/aclocal/pkg.m4 aclocal/</pre>
<p>At this point, all that remains is to build Thrift. (If you want Ruby support, add ruby-dev to the apt-get list above, and get rid of the ruby flag below.)</p>
<pre class="wiki">./bootstrap.sh
./configure --with-ruby=no
make
sudo make install</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://lueb.be/2009/02/27/installing-apache-thrift-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

