<?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>Lotjuh&#039;s notes</title>
	<atom:link href="http://notes.lotjuh.winnipeg.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.lotjuh.winnipeg.nl</link>
	<description></description>
	<lastBuildDate>Mon, 05 Oct 2009 11:36:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Freebsd unremoveable directories</title>
		<link>http://notes.lotjuh.winnipeg.nl/howto/freebsd-unremoveable-directories/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/howto/freebsd-unremoveable-directories/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 11:36:08 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[How to's]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=93</guid>
		<description><![CDATA[When I was trying to get my FreeBSD working as a XenU, I used the make option DESTDIR= for installworld and installkernel.
After the files had been installed in my DESTDIR directory however, I wasn&#8217;t able to remove certain directories when I tried to remove my DESTDIR for a clean new install:
rm: /usr/local/xen/current-root/bin/rcp: Operation not permitted
rm: [...]]]></description>
			<content:encoded><![CDATA[<p>When I was trying to get my FreeBSD working as a XenU, I used the make option DESTDIR= for installworld and installkernel.<br />
After the files had been installed in my DESTDIR directory however, I wasn&#8217;t able to remove certain directories when I tried to remove my DESTDIR for a clean new install:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rcp: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>bin: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc.so.7: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypt.so.5: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libthr.so.3: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>lib: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>libexec<span style="color: #000000; font-weight: bold;">/</span>ld-elf.so.1: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>libexec: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>init: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>sbin: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>chpass: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">chfn</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">chsh</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ypchpass: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ypchfn: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ypchsh: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">login</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>opieinfo: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>opiepasswd: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">passwd</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>yppasswd: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rlogin: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">rsh</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">su</span>: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>crontab: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>librt.so.1: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>usr: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>empty: Operation not permitted<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<span style="color: #000000; font-weight: bold;">/</span>var: Directory not empty<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span>: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root: Directory not empty</div></div>
<p>After getting really annoyed with all the directories piling up in my /usr/local/xen directory, Benv offered to try and find out why the hell these directories didn&#8217;t want to get deleted.<br />
It seemed that the directories had a flag &#8217;schg&#8217; which you can see by doing an &#8216;ls -lo&#8217; on the directory. The &#8217;schg&#8217; flag means that the directory is system immutable and only the owner and superuser are allowed to remove this flag.<br />
This is done by calling chflags 0 on the directory. This clears all it&#8217;s flags.</p>
<p>I fixed my problem by doing:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root<br />
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-exec</span> chflags <span style="color: #000000;">0</span> <span style="color: #ff0000;">&quot;{}&quot;</span> \;<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>current-root</div></div>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/howto/freebsd-unremoveable-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AnimeVersus</title>
		<link>http://notes.lotjuh.winnipeg.nl/my-activities/animeversus/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/my-activities/animeversus/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 17:07:23 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[My activities]]></category>
		<category><![CDATA[AnimeVersus]]></category>
		<category><![CDATA[Browser game]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=64</guid>
		<description><![CDATA[Another little browser game from anime cubed. I started playing it as well since Benv told my it would give me stamina bonuses for Billy vs Snakeman.
Here&#8217;s my avatar:




lotjuh
Level: 17


 Strength: 1 


 Intelligence: 11 


 Magic: 12 


 Hotness: 11  (*1*) 


 Fangirls: 10 


Fight your friends! Play AnimeVersus today!



]]></description>
			<content:encoded><![CDATA[<p>Another little browser game from anime cubed. I started playing it as well since Benv told my it would give me stamina bonuses for Billy vs Snakeman.<br />
Here&#8217;s my avatar:</p>
<table style="color:black; border-color:000000; border-width:2px; border-style:dotted;font-family:arial" border="0" cellspacing="0" width="225" bgcolor="#eeeeff">
<tbody>
<tr>
<td height="290" align="center" valign="top"><img style="border-width:1px; border-style:solid; border-color:black" src="http://www.animecubed.com/animeversusdata/pic10.jpg" alt="" /><br />
<span style="color: #000000;"><strong>lotjuh<span style="font-size: 12px;"><br />
Level: 17</span></strong></span></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#ccccee"><span style="color: #000000;"> Strength: 1 </span></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#eeeeff"><span style="color: #000000;"> Intelligence: 11 </span></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#ccccee"><span style="color: #000000;"> Magic: 12 </span></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#eeeeff"><strong><span style="color: red;"> Hotness: 11  (*1*)</span></strong><strong> </strong></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#ccccee"><span style="color: #000000;"> Fangirls: 10 </span></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#eeeeff"><span style="font-size: 11px;">Fight your friends! Play <a href="http://www.animecubed.com/animeversus/av/create.html?friend=lotjuh">AnimeVersus</a> today!</span></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/my-activities/animeversus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build lua on Slackware 64</title>
		<link>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-lua-on-slackware-64/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-lua-on-slackware-64/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 13:30:00 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[How to's]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=56</guid>
		<description><![CDATA[Today I figured it was time to update my e17 installation and it seemed that they introduced a new dependency for edje: liblua. So I go to my /usr/src directory and run:
slackbuild.pl http://www.lua.org/ftp/lua-5.1.4.tar.gz
But when it tried to run configure, there was nothing to configure so I figured it was smart to quit the slackbuild script [...]]]></description>
			<content:encoded><![CDATA[<p>Today I figured it was time to update my e17 installation and it seemed that they introduced a new dependency for edje: liblua. So I go to my /usr/src directory and run:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">slackbuild.pl http://www.lua.org/ftp/lua-5.1.4.tar.gz</div></div>
<p>But when it tried to run configure, there was nothing to configure so I figured it was smart to quit the slackbuild script and check it out myself.<br />
It seems that there was indeed no configure file, but the INSTALL file told me I had to run &#8220;make linux install&#8221; to build and install the library for my platform. Well that&#8217;s nice, but where will it install everything? Benv hinted me that I should probably edit the Makefile and change INSTALL_TOP to INSTALL_TOP= /usr/src/lua-5.1.4/pkg/usr so I could run makepkg after to create my own package. But after creating and installing the lua package, edje still complained that there was no liblua installed on my machine.<br />
Checking my config.log I found out it was searching for liblua in the pkgconfig files. Oddly enough, the lua src did have a etc/lua.pc file, but it does not install it. So I placed it in /usr/src/lua-5.1.4/pkg/usr/share/pkgconfig/ directory and I changed the paths so it would match my installation and I recreated and reinstalled the package.<br />
This time edje did find the library, but crashed with the following error:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/usr/lib/liblua.a: could not read symbols: Bad value</div></div>
<p>After googling a little and checking the error again, I found out that the Makefile needed to be patched so it would also use the -fPIC option. So I edited the /usr/src/lua-5.1.4/src/Makefile and changed</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFLAGS= -O2 -Wall $(MYCFLAGS)</div></div>
<p>to</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFLAGS= -O2 -Wall -fPIC $(MYCFLAGS)</div></div>
<p>, ran the make linux install, created a new package, installed the package and it finally worked \o/</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-lua-on-slackware-64/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Billy Vs. SNAKEMAN</title>
		<link>http://notes.lotjuh.winnipeg.nl/my-activities/billy-vs-snakeman/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/my-activities/billy-vs-snakeman/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 11:12:25 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[My activities]]></category>
		<category><![CDATA[Billy Vs. SNAKEMAN]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Browser game]]></category>
		<category><![CDATA[bvs]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=53</guid>
		<description><![CDATA[So yeah, Benv got me into playing Billy Vs. SNAKEMAN too and now I&#8217;m all addicted to it -.-
Here&#8217;s my avatar if anyone cares:

Be the Ultimate Ninja! Play Billy Vs. SNAKEMAN today!
]]></description>
			<content:encoded><![CDATA[<p>So yeah, Benv got me into playing Billy Vs. SNAKEMAN too and now I&#8217;m all addicted to it -.-<br />
Here&#8217;s my avatar if anyone cares:<br />
<a href="http://www.animecubed.com/billy/?92637"><img src="http://www.animecubed.com/billy/userimages/sigs/92637.jpg" border=1/></a><br />
<font style="font-size:10px;">Be the Ultimate Ninja! Play <a href="http://www.animecubed.com/billy/?92637">Billy Vs. SNAKEMAN</a> today!<br /></font></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/my-activities/billy-vs-snakeman/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to build Picard on Slackware</title>
		<link>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 21:47:39 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[How to's]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install on slackware]]></category>
		<category><![CDATA[picard]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=7</guid>
		<description><![CDATA[Since I&#8217;ve gone through this hell a couple of months ago already, and I&#8217;m about to go through it again, I figured I should write it down this time so I might be easier to do it the next time.
If you wonder what picard is, you can check it out here: PicardTagger
To install Picard, you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve gone through this hell a couple of months ago already, and I&#8217;m about to go through it again, I figured I should write it down this time so I might be easier to do it the next time.</p>
<p>If you wonder what picard is, you can check it out here:<a title="WikiDocs: Picard Tagger" href="http://musicbrainz.org/doc/Picard_Tagger"> PicardTagger</a></p>
<p>To install Picard, you&#8217;ll need the following software</p>
<ul>
<li><a href="http://www.fftw.org/">fftw3</a></li>
<li><a href="https://launchpad.net/ubuntu/karmic/+source/libofa/0.9.3-3">libofa (0.9.2 or later)</a></li>
<li><a title="WikiDocs: libmusicbrainz Download" href="http://musicbrainz.org/doc/libmusicbrainz_Download">Libmusicbrainz 2</a></li>
<li><a href="http://code.google.com/p/mutagen/">mutagen</a></li>
<li><a href="http://ffmpeg.org/download.html">ffmpeg</a></li>
<li><a title="WikiDocs: Picard Download" href="http://musicbrainz.org/doc/Picard_Download">Picard</a></li>
</ul>
<p><span id="more-7"></span></p>
<h3>Building fftw3</h3>
<p>When you build fftw3, make sure you run configure with &#8211;enable-shared since it&#8217;s default set to &#8216;no&#8217;.</p>
<h3>Building libofa</h3>
<p>Building libofa is not as trivial as it seems. Since it&#8217;s quite old, it&#8217;ll need some patches. What I did, was downloading the libofa src from ubuntu and use the ubuntu patches to make it compile.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># wget --no-check-certificate https://launchpad.net/ubuntu/intrepid/+source/libofa/0.9.3-3/+files/libofa_0.9.3.orig.tar.gz<br />
# wget --no-check-certificate https://launchpad.net/ubuntu/intrepid/+source/libofa/0.9.3-3/+files/libofa_0.9.3-3.diff.gz<br />
# tar zxvf libofa_0.9.3.orig.tar.gz<br />
# gunzip libofa_0.9.3-3.diff.gz<br />
# patch -p0 &lt; libofa_0.9.3-3.diff<br />
# cd libofa-0.9.3/<br />
# patch -p1 &lt; debian/patches/01_gcc41.diff<br />
# patch -p1 &lt; debian/patches/02_example-open.diff<br />
# patch -p0 &lt; debian/patches/03_example-size_type.diff<br />
# patch -p0 &lt; debian/patches/04_libofa.pc-deps.diff<br />
# patch -p0 &lt; debian/patches/05_gcc43.diff<br />
# ./configure<br />
# make<br />
# make install</div></div>
<h3>Building libmusicbrainz</h3>
<p>For libmusicbrainz you&#8217;ll have to patch some files as well. A nice overview of files that need to be patched can be found <a href="http://bugs.musicbrainz.org/attachment/ticket/3492/musicbrainz-2.1.5-gcc43-includes.patch">here</a></p>
<p>You&#8217;ll also have to install the python library which you can find in the package it self in the python directory. Just run ./setup.py config ./setup.py build and ./setup.py install.</p>
<h3>Building mutagen</h3>
<p>I downloaded the latest version from mutagen from <a href="http://code.google.com/p/mutagen/downloads/list">the google code project site</a></p>
<p>Just unpack it and run ./setup.py install to install the package</p>
<h3>Building ffmpeg</h3>
<p>When you build ffmpeg, make sure you run configure with &#8211;enable-shared since it&#8217;s default set to &#8216;no&#8217;.</p>
<h3>Installing Picard</h3>
<p>Now you&#8217;ve finally installed all the dependencies, you can install Picard. In my case I&#8217;m installing Picard 0.11 which expect an older ffmpeg install so it needs to be patched as well to be able to find the avcodec.h and avformat.h files. Edit the setup.py file and search for  cfg.set(&#8217;avcodec&#8217;, &#8216;cflags&#8217;, cfg.get(&#8217;avcodec&#8217;, &#8216;cflags&#8217;) + &#8216; -DUSE_OLD_FFMPEG_LOCATIONS&#8217;). You&#8217;ll have to replace it with fg.set(&#8217;avcodec&#8217;, &#8216;cflags&#8217;, cfg.get(&#8217;avcodec&#8217;, &#8216;cflags&#8217;)) and all should be working.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slackware 64</title>
		<link>http://notes.lotjuh.winnipeg.nl/my-activities/slackware-64/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/my-activities/slackware-64/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:44:29 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[My activities]]></category>
		<category><![CDATA[os install]]></category>
		<category><![CDATA[Slackware 64]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=10</guid>
		<description><![CDATA[
So BenV had told me I had to install Slackware 64 on my computer since there&#8217;s nothing that should hold me back from it now they got a decent release and I don&#8217;t play any games on my Linux anyway.
Of course I should have known from experience that doing something &#8216;trivial&#8217; as installing an new [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.slackware.com/"><img class="size-thumbnail wp-image-15 alignright" title="Slackware" src="http://notes.lotjuh.winnipeg.nl/wp-content/uploads/2009/07/bluepiSW-150x150.jpg" alt="Slackware" width="90" height="90" /></a></p>
<p>So BenV had told me I had to install Slackware 64 on my computer since there&#8217;s nothing that should hold me back from it now they got a decent release and I don&#8217;t play any games on my Linux anyway.</p>
<p>Of course I should have known from experience that doing something &#8216;trivial&#8217; as installing an new OS on my computer on BenV&#8217;s request, would probably turn out to be a disaster.<span id="more-10"></span></p>
<p>I started with figuring out where to put this new installations. I got 4 disks in my computer from which 2 I&#8217;m not sure if they&#8217;re working properly or not. The other &#8216;good&#8217; working 2 are a 8 year old WD PATA 120GB disk and an quite new WD SATA 320GB disk. Since the PATA disk is old and slow, I decided to install it on my new disk. Of course this disk already contained 4 primary partitions from which one partition had a FreeBSD installation on it. It looked something like this:</p>
<p>|________|___|________________|________|____|________|</p>
<p>NTFS       free             NTFS                 FFS      EXT3     free</p>
<p>Fortunately our server hosts some quite handy PXE bootable operating systems, so I started with booting my machine from network using the PartedMagic distribution. The EXT3 partition on the disk wasn&#8217;t used, so I removed that one first to give me a free slot for a new primary partition. Because the second NTFS partition was only half full, I decided to shrink it a little and move it to the left to give me more space for my new Slackware installation. So after those changes my disk looked like this:</p>
<p>|________|___________|________|________|_____________|</p>
<p>NTFS              NTFS            free          FFS                 free</p>
<p><a href="http://partedmagic.com/"><img class="alignleft size-full wp-image-30" title="Parted magic" src="http://notes.lotjuh.winnipeg.nl/wp-content/uploads/2009/07/images.jpeg" alt="Parted magic" width="83" height="104" /></a>Now I wanted to move the FFS partition to the left as well, so I had 1 big block of free space. But the partition tool refused to do this because it had no idea what kind of partition it was&#8230;.. There were 2 options left; just use the biggest part of free space and leave a useless block in the middle, or remove the FFS partition which contained a FreeBSD 7.2 installation which had taken me almost 2 full days to install after BenV told me &#8220;FreeBSD 7.2 has been released, you should upgrade to it&#8221;, which is a totally different story. I ended up just removing this partition since I&#8217;d only booted twice since that installation anyway. I created 1 big extended partition from the free space and added a 80GB logical partition for my Slackware installation which I formatted with EXT4. All together it took about an hour to get all the partitions resized/ moved/ created.</p>
<p>I booted my machine up from network again and started the Slackware 64 installation from our server. Everything went quite well from here. I selected about all available packages for installation (of course I deselected the Emacs package) and I told the setup to use NFS as the package resource so it would install the packages hosted by our own server saving a lot of downloading time.</p>
<p>Because I had used EXT4 for the whole partition, I needed Grub2 to boot it up. So first I booted my old Slackware 32 installation (which was installed on the old 120GB PATA disk), downloaded Grub2, installed it on the new disk, and tried to make a configuration file. Of course this configuration file was useless to boot from, but at least Grub2 was installed on the new disk now. So I changed the disk boot order in my BIOS so it would boot from the new disk, just to find out that installing Grub2 on the new disk wasn&#8217;t enough for Grub2 to start up. Of course it needed the files from my Slack32 partition to load up it&#8217;s stage 2, so it wouldn&#8217;t work.</p>
<p>Since this was all BenV&#8217;s idea, I looked at him questioningly for what to do next. Somehow I had to build and install Grub2 on the new partition for it to be able to load completely, but how could I accomplish this without being able to boot from this new partition? My only option seemed to be to boot from network again and use the Slackware64 installer to mount my new partition and chroot to it. This was indeed a good idea. Only about 15 minutes later I was able to boot up the new partition using Grub2.</p>
<p>I&#8217;ve been struggling with Grub2 a little more to see if I could make it boot my old Slack32 installation as well, but it required an initrd file since it had a root partition on LVM and somehow it didn&#8217;t seem to want to work so eventually I decided I didn&#8217;t need to boot from it anymore anyway since I could just mount it in my new Slacware 64 installation and chroot to it if I needed to run anything from it.</p>
<p><a href="http://en.wikipedia.org/wiki/Enlightenment_%28window_manager%29"><img class="alignleft size-full wp-image-23" title="Enlightenment" src="http://notes.lotjuh.winnipeg.nl/wp-content/uploads/2009/07/200px-Enlightenment_logo_gold.png" alt="200px-Enlightenment_logo_gold" width="72" height="96" /></a></p>
<p>The next task was to build E17 so I could load up my X. Because I&#8217;m using the <a href="http://omicron.homeip.net/projects/#easy_e17.sh">Easy_e17.sh</a> script nowadays, this was quite trivial. I just had to install libmpd so mpdule would build as well, but that was about the only thing. I think it took less then 30 mins for E17 with all the modules and extras to build and install. (God I love my new AMD Phenom(tm) II X4 810 Processor). I crossed my fingers and and entered telinit 4 to see if it would work. And there it was, my old trusty entrance login screen, working without any issues (even my mouse and keyboard worked at once this time). I logged in and was happy to find a fully working E17 installation.</p>
<p>So now I figured I should set up my slackpkg for easy updating and upgrading packages. Since we have multiple computers running Slackware around the house, BenV has set up our server as a mirror for slackpkg so we only have to download the latest packages once. I configured my slackpkg to use the server as a mirror and ran the script to see if it all worked. It even found about 4 packages that needed to be updated (this was a surprise since I had just used the same packages for installing my Slackware 64 in the first place).</p>
<p>After that I started downloading VirutalBox so I could use my old virtual Windows installation. But when I tried to run the install, it told me it couldn&#8217;t find /bin/sh&#8230;. I wondered what it&#8217;s problem was and tried to run the install with bash. Now it was telling me it couldn&#8217;t find /bin/bash either. Since I was pretty sure both /bin/sh and /bin/bash existed, I wondered what could be the problem. But even strace told me the same. So now I just tried to run bash by it self and it told me the same as well. I closed my Xterm and tried to open a new one, it told me it couldn&#8217;t find /bin/bash either. I had no idea what happened in between downloading VirtualBox and trying to install it. Did some permissions change? Did my disk crash somehow? Did my /etc folder get deleted? Either way, I couldn&#8217;t even log in on a different TTY either, and a reboot gave me the same problem that it couldn&#8217;t find my shell.</p>
<p>So once again, I booted from network and started the Slackware 64 installation distro from there. I mounted my partition and tried to chroot to it, but it gave me the same problem that it couldn&#8217;t find my shell. Since /bin/sh was linked to /bin/bash, bash seemed to be the problem. BenV asked me what exactly were the new packaged that I got while running slackpkg, and I remember I got a new bash&#8230;. I checked /var/log/packages and it seemed that I indeed had gotten bash 4. Then it struck me, could I really be that stupid? Seems like I was&#8230; I had used the Slackware 32 mirror instead of the 64 one for slackpkg. That was the reason I&#8217;d gotten new packages while I should have already had the latest ones installed. I must have been lucky that it were only 4 packages, but the fact that one of them was bash had gotten me in this trouble. BenV came with the brilliant idea of linking my /bin/sh with busybox so I was able to chroot to my Slackware 64 partition and scp the right bash package from our server and install it. This fixed the issues and I was able to boot my new installation again.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/my-activities/slackware-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
