<?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>Linux Neophyte &#187; Etch</title>
	<atom:link href="http://linuxneophyte.com/tag/etch/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxneophyte.com</link>
	<description>Trials of a Linux Newb.</description>
	<lastBuildDate>Mon, 20 Oct 2008 12:42:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compile Finch on Debian Etch</title>
		<link>http://linuxneophyte.com/compile-finch-on-debian-etch/</link>
		<comments>http://linuxneophyte.com/compile-finch-on-debian-etch/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 15:20:17 +0000</pubDate>
		<dc:creator>M@</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Compile]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Finch]]></category>
		<category><![CDATA[Pidgin]]></category>

		<guid isPermaLink="false">http://linuxneophyte.com/compile-finch-on-debian-etch/</guid>
		<description><![CDATA[Due to a problem I&#8217;ve been having with centerim and (I think) my MSN account, I&#8217;ve decided to give Finch a shot.  For the uninitiated, Finch is the console client that comes with the Linux Pidgin package.  Since the Debian Etch machine I run my IM client on has no graphical environment, Pidgin [...]]]></description>
			<content:encoded><![CDATA[<p>Due to a problem I&#8217;ve been having with <a href="http://www.centerim.org" target="_blank">centerim</a> and (I think) my MSN account, I&#8217;ve decided to give Finch a shot.  For the uninitiated, Finch is the console client that comes with the Linux <a href="http://pidgin.im" target="_blank">Pidgin</a> package.  Since the <a href="http://debian.org" target="_blank">Debian</a> Etch machine I run my IM client on has no graphical environment, Pidgin isn&#8217;t an option but Finch should fill in nicely.</p>
<p>I can&#8217;t install using the package manager because Finch doesn&#8217;t exist in the default Etch repos (the price of running the stable distro).  In reality, I could install it from <a href="http://backports.org" target="_blank">etch-backports</a>, but it has a lot of dependencies  that I  don&#8217;t want on my system (pidgin &amp; x11 libs among others).  This leaves me one option, compile it myself.</p>
<ul>
<li>I&#8217;ll be compiling Finch 2.3.1 (current version as of this writing).  I won&#8217;t be compiling Pidgin, so I won&#8217;t need to install the development packages to support that program.</li>
<li>I&#8217;m performing a default install, this will put Finch and it&#8217;s files into the <code>/usr/local</code> path</li>
<li>I&#8217;m running all of these commands as my regular user, the root password will be required for two steps.</li>
</ul>
<p>Install everything needed to build the Finch client</p>
<blockquote><p><code>su -c 'apt-get install build-essential linux-headers-2.6-686 libxml2-dev intltool libglib2.0-dev gettext libncurses5-dev libgnutls-dev'<br />
</code></p></blockquote>
<p>Download the source files and extract them (~/src is where I keep my source and build files):<em><br />
</em></p>
<blockquote><p><code>mkdir -p ~/src ; cd ~/src</code></p>
<p><code>wget http://downloads.sourceforge.net/pidgin/pidgin-2.3.1.tar.bz2</code></p></blockquote>
<blockquote><p><code>tar xvjf pidgin-2.3.1.tar.bz2</code></p></blockquote>
<blockquote><p><code>cd pidgin-2.3.1</code></p></blockquote>
<p>Run configure; Feeding it the <code>--disable-gtkui</code> argument tells it that I only want to build the Ncurses client (Finch)</p>
<blockquote><p><code>./configure --disable-gtkui</code></p></blockquote>
<p>Once the configure script completes, it&#8217;ll output Finch&#8217;s configuration information (kinda neat to read).  I can review it later by reading <code>~/src/pidgin-2.3.1/config.log</code>.</p>
<p>Now I build the binaries and install, the <code>make</code> command will take a while to do it&#8217;s job and output all sorts of stuff to the screen.  It looks <strong>awesome</strong> if you&#8217;re doing this from your desktop with transparent terminal windows and a dope background.  I like to run <code>top</code> in one terminal and compile in another, then I toss on some 90&#8217;s techno, run a small screen visualization and imagine myself doing something cool like hacking the Gibson.</p>
<blockquote><p><code>make</code></p>
<p><code>su -c 'make install'</code></p></blockquote>
<p>I now have finch running and ready to go.  When the next version of Pidgin/Finch is released, all I need to do is go back into the directory I built in (<code>~/src/pidgin-2.3.1</code>) and run the command <code>su -c 'make uninstall'</code> to remove the program&#8217;s files.  Following that, <code>rm -rf ~/src/pidgin-2.3.1</code>, and follow the whole process again substituting the filename/path where applicable.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxneophyte.com/compile-finch-on-debian-etch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
