here is the updated mono-build script for ubuntu hardy (intrepid might work as well).
update: since posting this i’ve been experiencing intermittent (that is, non-deterministic) mono crashes when running OpenSim, and have reverted to mono 2.0.1 which runs much more stable.
all content posted on these pages is an expression of my own mind.
my employer is welcome to
share these opinions but then again he might not want to.

Just started to write my own when I stumbled upon this… marvelous!
comment by Dan Higham — February 18, 2009 @ 21:22
Ah! although the archives do seem to still be pointing to 2.0 in this script, still very useful though!
comment by Dan Higham — February 18, 2009 @ 21:36
oops…link was pointing somewhere but not at the script. fixed now. sorry about that!
you also might want to use
--with-large-heap=yesfor the mono configure invocation.comment by DrScofield — February 18, 2009 @ 22:49
your scritp install mono 2.0 not mono 2.2 but it run well, thank you for that
comment by Yao K. — February 19, 2009 @ 13:50
ok…there is a typo in the instructions for the gnome-sharp package (just tested on a clean machine).
i’ve updated the script.
comment by DrScofield — February 19, 2009 @ 17:35
hmm… it should install mono-2.2, really. looking at the script show this:
comment by DrScofield — February 20, 2009 @ 08:16
Heeeeyyy Doc ! You’re great !!! Largely more than one hour of endless downloading/making/compiling job, with billions of stressing warnings every seconds, and it make it ! Peeeew. I’m completely wet… Never thought i could feel this one day !!! Many thanks for this script…
comment by Fredo Chaplin — February 24, 2009 @ 17:47
Thanks for a great script! A minor typo: cd mono-debugger-2.0 Should be: cd mono-debugger-2.2 Trying to use the script to install on Intrepid results in failures on: make mono-tools (invalid ResX input) and : configure mono-debugger (directory termcap not found) But Mono 2.2 runs well enough for my purpose, an OpenSimulator server, without those parts.
comment by Magnuz — March 5, 2009 @ 20:01
Seems the failures with mono-tools and mono-debugger in Intrepid are fixed if libncurses5-dev is installed first, and possibly mono-debugger is installed before mono-tools. Also, unzip needs to be installed in Intrepid.
comment by Magnuz — March 6, 2009 @ 14:08
The issue that Magnuz — March 5, 2009 @ 20:01 had with mono-tools (invalid ResX input) … check out:
http://www.mono-project.com/FAQ:_Winforms#GDIPlus_Initializer_Exception
libgdiplus is installed, but cannot be found (not in his LD_LIBRARY_PATH)
A universal simple fix is to put “sudo ldconfig -v” after the “make install” for libgdiplus
I found putting the “sudo ldconfig -v” at the end also made things rum smoothly without having to modify the LD_LIBRARY_PATH to include /usr/local/lib
comment by mmorris — April 7, 2009 @ 22:49
[...] a pain in the ass? After reading the forums and stumbling upon xyzzyxyzzy’s awesome script, I decided to make it easier on all us Mono/.NET [...]
pingback by borisSCHEIMAN // » Compiling Mono 2.6 on Slicehost — February 1, 2010 @ 03:10
[...] Dirk Husemanns mono-22-build2.sh http://xyzzyxyzzy.net/2009/02/17/updated-mono-build-script-mono-22/ Categories Uncategorized LikeBe the first to like this [...]
pingback by Mono 2.4 under Ubuntu 9.04 « devnotcorp — April 30, 2011 @ 20:35
I like mono
comment by Trek — December 16, 2011 @ 14:43