<?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>borisSCHEIMAN // &#187; C#</title>
	<atom:link href="http://www.bscheiman.org/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bscheiman.org</link>
	<description>Lifestyle, hobbies, work, rage...</description>
	<lastBuildDate>Sat, 26 Jun 2010 00:53:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Compiling Mono SVN on Slicehost/Rackspace Cloud</title>
		<link>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/</link>
		<comments>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 05:33:23 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[boris]]></category>
		<category><![CDATA[bscheiman]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[scheiman]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=161</guid>
		<description><![CDATA[The following should do the trick. This is an update from my old Mono script. Disclaimer: If your system explodes, your cat dies, or anything else happens because of this script, I am not to blame. If everything works though, I&#8217;m always here. Hugs. #!/bin/bash TOPDIR=$(pwd) BUILDDIR=$TOPDIR/build DLDDIR=$TOPDIR/downloads export PATH=/usr/local/bin:$PATH echo &#34;installing prerequisites&#34; sudo apt-get]]></description>
			<content:encoded><![CDATA[<p>The following should do the trick. This is an update from my old <a href="http://www.bscheiman.org/2009/03/18/compiling-mono-22-on-slicehost/">Mono</a> script. Disclaimer: If your system explodes, your cat dies, or anything else happens because of this script, I am not to blame. If everything works though, I&#8217;m always here. Hugs.</p>
<p><span id="more-161"></span></p>
<pre class="brush: plain;">

#!/bin/bash

TOPDIR=$(pwd)
BUILDDIR=$TOPDIR/build
DLDDIR=$TOPDIR/downloads

export PATH=/usr/local/bin:$PATH

echo &quot;installing prerequisites&quot;
sudo apt-get install -y build-essential bison gawk
sudo apt-get install -y libglib2.0-dev
sudo apt-get install -y libpng12-dev libx11-dev libfontconfig1-dev
sudo apt-get install -y libfreetype6-dev libjpeg62-dev libtiff4-dev
sudo apt-get install -y libungif4-dev libexif-dev libcairo2-dev
sudo apt-get install -y libpango1.0-dev libgtk2.0-dev libglade2-dev
sudo apt-get install -y libgnome2-dev libgnomecanvas2-dev libgnomeui-dev
sudo apt-get install -y libgnomeprint2.4-dev libgnomeprintui2.4-dev
sudo apt-get install -y libpanel-applet2-dev libgtksourceview-dev
sudo apt-get install -y libgtkhtml3.14-dev
sudo apt-get install -y intltool
sudo apt-get install -y desktop-file-utils apache2-threaded-dev subversion libtool

echo &quot;uninstalling platform mono packages&quot;
sudo apt-get remove 'mono-*' libgdiplus

mkdir -p $BUILDDIR
cd $BUILDDIR

rm -rf libgdiplus
rm -rf mono
rm -rf mono-tools
rm -rf mono-debugger
rm -rf xsp
rm -rf mod_mono

echo
echo &quot;downloading mono packages&quot;
echo

cd $BUILDDIR

svn co svn://anonsvn.mono-project.com/source/trunk/libgdiplus
svn co svn://anonsvn.mono-project.com/source/trunk/mono
svn co svn://anonsvn.mono-project.com/source/trunk/mcs
svn co svn://anonsvn.mono-project.com/source/trunk/mono-tools
svn co svn://anonsvn.mono-project.com/source/trunk/mono-debugger
svn co svn://anonsvn.mono-project.com/source/trunk/xsp
svn co svn://anonsvn.mono-project.com/source/trunk/mod_mono

cd $BUILDDIR

echo
echo &quot;building and installing mono packages&quot;
echo
cd $BUILDDIR

cd libgdiplus
./autogen.sh --prefix=/usr/local
make
sudo make install
cd $BUILDDIR

cd mono
cd mono
cd mini
perl -i -pe 'last if eof' mini-amd64.h
perl -i -pe 'last if eof' mini-amd64.h
echo &quot;#define MONO_ARCH_NOMAP32BIT&quot; &gt;&gt; mini-amd64.h
echo &quot;#endif&quot; &gt;&gt; mini-amd64.h
cd ..
cd ..
./autogen.sh --prefix=/usr/local --with-large-heap=yes --with-xen_opt=yes
sudo make uninstall
make get-monolite-latest
make EXTERNAL_MCS=false
sudo make install
cd $BUILDDIR

cd mono-tools
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd mono-debugger
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd xsp
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd mod_mono
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

echo
echo &quot;done&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
