Building MonoDevelop from source on Ubuntu 8.04

Submitted by aaron on Mon, 02/09/2009 - 18:54

I recently had a bit of an adventure trying to get the latest MonoDevelop installed. There are some undocumented dependencies that took me a while to figure out, so hopefully this will save someone some time:

1 - Build and install mono-addins

Get the package from http://monodevelop.com/Download

Then use the normal build and install method:
./configure
make
sudo make install

2 - Install the following packages using synaptic

These are required dependencies for building gtk-sharp WITH glade support.

libgnome2-dev
libgnomecanvas2-dev
libgnomeui-dev
libgnomeprint2.2-dev
libgnomeprintui2.2-dev
libpanel-applet2-dev

3 - Install gtk-sharp

Get the gtk-sharp (2.12) tarball from

http://ftp.novell.com/pub/mono/sources-stable/

Extract it and then run ./configure. You should see a “yes” by gtk-sharp.dll and gtk-dotnet.dll

Mono develop from source:

Optional assemblies included in the build:

* glade-sharp.dll: yes
* gtk-dotnet.dll: yes

Then continue the normal build and install process with:

make
sudo make install

4 - Install gnome-sharp

Get the source tarball from - http://ftp.novell.com/pub/mono/sources-stable/
./configure
make
sudo make install

5 - Install the following packages using synaptic

libgtksourceview-dev (I am not sure this one is needed…)
libgtksourceview2.0-dev

6 - Install gtksourceview-sharp

Get the source tarball (gtksourceview-sharp-2.0-0.12.tar.bz2) from - http://ftp.novell.com/pub/mono/sources-stable/

Then complete its install process normally:

./configure
make
sudo make install

7 - Install monodoc (2.0)

http://ftp.novell.com/pub/mono/sources-stable/

Then complete its install process normally:

./configure
make
sudo make install

(I got some errors trying to build it… Let me know if you can get it to build)

8 - Install the following packages using synaptic

automake (autoconf should also be automatically included as a dependency)

9 - Install monodevelop

Get the source from svn: svn://anonsvn.mono-project.com/source/trunk/monodevelop. Then run ./configure.

I could not get Boo to build because I could not get nant to build on my machine, so I removed the BooBinding and the JavaBinding extras. If you wind up needing to run configure again, you can get this menu to re-appear by removing the “default” file from /profiles.

1. [X] main
2. [ ] extras/JavaBinding
3. [ ] extras/BooBinding
4. [ ] extras/ValaBinding
5. [ ] extras/AspNetEdit
6. [ ] extras/GeckoWebBrowser
7. [ ] extras/WebKitWebBrowser
8. [ ] extras/MonoDevelop.Database
9. [ ] extras/MonoDevelop.Profiling
10. [ ] extras/MonoDevelop.AddinAuthoring
11. [ ] extras/MonoDevelop.CodeAnalysis
12. [ ] extras/MonoDevelop.Debugger.Mdb
13. [ ] extras/MonoDevelop.Debugger.Gdb
14. [ ] extras/PyBinding

Then I completed the install with:

make
sudo make install

I was surprised to see that during the install MonoDevelop even got added to my programming menu.

Copyright © 2011, Aaron Blondeau

Drupal theme by Kiwi Themes.