<?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>The Combat Pretzel &#187; mono</title>
	<atom:link href="http://www.combatpretzel.com/tag/mono/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.combatpretzel.com</link>
	<description>Tom Servo's Online Craphole!</description>
	<lastBuildDate>Sun, 10 Jan 2010 04:57:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building Mono 2.0 on OpenSolaris</title>
		<link>http://www.combatpretzel.com/2008/10/building-mono-20-on-opensolaris/</link>
		<comments>http://www.combatpretzel.com/2008/10/building-mono-20-on-opensolaris/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 11:50:01 +0000</pubDate>
		<dc:creator>tomservo</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.combatpretzel.com/?p=30</guid>
		<description><![CDATA[I&#8217;ve tried to build the source from scratch and hacked the configure file in various ways, nothing helped. I&#8217;m not sure what the problem is, it looks like the C# compiler in the Mono Lite package freaking out for some reason. To actually build it properly, you have to have an existing working C# compiler. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried to build the source from scratch and hacked the configure file in various ways, nothing helped. I&#8217;m not sure what the problem is, it looks like the C# compiler in the Mono Lite package freaking out for some reason. To actually build it properly, you have to have an existing working C# compiler. And the basic precompiled one delivered doesn&#8217;t work.</p>
<p>To get a working build, you&#8217;ll have to build Mono 1.2.6 first. Put it anywhere but /usr, since you probably want it to stay clean. The build however also has some issues. Turns out that the Mono Lite C# compiler in that version doesn&#8217;t like an unlimited stack (the main compiler&#8217;s probably also affected). To fix that, issue <em>ulimit -Hs 10240</em> in your command line (preferably bash, since Mono expects the GNU command chain) which sets the hard limit to 10MB, run <em>make</em>, <em>make install</em> and then make sure the binaries are in the path.</p>
<p>Then retry compiling Mono 2.0. The build should succeed.</p>
<p>I&#8217;d recommend recompiling the whole package yet again, but with the Mono 2.0 binaries. Which means compile Mono 1.2.6 and slap it in e.g. /opt/mono126, then compile Mono 2.0 putting it in e.g. /opt/mono2 and then do a final compile with the prefix you want. Consider keeping both previous compiles, in case a future release shows more issues.</p>
<p><strong>Update:</strong> Turns out that the Mono 2.0 compiler&#8217;s also shitting all over itself about Solaris&#8217; default stack settings. Either manually set ulimit or tweak the mcs/gmcs scripts wherever you&#8217;ve installed Mono.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.combatpretzel.com/2008/10/building-mono-20-on-opensolaris/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
