Home of Rob
Menu
Building monodevelop
I'm running Ubuntu 7.10, and when I use synaptic to install mono and monodevelop I find that monodevelop won't run. It's version 0.1.14 (I think) and it crashes when it first starts up. Looking in various forums on the internet it seems that this particular version of monodevelop has issues, and so I decided to re-build monodevelop from scratch.
First, I downloaded the source code for the latest version of mono and built/installed it.
I then downloaded the source for monodevelop 1.0.
When I tried building it I came across a number of error messages. The first was this:
The following assembly referenced from ... could not be found:
Assembly: glade-sharp
And many errors followed from this.
I fixed it by downloading an rpm from here. I used alien (this converts linux packages from one form to antoher) to convert to a .deb package and I installed it. I then altered the mono path (it was blank to begin with - check with echo $MONO_PATH):
export MONO_PATH=/usr/lib/mono/gtk-sharp
The building then proceeded but I got a similar error, this time relating to monodoc.
This time I fixed it by installing monodoc-base, and then making sure that the file monodoc.dll was present in the paths specified by MONO_PATH.
Install:
sudo apt-get install monodoc-base
Find out where the file is (if the build still fails):
locate monodoc*.dll
or
find /usr/lib -iname "monodoc*.dll"
And then adjust MONO_PATH accordingly, with command shown above.