<?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>rlucas.net: The Next Generation &#187; mac</title>
	<atom:link href="http://blog.rlucas.net/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rlucas.net</link>
	<description>...fighting entropy one financing round at a time</description>
	<lastBuildDate>Wed, 10 Aug 2011 16:04:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SWI-Prolog from MacPorts on OS X 10.5</title>
		<link>http://blog.rlucas.net/bugfix/swi-prolog-from-macports-on-os-x-10-5/</link>
		<comments>http://blog.rlucas.net/bugfix/swi-prolog-from-macports-on-os-x-10-5/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 00:05:42 +0000</pubDate>
		<dc:creator>rlucas</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[geekery]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[prolog]]></category>

		<guid isPermaLink="false">http://blog.rlucas.net/?p=389</guid>
		<description><![CDATA[Tried installing the binary of SWI-Prolog (swi-prolog-5.8.2-leopard-intel.mpkg) on my Mac OS X 10.5 box.  For whatever reason, it was bombing out with some nasty errors (Libary not loaded &#8230; image not found).  Read about others&#8217; troubles and decided to try MacPorts.  Couldn&#8217;t get SWI-Prolog to install using a standard: $ sudo port -v install swi-prolog [...]]]></description>
			<content:encoded><![CDATA[<p>Tried installing the binary of SWI-Prolog (swi-prolog-5.8.2-leopard-intel.mpkg) on my Mac OS X 10.5 box.  For whatever reason, it was bombing out with some nasty errors (Libary not loaded &#8230; image not found).  Read about others&#8217; troubles and decided to try MacPorts.  Couldn&#8217;t get SWI-Prolog to install using a standard:</p>
<pre>$ sudo port -v install swi-prolog</pre>
<p>Ended up getting lots of BS errors on the lines of &#8220;ERROR: Could not load/find library -lXpm.&#8221;</p>
<pre>*****************************************************************
* ERROR: Could not load/find library -lXpm.         *
* Please install the XPM library and rerun configure.       *
* The primary source for libXpm is at:              *
*                               *
*     http://www-sop.inria.fr/koala/lehors/xpm.html     *
*                               *
* NOTE: If your system has libXpm, check the following:     *
*                               *
*   - Do you have the development version of the library?   *
*   - Is the library you have of the right architecture?    *
*   - Could it be that other parts of X11 are missing?  *
*     (typically the case if -lXext is also missing)    *
*                               *
*   Examine packages/xpce/src/config.log for details    *
*   Linux users: check README.debian for dependencies   *
*   (note that the exact package names vary between     *
*   distributions).                     *
*****************************************************************</pre>
<p>Long story short: For various reasons, the MacPorts installed software wasn&#8217;t finding my Apple Developer X11 libraries, and it also wasn&#8217;t appropriately requiring the software as dependencies for the swi-prolog package.  Had to do the following:</p>
<pre>$ sudo port -v install xpm</pre>
<pre>$ sudo port -v install xorg-libXt</pre>
<pre>$ sudo port -v install Xft2</pre>
<p>to get the prereqs installed (warning: those libs, in turn, have some mongo big dependencies, like Perl itself, so be ready for some serious compiling).  After that, installing swi-prolog worked just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rlucas.net/bugfix/swi-prolog-from-macports-on-os-x-10-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

