<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building Mozilla SpiderMonkey for Mac OS X</title>
	<atom:link href="http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x</link>
	<description>You're reading Jeff Watkins' thoughts about Web application design and development with a little bit of technology ranting thrown in for free.</description>
	<lastBuildDate>Sun, 08 Jun 2008 07:06:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Charles Turner</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-2985</link>
		<dc:creator>Charles Turner</dc:creator>
		<pubDate>Tue, 19 Jun 2007 14:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-2985</guid>
		<description>&lt;p&gt;Hi-&lt;/p&gt;

&lt;p&gt;I took a slightly different approach that seems to work well. I was unsure about version incompatibility what with this page being about a year old. I installed originally from Fink, which has the latest versions of spidermonkey and nspr, but the file class didn&#039;t seem to function.&lt;/p&gt;

&lt;p&gt;I removed spidermonkey and spidermonky-shlibs that Fink had installed, leaving the Fink installation of nspr and readline5. I got the latest spidermonkey tarball (1.60) via the link above.&lt;/p&gt;

&lt;p&gt;I added the following lines to Makefile.ref (as per above):&lt;/p&gt;

&lt;p&gt;-I/sw/include/nspr
-L/sw/lib&lt;/p&gt;

&lt;p&gt;I made no changes to the JS source files.&lt;/p&gt;

&lt;p&gt;I compiled with:&lt;/p&gt;

&lt;p&gt;make -f Makefile.ref JS&lt;em&gt;THREADSAFE=1 JS&lt;/em&gt;HAS&lt;em&gt;FILE&lt;/em&gt;OBJECT=1&lt;/p&gt;

&lt;p&gt;Not elaborately tested, but the file class seems to work now.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi-</p>

<p>I took a slightly different approach that seems to work well. I was unsure about version incompatibility what with this page being about a year old. I installed originally from Fink, which has the latest versions of spidermonkey and nspr, but the file class didn&#8217;t seem to function.</p>

<p>I removed spidermonkey and spidermonky-shlibs that Fink had installed, leaving the Fink installation of nspr and readline5. I got the latest spidermonkey tarball (1.60) via the link above.</p>

<p>I added the following lines to Makefile.ref (as per above):</p>

<p>-I/sw/include/nspr
-L/sw/lib</p>

<p>I made no changes to the JS source files.</p>

<p>I compiled with:</p>

<p>make -f Makefile.ref JS<em>THREADSAFE=1 JS</em>HAS<em>FILE</em>OBJECT=1</p>

<p>Not elaborately tested, but the file class seems to work now.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: gavin hurley</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-1314</link>
		<dc:creator>gavin hurley</dc:creator>
		<pubDate>Tue, 06 Feb 2007 02:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-1314</guid>
		<description>&lt;p&gt;Yeah, if you don&#039;t need file support it&#039;s actually pretty easy to just build the interpreter. Detailed instructions (not that they&#039;re complicated) &lt;a href=&quot;http://majuscule.blogspot.com/2005/11/compilling-spidermonkey-on-os-x.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, if you don&#8217;t need file support it&#8217;s actually pretty easy to just build the interpreter. Detailed instructions (not that they&#8217;re complicated) <a href="http://majuscule.blogspot.com/2005/11/compilling-spidermonkey-on-os-x.html" rel="nofollow">here</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Watkins</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-544</link>
		<dc:creator>Jeff Watkins</dc:creator>
		<pubDate>Mon, 21 Aug 2006 16:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-544</guid>
		<description>&lt;p&gt;I&#039;m not at my Mac right now, but I think all you need to do to build (without file support) is run:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;make -f Makefile.ref
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This uses the special &lt;em&gt;standalone&lt;/em&gt; makefile. I don&#039;t recall ever running &lt;code&gt;./configure&lt;/code&gt;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m not at my Mac right now, but I think all you need to do to build (without file support) is run:</p>

<pre><code>make -f Makefile.ref
</code></pre>

<p>This uses the special <em>standalone</em> makefile. I don&#8217;t recall ever running <code>./configure</code>.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: manu3000</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-543</link>
		<dc:creator>manu3000</dc:creator>
		<pubDate>Mon, 21 Aug 2006 16:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-543</guid>
		<description>&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;sorry, i&#039;m pretty useless but i didn&#039;t manage to build SpiderMonkey (just building it on its own -- no file support) on my system (PPC 10.4) &lt;/p&gt;

&lt;p&gt;i tried ./configure from the /src directory (taht works usually) but here i got this depressing : &quot; ./configure: No such file or directory &quot; message !&lt;/p&gt;

&lt;p&gt;Can you help ? Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi</p>

<p>sorry, i&#8217;m pretty useless but i didn&#8217;t manage to build SpiderMonkey (just building it on its own &#8212; no file support) on my system (PPC 10.4) </p>

<p>i tried ./configure from the /src directory (taht works usually) but here i got this depressing : &#8221; ./configure: No such file or directory &#8221; message !</p>

<p>Can you help ? Thanks</p>]]></content:encoded>
	</item>
	<item>
		<title>By: GazHay</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-538</link>
		<dc:creator>GazHay</dc:creator>
		<pubDate>Sat, 19 Aug 2006 16:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-538</guid>
		<description>&lt;p&gt;OK, got it,
I downloaded nspr-4-6-2 source, 
navigated to that directory, and ran ./configure and then make
I moved the resulting libnspr4.dylib file to the nspr-4-4-1/lib replacing the one that was there for ppc.
I then built spidermonkey and stole the libs from firefox, and all is well.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OK, got it,
I downloaded nspr-4-6-2 source, 
navigated to that directory, and ran ./configure and then make
I moved the resulting libnspr4.dylib file to the nspr-4-4-1/lib replacing the one that was there for ppc.
I then built spidermonkey and stole the libs from firefox, and all is well.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Watkins</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-537</link>
		<dc:creator>Jeff Watkins</dc:creator>
		<pubDate>Sat, 19 Aug 2006 15:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-537</guid>
		<description>&lt;p&gt;Yeah, unfortunately, I don&#039;t have an Intel Mac, so this isn&#039;t something I can fix. If you have the details, please let me know. I&#039;ll update this post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, unfortunately, I don&#8217;t have an Intel Mac, so this isn&#8217;t something I can fix. If you have the details, please let me know. I&#8217;ll update this post.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: GazHay</title>
		<link>http://nerd.metrocat.org/2006/07/building-mozilla-spidermonkey-for-mac-os-x/comment-page-1#comment-536</link>
		<dc:creator>GazHay</dc:creator>
		<pubDate>Sat, 19 Aug 2006 15:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://nerd.newburyportion.com/2006/07/building-mozilla-spidermonkey-for-mac-os-x#comment-536</guid>
		<description>&lt;p&gt;Further changes are required for building on Intel Macs, as the make command finds that the nspr build is for ppc, and does not match arch&#039;s return value i386.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Further changes are required for building on Intel Macs, as the make command finds that the nspr build is for ppc, and does not match arch&#8217;s return value i386.</p>]]></content:encoded>
	</item>
</channel>
</rss>
