<?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>/dev/urandom &#187; software</title>
	<atom:link href="http://bitsex.net/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>https://bitsex.net</link>
	<description>Random ramblings from a pseudoruman human</description>
	<lastBuildDate>Sun, 25 Jul 2010 20:37:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMWare Workstation on openSuSE 11.1</title>
		<link>https://bitsex.net/software/2008/vmware-workstation-on-opensuse-111/</link>
		<comments>https://bitsex.net/software/2008/vmware-workstation-on-opensuse-111/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 02:58:01 +0000</pubDate>
		<dc:creator>vidarlo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[openSuSE]]></category>

		<guid isPermaLink="false">http://bitsex.net/?p=190</guid>
		<description><![CDATA[Vmware workstation, fresh out of the box, did not want to run on openSuSE, claiming it could not find any modules: $ vmware Logging to /tmp/vmware-vidarlo/setup-17389.log modinfo: could not find module vmmon modinfo: could not find module vmnet modinfo: could not find module vmblock modinfo: could not find module vmci modinfo: could not find module [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl id="attachment_189" class="wp-caption alignright" style="width: 138px;">
<dt class="wp-caption-dt"><a href="http://en.opensuse.org" onclick="javascript:urchinTracker ('/outbound/article/en.opensuse.org');"><img class="size-full wp-image-189" title="gecko" src="http://bitsex.net/wp-content/uploads/2008/12/gecko.png" alt="OpenSuSE" width="128" height="79" /></a></dt>
</dl>
</div>
<p>Vmware workstation, fresh out of the box, did not want to run on openSuSE, claiming it could not find any modules:<br />
<code>$ vmware<br />
Logging to /tmp/vmware-vidarlo/setup-17389.log<br />
modinfo: could not find module vmmon<br />
modinfo: could not find module vmnet<br />
modinfo: could not find module vmblock<br />
modinfo: could not find module vmci<br />
modinfo: could not find module vsock<br />
modinfo: could not find module vmmon<br />
modinfo: could not find module vmnet<br />
modinfo: could not find module vmblock<br />
modinfo: could not find module vmci<br />
modinfo: could not find module vsock<br />
</code><br />
The problem was that the modules were precompiled, and included with VMware workstation. However, these did not insert into the running kernel (<code>2.6.27-x86_64</code>).</p>
<p>Removing the precompiled modules did the trick for me &#8211; simply <code>rm -Rf /usr/lib/vmware/modules/binary</code> should remove &#8216;em, and force VMware workstation to compile the modules on next run. This worked nice for me. If you&#8217;re cautios, you might want to move the modules instead of removing them&#8230;:)</p>
<p>Please note that you need gcc, kernel source and other build dependencies to compile the VMWare modules <img src='https://bitsex.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So right now, VMware workstation works like a charm. Even though they don&#8217;t support anything newer than 10.3 officially&#8230;</p>
<p>This is written from my openSuSE-perspective, but I can&#8217;t see any reason why it shoudn&#8217;t work on (<em>almost</em>) any Linux distribution showing similar problems with VMWare&#8230;</p>

<span class="slashdigglicious">

<a href="http://digg.com/submit?phase=2&amp;url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fvmware-workstation-on-opensuse-111%2F&amp;title=VMWare+Workstation+on+openSuSE+11.1" title="Digg This Story" onclick="javascript:urchinTracker ('/outbound/article/digg.com');"><img src="/media/digg.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fvmware-workstation-on-opensuse-111%2F&amp;title=VMWare+Workstation+on+openSuSE+11.1" title="Reddit" onclick="javascript:urchinTracker ('/outbound/article/reddit.com');"><img src="/media/reddit.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fvmware-workstation-on-opensuse-111%2F&amp;title=VMWare+Workstation+on+openSuSE+11.1" title="Save to Google Bookmarks" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');"><img src="/media/google.ico" width="16" height="16" alt="[Google]" /></a>

<a href="http://www.stumbleupon.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fvmware-workstation-on-opensuse-111%2F&amp;title=VMWare+Workstation+on+openSuSE+11.1" title="Stumble it!" onclick="javascript:urchinTracker ('/outbound/article/www.stumbleupon.com');"><img src="/media/su.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>https://bitsex.net/software/2008/vmware-workstation-on-opensuse-111/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>PHP compile error: Warning: inter-library dependencies are not known to be supported.</title>
		<link>https://bitsex.net/software/2008/php-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported/</link>
		<comments>https://bitsex.net/software/2008/php-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 09:37:30 +0000</pubDate>
		<dc:creator>vidarlo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://bitsex.net/?p=123</guid>
		<description><![CDATA[I got a strange error when compiling PHP today: *** Warning: inter-library dependencies are not known to be supported. *** All declared inter-library dependencies are being dropped. *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-124 alignright" title="php" src="http://bitsex.net/wp-content/uploads/2008/10/php.gif" alt="" width="120" height="67" />I got a strange error when compiling PHP today:<br />
<code><br />
*** Warning: inter-library dependencies are not known to be supported.<br />
*** All declared inter-library dependencies are being dropped.<br />
*** Warning: libtool could not satisfy all declared inter-library<br />
*** dependencies of module libphp5.  Therefore, libtool will create<br />
*** a static module, that should work as long as the dlopening<br />
*** application is linked with the -dlopen flag.<br />
copying selected object files to avoid basename conflicts...<br />
</code></p>
<p>I recompiled PHP, with same options as last time, same version, but &#8211;with-curl added to the end of the options string. I got this error. So, the only change was the &#8211;with-curl-option. I tried without it, but no, same error. The result? libphp5.so was not compiled correctly, and PHP was not working&#8230;</p>
<p>The culprit turned out to be that libcurl and libxml was not compiled with different GCC versions, so they did not play well along. It was fixed by running an <code>apt-get update &amp;&amp; apt-get upgrade</code>. However, I&#8217;m a bit baffled by the fact that PHP was not working even when compiling without CURL&#8230; I&#8217;m not sure why it did not work when compiling without curl, since <em>no other changes</em> were made to that box&#8230;</p>
<p>Oh, and to make it even better: PHP claims its not their problem&#8230; They could atleast give a bit more informative error message. But my suggestion is to ensure that all your libraries is up to date. The culprit in this case was libxml2 and curl, but it might be other libraries next time&#8230;</p>

<span class="slashdigglicious">

<a href="http://digg.com/submit?phase=2&amp;url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fphp-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported%2F&amp;title=PHP+compile+error%3A+Warning%3A+inter-library+dependencies+are+not+known+to+be+supported." title="Digg This Story" onclick="javascript:urchinTracker ('/outbound/article/digg.com');"><img src="/media/digg.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fphp-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported%2F&amp;title=PHP+compile+error%3A+Warning%3A+inter-library+dependencies+are+not+known+to+be+supported." title="Reddit" onclick="javascript:urchinTracker ('/outbound/article/reddit.com');"><img src="/media/reddit.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fphp-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported%2F&amp;title=PHP+compile+error%3A+Warning%3A+inter-library+dependencies+are+not+known+to+be+supported." title="Save to Google Bookmarks" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');"><img src="/media/google.ico" width="16" height="16" alt="[Google]" /></a>

<a href="http://www.stumbleupon.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Fphp-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported%2F&amp;title=PHP+compile+error%3A+Warning%3A+inter-library+dependencies+are+not+known+to+be+supported." title="Stumble it!" onclick="javascript:urchinTracker ('/outbound/article/www.stumbleupon.com');"><img src="/media/su.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>https://bitsex.net/software/2008/php-compile-error-warning-inter-library-dependencies-are-not-known-to-be-supported/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backup &#8211; for fun and profit.</title>
		<link>https://bitsex.net/norsk/2008/backup-for-fun-and-profit/</link>
		<comments>https://bitsex.net/norsk/2008/backup-for-fun-and-profit/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 08:02:12 +0000</pubDate>
		<dc:creator>vidarlo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Norsk]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://bitsex.net/?p=118</guid>
		<description><![CDATA[rsnapshot er et artig verktøy for å ta backup. Det er basert på rsync, men i tillegg kan det lage revisjoner. Det geniale er at det kun kopierer dei filene som er endra sidan forrige backup &#8211; resten av filene blir hardlenka frå tidlegare revisjoner, så plassbruken blir ikkje så stor. I tillegg blir recovery [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rsnapshot.org/" onclick="javascript:urchinTracker ('/outbound/article/www.rsnapshot.org');">rsnapshot</a> er et artig verktøy for å ta backup. Det er basert på rsync, men i tillegg kan det lage revisjoner. Det geniale er at det kun kopierer dei filene som er endra sidan forrige backup &#8211; resten av filene blir hardlenka frå tidlegare revisjoner, så plassbruken blir ikkje så stor. I tillegg blir recovery enkelt &#8211; kopier ut ønska revisjon, uten å måtte tenke på når fila vart endra. Mao. langt enklare å kjøre recovery fra enn tape, der ein gjerne først må hente ut data frå siste fulle backup, deretter frå siste inkrementelle tape.</p>
<p>Rsnapshot er basert på at du skriver backup til disk. Disk er kanskje ikkje like pålitelig media som tape, men for min del holder for min del. I tillegg til å ha backup på disk køyrer eg ting frå disk ut på tape ein gong i veka&#8230;</p>
<p>Kort sagt eit genialt program for dei som har enkle behov innen backup, og som ikkje vil bruke alt for mykje pengar på dette.</p>

<span class="slashdigglicious">

<a href="http://digg.com/submit?phase=2&amp;url=https%3A%2F%2Fbitsex.net%2Fnorsk%2F2008%2Fbackup-for-fun-and-profit%2F&amp;title=Backup+%26%238211%3B+for+fun+and+profit." title="Digg This Story" onclick="javascript:urchinTracker ('/outbound/article/digg.com');"><img src="/media/digg.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=https%3A%2F%2Fbitsex.net%2Fnorsk%2F2008%2Fbackup-for-fun-and-profit%2F&amp;title=Backup+%26%238211%3B+for+fun+and+profit." title="Reddit" onclick="javascript:urchinTracker ('/outbound/article/reddit.com');"><img src="/media/reddit.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=https%3A%2F%2Fbitsex.net%2Fnorsk%2F2008%2Fbackup-for-fun-and-profit%2F&amp;title=Backup+%26%238211%3B+for+fun+and+profit." title="Save to Google Bookmarks" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');"><img src="/media/google.ico" width="16" height="16" alt="[Google]" /></a>

<a href="http://www.stumbleupon.com/submit?url=https%3A%2F%2Fbitsex.net%2Fnorsk%2F2008%2Fbackup-for-fun-and-profit%2F&amp;title=Backup+%26%238211%3B+for+fun+and+profit." title="Stumble it!" onclick="javascript:urchinTracker ('/outbound/article/www.stumbleupon.com');"><img src="/media/su.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>https://bitsex.net/norsk/2008/backup-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tiny script for returning n last blogposts and excerpt from them.</title>
		<link>https://bitsex.net/software/2008/tiny-script-for-returning-n-last-blogposts-and-excerpt-from-them/</link>
		<comments>https://bitsex.net/software/2008/tiny-script-for-returning-n-last-blogposts-and-excerpt-from-them/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 13:24:54 +0000</pubDate>
		<dc:creator>vidarlo</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://bitsex.net/?p=92</guid>
		<description><![CDATA[This is a tiny script for retrieving info about blog posts from wordpress.]]></description>
			<content:encoded><![CDATA[<p>I just wrote a tiny snippet to show the n last posts from a wordpress blog:</p>
<p><code>&lt;?php<br />
$num_posts = 5; //Number of posts to show.<br />
require('wp-blog-header.php'); //WordPress configuration. Change if you don't place this in the root of your wp-installation<br />
$sql = "SELECT `post_excerpt`,`post_title`,`user_nicename`,`user_url`,`$wpdb-&gt;posts`.`ID` FROM `$wpdb-&gt;posts` INNER JOIN `$wpdb-&gt;users` ON `$wpdb-&gt;posts`.`post_author` = `$wpdb-&gt;users`.`ID` WHERE `post_status` = 'publish' ORDER BY `$wpdb-&gt;posts`.`post_date` DESC LIMIT 0,$num_posts";<br />
$arr = $wpdb-&gt;get_results($sql);<br />
foreach ($arr as $posts) {<br />
$permalink = get_permalink($posts-&gt;ID); //Function to get permalink.<br />
$string = $string . "&lt;h1 class=\"blogheading\"&gt;&lt;a href=\"$permalink\"&gt;{$posts-&gt;post_title}&lt;/a&gt;&lt;/h1&gt; &lt;p class=\"blogauthor\"&gt;&lt;a href=\"{$posts-&gt;user_url}\"&gt;{$posts-&gt;user_nicename}&lt;/a&gt;&lt;/p&gt;&lt;p class=\"blogexcerpt\"&gt;{$posts-&gt;post_excerpt}&lt;/p&gt;";<br />
}<br />
echo $string;<br />
?&gt;<br />
</code></p>
<p>You can see a demo <a href="/feed.php">here</a>. I don&#8217;t use excerpts on my blog, so nothing will be shown for the excerpt. Feel free to use as you want. A nicer version of the source can be seen <a href="/feed.phps">here</a>.</p>
<p><strong>Update:</strong> I changed this to show the permalinks.</p>

<span class="slashdigglicious">

<a href="http://digg.com/submit?phase=2&amp;url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Ftiny-script-for-returning-n-last-blogposts-and-excerpt-from-them%2F&amp;title=Tiny+script+for+returning+n+last+blogposts+and+excerpt+from+them." title="Digg This Story" onclick="javascript:urchinTracker ('/outbound/article/digg.com');"><img src="/media/digg.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Ftiny-script-for-returning-n-last-blogposts-and-excerpt-from-them%2F&amp;title=Tiny+script+for+returning+n+last+blogposts+and+excerpt+from+them." title="Reddit" onclick="javascript:urchinTracker ('/outbound/article/reddit.com');"><img src="/media/reddit.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Ftiny-script-for-returning-n-last-blogposts-and-excerpt-from-them%2F&amp;title=Tiny+script+for+returning+n+last+blogposts+and+excerpt+from+them." title="Save to Google Bookmarks" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');"><img src="/media/google.ico" width="16" height="16" alt="[Google]" /></a>

<a href="http://www.stumbleupon.com/submit?url=https%3A%2F%2Fbitsex.net%2Fsoftware%2F2008%2Ftiny-script-for-returning-n-last-blogposts-and-excerpt-from-them%2F&amp;title=Tiny+script+for+returning+n+last+blogposts+and+excerpt+from+them." title="Stumble it!" onclick="javascript:urchinTracker ('/outbound/article/www.stumbleupon.com');"><img src="/media/su.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>https://bitsex.net/software/2008/tiny-script-for-returning-n-last-blogposts-and-excerpt-from-them/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->