<?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>mattfarmer [dot] net &#187; Linux</title>
	<atom:link href="http://mattfarmer.net/category/tech/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattfarmer.net</link>
	<description>impossible nothing</description>
	<lastBuildDate>Tue, 06 Sep 2011 18:04:54 +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>Gnome: The Settings Daemon restarted too many times.</title>
		<link>http://mattfarmer.net/2009/08/02/gnome-the-settings-daemon-restarted-too-many-times/</link>
		<comments>http://mattfarmer.net/2009/08/02/gnome-the-settings-daemon-restarted-too-many-times/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 17:39:02 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Gentoo]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/?p=512</guid>
		<description><![CDATA[This problem started so long ago that I really have no insight into when or why it first started happening, but for a while now, whenever I started X with the `startx` command, I would get the following error message: There was an error starting the GNOME Settings Daemon. Some things, such as themes, sounds, [...]]]></description>
			<content:encoded><![CDATA[<p>This problem started so long ago that I really have no insight into when or why it first started happening, but for a while now, whenever I started X with the `startx` command, I would get the following error message:</p>
<blockquote><p>
There was an error starting the GNOME Settings Daemon.<br />
Some things, such as themes, sounds, or background settings may not work<br />
correctly.<br />
The Settings Daemon restarted too many times.
</p></blockquote>
<p>After poking around for a little while, I finally came across <a href="http://bugs.gentoo.org/150909">Gentoo Bug 150909</a>.  I didn&#8217;t have the linking problem found by Stian Skejelstad, but <a href="http://bugs.gentoo.org/show_bug.cgi?id=150909#c3">Daniel Gryniewicz&#8217;s Comment</a> to add <code>eval `dbus-launch --sh-syntax --exit-with-session`</code> to your <code>~/.xinitrc</code> worked great.</p>
<p>My <code>~/.xinitrc</code> now looks like this:</p>
<blockquote><p>
#&#8211; ~/.xinitrc<br />
eval `dbus-launch &#8211;sh-syntax &#8211;exit-with-session`<br />
exec gnome-session<br />
#exec startfluxbox
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2009/08/02/gnome-the-settings-daemon-restarted-too-many-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a partition from a hard drive image</title>
		<link>http://mattfarmer.net/2009/03/11/mounting-a-partition-from-a-hard-drive-image/</link>
		<comments>http://mattfarmer.net/2009/03/11/mounting-a-partition-from-a-hard-drive-image/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 19:13:24 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/?p=506</guid>
		<description><![CDATA[Some times use after recovering an entire hard drive image, you may want to mount a partition that was on that disk, instead of apply it to another drive. In those times, you can use the following commands: First, you will want to find out where the partition starts: sfdisk -l -uS image_file.dd The -uS [...]]]></description>
			<content:encoded><![CDATA[<p>Some times use after recovering an entire hard drive image, you may want to mount a partition that was on that disk, instead of apply it to another drive.  In those times, you can use the following commands:</p>
<p>First, you will want to find out where the partition starts:<br />
<blockquote>sfdisk -l -uS image_file.dd</p></blockquote>
<p>The -uS flag to sfdisk forces the output to be given in sectors (512 bytes), so the number you see there will need to be multiplied by 512.</p>
<p>Then:</p>
<blockquote><p>mount -oloop,offset=xxxx image.dd /mnt/point</p></blockquote>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2009/03/11/mounting-a-partition-from-a-hard-drive-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drivel</title>
		<link>http://mattfarmer.net/2008/11/15/drivel/</link>
		<comments>http://mattfarmer.net/2008/11/15/drivel/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 00:32:58 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/?p=437</guid>
		<description><![CDATA[I just installed Drivel, which seems to be a pretty nice Linux application to post entries to your blog right from your desktop. It supports a few different blogging technologies, including WordPress, Drupal, blogger.com, and livejournal. I&#8217;m hoping having this around will reduce the amount of effort in making a blog post, and hence will [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed <a href="http://dropline.net/past-projects/drivel-blog-editor/">Drivel</a>, which seems to be a pretty nice Linux application to post entries to your blog right from your desktop.  It supports a few different blogging technologies, including WordPress, Drupal, blogger.com, and livejournal.  I&#8217;m hoping having this around will reduce the amount of effort in making a blog post, and hence will start blogging more.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2008/11/15/drivel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Post</title>
		<link>http://mattfarmer.net/2008/03/22/first-post-2/</link>
		<comments>http://mattfarmer.net/2008/03/22/first-post-2/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 05:19:42 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OLPC]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2008/03/22/first-post-2/</guid>
		<description><![CDATA[This is my first post from my OLPC. Kind of. I actually wrote up an article earlier in a little bit of haste and was overly critical of a lot of things and so this post is half edit / half addition to that. Saturday morning, when I finally woke up, I was siked to [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first post from my OLPC.  Kind of.  I actually wrote up an article earlier in a little bit of haste and was overly critical of a lot of things and so this post is half edit / half addition to that.</p>
<p>Saturday morning, when I finally woke up, I was siked to see hear that I had a package downstairs for me.  All the emails that I had received about the OLPC said that I would I would get an email with the tracking number of my package when it shipped and so I was quite disappointed when it was a few days before my trip, and I still hadn&#8217;t heard anything.</p>
<p>But there it was, in was!  Just in time!</p>
<p>I was convinced that the smaller keyboard wouldn&#8217;t bother me, since I was so used to pecking away on my Treo, so I was pretty surprised when I first tried to use it and had to resort 1/2 the time to the &#8216;hunt and peck&#8217; method.  After hacking around on it for a little bit here and there this weekend though, its not so bad.  Sometimes it is difficult to hit all the keys on the membrain keyboard, often requiring you to press the key several times before the stroke takes (especially on the larger keys like the spacebar and back-space key), but we&#8217;ll see if that passes with time as well.  And while we&#8217;re on the note of bashing the keyboard.  It is most definitely cramped, some keys are missing (caplocks), and a few keys are in different places (I keep hitting the up arrow when I reach for the right shift key), but all and all, its pretty usable.</p>
<p>I had also read somewhere that the OLPC also didn&#8217;t come with support for WPA wireless signals which I was frustrated by, but I seemed to be able to join my wireless router with no troubles at all from the network screen.</p>
<p>So at first glace, I was unimpressed to say the least, but after using it for a short while, it definitely seems like it will be worth the money spent.  I&#8217;d also say that I am most definitely not using this laptop for what it was designed for, and I really don&#8217;t see either of these issues being a problem for the intended audiance , and so I&#8217;d say the developers of the OLPC should feel as though they did a good job!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2008/03/22/first-post-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make an OLPC Application</title>
		<link>http://mattfarmer.net/2008/01/06/how-to-make-an-olpc-application/</link>
		<comments>http://mattfarmer.net/2008/01/06/how-to-make-an-olpc-application/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 22:53:29 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[OLPC]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2008/01/06/how-to-make-an-olpc-application/</guid>
		<description><![CDATA[Someone forwarded me a slashdot article with a link to an IBM article on how to design an application for the OLPC. I haven&#8217;t gone to far into it, but it has goes into how to set up QEMU (at least in the simple case), why python was a good language for OLPC to have [...]]]></description>
			<content:encoded><![CDATA[<p>Someone forwarded me a slashdot article with a link to an IBM article on how to design an application for the OLPC.  I haven&#8217;t gone to far into it, but it has goes into how to set up QEMU (at least in the simple case), why python was a good language for OLPC to have chosen and then what you need to do.  I figured if I didn&#8217;t post it here, I&#8217;ll be looking for it later, and it might help someone else out so here it is:  <a href="https://www6.software.ibm.com/developerworks/education/l-sugarpy/index.html">IBM:  Application development for the OLPC laptop</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2008/01/06/how-to-make-an-olpc-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a bigger Harddrive</title>
		<link>http://mattfarmer.net/2008/01/06/making-a-bigger-harddrive/</link>
		<comments>http://mattfarmer.net/2008/01/06/making-a-bigger-harddrive/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 19:41:59 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[OLPC]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2008/01/06/making-a-bigger-harddrive/</guid>
		<description><![CDATA[While using the OLPC under QEMU, I immediately started installing a bunch of development tools into the image. This quickly filled up the 1GB image, and so I wanted increase the size of it. Originally I tried to dd some space onto the end of it and use parted to expand the image but it [...]]]></description>
			<content:encoded><![CDATA[<p>While using the OLPC under QEMU, I immediately started installing a bunch of development tools into the image.  This quickly filled up the 1GB image, and so I wanted increase the size of it.  </p>
<p>Originally I tried to dd some space onto the end of it and use parted to expand the image but it gave me an error saying:  &#8220;Error: File system has an incompatible feature enabled.&#8221;   And so this is how I got it to work:</p>
<ol>
<li>Make the newimage:<br />
<blockquote class="code">dd if=/dev/zero of=newimage bs=1GB count=5</p></blockquote>
</li>
<li>Start up QEMU with your OLPC image with this newimage as a 2nd drive:<br />
<blockquote class="code">qemu -m 256 -soundhw es1370 -serial /dev/pts/1 -net user -net nic,model=rtl8139 -hda laptop-orig.img -hdb newimg</p></blockquote>
</li>
<li>From inside the image I then tried to dd /dev/hda to /dev/hdb, but that didn&#8217;t work exactly, though I forget now exactly why.  It could have been that I needed to re-read the partition table on disk B, but I&#8217;m not sure.  We still need to do this however for at least the first part of the disk so we get the MBR. (Note: I&#8217;m fudging this step to be what I think it should have been, if it doesn&#8217;t work, try copying the whole disk)<br />
<blockquote class="code">dd if=/dev/hda of=/dev/hdb bs=4k count=1</p></blockquote>
</li>
<li>Still within the image we want to fdisk the new disk, delete the partition that&#8217;s there and make it larger.  Technically speaking, if we do this and the partition has the same starting block, I thought that I would be able to still use it (since I had copied the whole disk), but that didn&#8217;t seem to be the case.<br />
<blockquote class="code"><p>-bash-3.2# fdisk /dev/hdb</p>
<p>The number of cylinders for this disk is set to 9844.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
   (e.g., DOS FDISK, OS/2 FDISK)</p>
<p>Command (m for help): p</p>
<p>Disk /dev/hdb: 5000 MB, 5000000000 bytes<br />
16 heads, 62 sectors/track, 9844 cylinders<br />
Units = cylinders of 992 * 512 = 507904 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/hdb1               1        9844     4882623+  83  Linux</p>
<p>Command (m for help): d<br />
Selected partition 1</p>
<p>Command (m for help): n<br />
Command action<br />
   e   extended<br />
   p   primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-9844, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-9844, default 9844):<br />
Using default value 9844</p>
<p>Command (m for help): w<br />
The partition table has been altered!</p>
<p>Calling ioctl() to re-read partition table.<br />
Syncing disks.
</p></blockquote>
</li>
<li>So now we have our new disk with the MBR and a good partition table.  Now its time to copy over our original image:<br />
<blockquote class="code">-bash-3.2# dd if=/dev/hda1 of=/dev/hdb1 bs=4k<br />
237452+1 records in<br />
237452+1 records out<br />
972604416 bytes (973 MB) copied, 114.234 s, 8.5 MB/s</p></blockquote>
</li>
<li>Now lets make sure that it works:<br />
<blockquote class="code">-bash-3.2# mkdir t<br />
-bash-3.2# mount /dev/hdb1 t -t ext3<br />
-bash-3.2# ls t<br />
activities  dev   lib         mnt  proc  security  sys  var<br />
bin         etc   lost+found  ofw  root  selinux   tmp<br />
boot        home  media       opt  sbin  srv       usr<br />
-bash-3.2# df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/hda1             913M  716M  189M  80% /<br />
tmpfs                  38M     0   38M   0% /dev/shm<br />
/dev/hdb1             913M  716M  189M  80% /root/t<br />
-bash-3.2# umount t
</p></blockquote>
<p>  Notice its mounted, and has the same stats as our real system.</li>
<li>Now expand the filesystem to the length of the partition.  resize2fs requires that we do an fsck first, so lets do that too:<br />
<blockquote class="code">
-bash-3.2# e2fsck -f /dev/hdb1 &#038;&#038; !!<br />
e2fsck -f /dev/hdb1 &#038;&#038; resize2fs -p /dev/hdb1<br />
e2fsck 1.40.2 (12-Jul-2007)<br />
Pass 1: Checking inodes, blocks, and sizes<br />
Pass 2: Checking directory structure<br />
Pass 3: Checking directory connectivity<br />
Pass 4: Checking reference counts<br />
Pass 5: Checking group summary information<br />
OLPCRoot: 22509/118784 files (0.9% non-contiguous), 186946/237452 blocks<br />
resize2fs 1.40.2 (12-Jul-2007)<br />
Resizing the filesystem on /dev/hdb1 to 1220648 (4k) blocks.<br />
Begin pass 1 (max = 30)<br />
Extending the inode table     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
The filesystem on /dev/hdb1 is now 1220648 blocks long.
</p></blockquote>
</li>
<li>That should be it.  Let&#8217;s mount it and see what it thinks!<br />
<blockquote class="code">
-bash-3.2# mount /dev/hdb1 t -t ext3<br />
-bash-3.2# df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/hda1             913M  716M  189M  80% /<br />
tmpfs                  38M     0   38M   0% /dev/shm<br />
/dev/hdb1             4.6G  717M  3.9G  16% /root/t<br />
-bash-3.2# umount t<br />
-bash-3.2# rmdir t
</p></blockquote>
</li>
<p>And there we have it!  Now we have a 5GB image to play with.  I loaded this into QEMU just as I would any other image:<br />
<blockquote class="code">qemu -m 256 -soundhw es1370 -serial /dev/pts/1 -net user -net nic,model=rtl8139 -hda newimg</p></blockquote>
<p>It booted up just fine!  Feel free to download and install away, realizing of course that you won&#8217;t be able to ever apply this image directly to your OLPC, but it will at least allow you to develop first and worry about the size of things later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2008/01/06/making-a-bigger-harddrive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Laptop Per Child</title>
		<link>http://mattfarmer.net/2008/01/06/one-laptop-per-child/</link>
		<comments>http://mattfarmer.net/2008/01/06/one-laptop-per-child/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 18:50:50 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OLPC]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2008/01/06/one-laptop-per-child/</guid>
		<description><![CDATA[Many of you have probably heard of the One Laptop Per Child [http://laptopl.org] Program or seen their recent commercials for their GiveOneGetOne program on mainstream TV. Well I bit the bullet and decided to get one of these. Costing $425 (which covers the cost of 2 laptops and shipping to myself), I think its going [...]]]></description>
			<content:encoded><![CDATA[<p>Many of you have probably heard of the One Laptop Per Child [<a href="http://laptop.org/">http://laptopl.org</a>] Program or seen their recent commercials for their GiveOneGetOne program on mainstream TV.  Well I bit the bullet and decided to get one of these.</p>
<p>Costing $425 (which covers the cost of 2 laptops and shipping to myself), I think its going to work out pretty well.  The machine is fairly modest, having only a 433 Mhz CPU, 256 MB of ram, and 1GB of flash rom (for a hard drive).  What make this laptop so interesting is the rest of the design.  It&#8217;s lcd screen was designed specifically for this laptop to be extremely friendly in the low power realm, its case is designed to seal well enough that children walking to and from school need not fear rainstorms and dust, and the battery can charge off of anywhere from 11 to 18 Volts.  Add to this that it has built in wifi and an expansion SD memory card slot, and you have a pretty mobile friendly laptop.</p>
<p>One of the first things I&#8217;ll do when I get this is find some type of alternative charging source for it.  The children that receive these will get some sort of hand crank which should give 10 minutes of use to every 1 minute of charging, but the purchasers don&#8217;t get this feature.  I&#8217;ve already looked at several inexpensive solar cells but have yet to decide on one yet.  Until then I&#8217;ll just be working on the software in QEMU and seeing what I can do!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2008/01/06/one-laptop-per-child/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Neverhood to work under Wine</title>
		<link>http://mattfarmer.net/2007/08/21/getting-neverhood-to-work-under-wine/</link>
		<comments>http://mattfarmer.net/2007/08/21/getting-neverhood-to-work-under-wine/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 04:10:25 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2007/08/21/getting-neverhood-to-work-under-wine/</guid>
		<description><![CDATA[Last year for Christmas my sister got me a copy of an old claymation video game from my childhood called Neverhood. Its a pretty fun puzzle type game, that I almost beat under VMWare on my Mac, but it was really too slow to really be playable and so I never finished it. Being an [...]]]></description>
			<content:encoded><![CDATA[<p>Last year for Christmas my sister got me a copy of an old claymation video game from my childhood called Neverhood.  Its a pretty fun puzzle type game, that I almost beat under VMWare on my Mac, but it was really too slow to really be playable and so I never finished it.  Being an old game I figured it should run no problem under WINE.  That wasn&#8217;t exactly true, but with a little help from this site ( <a href="http://frankscorner.org/index.php?p=neverhood">http://frankscorner.org/index.php?p=neverhood</a> ) I was able to get it working.  Now I just have to beat it.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2007/08/21/getting-neverhood-to-work-under-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trouble with installing packages in Gentoo due to XML::Parser errors</title>
		<link>http://mattfarmer.net/2007/07/04/trouble-with-installing-packages-in-gentoo-due-to-xmlparser-errors/</link>
		<comments>http://mattfarmer.net/2007/07/04/trouble-with-installing-packages-in-gentoo-due-to-xmlparser-errors/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 07:44:22 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2007/07/04/trouble-with-installing-packages-in-gentoo-due-to-xmlparser-errors/</guid>
		<description><![CDATA[I&#8217;ve seen this once before and couldn&#8217;t remember the exact package I needed to update, so I figured I&#8217;d make a post about it so I could find it easily if I came across this again. Sometimes when emergeing new packages you will get an error like the following: checking for perl&#8230; /usr/bin/perl checking for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen this once before and couldn&#8217;t remember the exact package I needed to update, so I figured I&#8217;d make a post about it so I could find it easily if I came across this again.</p>
<p>Sometimes when emergeing new packages you will get an error like the following:</p>
<blockquote class="code"><p>
checking for perl&#8230; /usr/bin/perl<br />
checking for XML::Parser&#8230; configure: error: XML::Parser perl module is required for intltool<br />
!!! Please attach the following file when filing a report to bugs.gentoo.org:<br />
!!! /var/tmp/portage/x11-misc/xkeyboard-config-0.8-r1/work/xkeyboard-config-0.8/config.log<br />
!!! ERROR: x11-misc/xkeyboard-config-0.8-r1 failed.<br />
Call stack:<br />
  ebuild.sh, line 1621:   Called dyn_compile<br />
  ebuild.sh, line 973:   Called qa_call &#8216;src_compile&#8217;<br />
  ebuild.sh, line 44:   Called src_compile<br />
  xkeyboard-config-0.8-r1.ebuild, line 49:   Called econf &#8216;&#8211;with-xkb-base=/usr/share/X11/xkb&#8217; &#8216;&#8211;enable-compat-rules&#8217; &#8216;&#8211;disable-xkbcomp-symlink&#8217; &#8216;&#8211;with-xkb-rules-symlink=xorg&#8217;<br />
  ebuild.sh, line 578:   Called die<br />
!!! econf failed<br />
!!! If you need support, post the topmost build error, and the call stack if relevant.<br />
!!! A complete build log is located at &#8216;/var/tmp/portage/x11-misc/xkeyboard-config-0.8-r1/temp/build.log&#8217;.
</p></blockquote>
<p>Thanks to this post on <a href="http://www.karakas-online.de/forum/viewtopic.php?t=3915">karakas-online.de</a>, we can see that this probably really means that perl is unable to load the XML::Parser.  You can run the following command at the command line to see exactly why that&#8217;s happening:</p>
<blockquote class="code"><p>
# /usr/bin/perl -e &#8220;require XML::Parser&#8221;
</p></blockquote>
<p>In my case this resulted in:</p>
<blockquote class="code"><p>
Can&#8217;t load &#8216;/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/XML/Parser/Expat/Expat.so&#8217; for module XML::Parser::Expat: libexpat.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.<br />
 at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/XML/Parser.pm line 14<br />
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/XML/Parser.pm line 14.<br />
BEGIN failed&#8211;compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/XML/Parser.pm line 18.<br />
Compilation failed in require at -e line 1.
</p></blockquote>
<p>And so, even though this package was already installed, I just remerged it, replacing what was there before like so:</p>
<blockquote class="code"><p>
emerge -av XML-Parser
</p></blockquote>
<p>After doing this, you should be able to continue your original emerge.  I&#8217;m not sure what is happening to this package that requires you to do this, but it seems to fix the problem. *shrug*</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2007/07/04/trouble-with-installing-packages-in-gentoo-due-to-xmlparser-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ottawa Linux Symposium</title>
		<link>http://mattfarmer.net/2007/06/27/ottawa-linux-symposium/</link>
		<comments>http://mattfarmer.net/2007/06/27/ottawa-linux-symposium/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 16:36:25 +0000</pubDate>
		<dc:creator>POS</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://mattfarmer.net/2007/06/27/ottawa-linux-symposium/</guid>
		<description><![CDATA[I&#8217;m attending the Ottawa Linux Symposium this year again. I found last year&#8217;s event very interesting and enlightening and figured I&#8217;d try to do a better job at posting my review of presentations this year. I doubt it will be nearly as useful as many of the other sites that I&#8217;m sure will come up [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m attending the Ottawa Linux Symposium this year again.  I found last year&#8217;s event very interesting and enlightening and figured I&#8217;d try to do a better job at posting my review of presentations this year.  I doubt it will be nearly as useful as many of the other sites that I&#8217;m sure will come up in google, but maybe I&#8217;ll be wrong.</p>
<p>On a another note, if you happen to find this while at the conference this year, leave a comment and maybe we can meet up.  I&#8217;m planning to attend the Hacker Bike ride this year, and would definitely be interested in meeting up with other riders before or after the conferences each day for a quick ride.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattfarmer.net/2007/06/27/ottawa-linux-symposium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

