Build monodevelop on ubuntu 11.10

Again? yes but this time I don’t have to built mono runtine Ubuntu 11.10 packed with mono 2.10.5 which good enough since what I am after is dynamic.
However monodevelop I got from Ubuntu Software Center (USC) is 2.6 and the official release is 2.8.x so I take my on my gut to try and built me an IDE ;)

This time it much easier what I have to do is get latest copy of the source code from github.com

> git clone git://github.com/mono/monodevelop.git

Then install build dependent by issuing this command

> sudo apt-get build-dep monodevelop

I don’t know why mono-gmcs was not install as part of the previous command (if you know why please comment) for now I have to install another package

> sudo apt-get install mono-gmcs

and then I’m ready to

> ./configure
> sudo make && make run

> monodevelop

BOOM !

MonoDevelop 2.8.2
Installation UUID: b220bfc2-57c6-4b94-840e-ff6c6477632d
Runtime:
	Mono 2.10.5 (Debian 2.10.5-1) (64-bit)
	GTK 2.24.6
	GTK# (2.12.0.0)
Build information:
	Git revision: e047f99f6df7b5c801102c03f903d4dd722b2989-dirty
	Build date: 2011-11-11 15:03:47+0000

Thanks to mono packaging team, you guy rock!

11 thoughts on “Build monodevelop on ubuntu 11.10

  1. Hey, I got everything until the last 3 steps —

    > ./configure
    > sudo make && make run

    > monodevelop

    I did —

    > cd monodevelop
    > ./configure

    This worked fine, but when I try

    > sudo make && make run

    it says no such file or directory, run configure first

    can you explain the last 3 steps a bit more in detail?

    Thanks

  2. It’s a great IDE for development. However, I seem not satisfied with its some features, that does not fully support .Net framework. Do you often develop App with this beautiful IDE? Don’t you move back to window?

    1. @tomorrowlife, thanks for your comment first off it is not the IDE problem it is Mono runtime problem. Mono like any other open source project out there it go it own agenda. Previously the community was focus on implement popular .NET Framework API by garthering data from it user with tool like http://www.mono-project.com/MoMA after the team was laid off from Novel the new team xamarin got new direction focusing on Mobile solution instead. However what I am interested in mono is the implementation of the C# language specification which more or less completed or sometime it even better and THAT open alot of opportunity for me to live much longer outside Window :D

  3. It’s maybe good to know that “make run” only starts the program but not installs the program (without installing you can not type “monodevelop” in the shell and MonoDevelop starts up). With the command “make install” MonoDevelop will be installed and is then useable e.g. with the “monodevelop” command in the shell.

  4. i couldn’t used ./configure it had to be
    sudo ./configure
    and also the last command it should be
    sudo make && sudo make run

    thank you Chorn Sokun for the valuable info! enjoy..

  5. How can i run the package for the GTK# applications i created here on windows machine?
    I create a simple GTK# app using monodevelop,
    create package for windows
    and copy the .exe file created to windows machine.

    How can i run this on windows machine?(when i double click exe file , it shows HELLOWORLD has stopped working)
    but when i run the same from mono console using statement mono Helloworld.exe it works
    So is it possible to run the exe on windows machine without using console? Then how can i do that? any links or tutorials for doing this

      1. You may integrate the GTK# installer with the Windows Installer of your Application. (Then your users will be able to install both with a single click, no forcing…). Many Installer making software can do this.

        Any idea about this ? is it possible to create such setup from monodevelop like we create Deployment solutions from visual studio?

  6. i get this on executing make run
    System.NullReferenceException: Object reference not set to an instance of an object
    at MonoDevelop.Ide.IdePreferences.get_DefaultTargetRuntime () [0x00020] in /home/rachit/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdePreferences.cs:213
    at MonoDevelop.Ide.RootWorkspace.set_UseDefaultRuntime (Boolean value) [0x00019] in /home/rachit/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:152
    at MonoDevelop.Ide.RootWorkspace..ctor () [0x00130] in /home/rachit/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:88
    at MonoDevelop.Ide.IdeApp.Initialize (IProgressMonitor monitor) [0x00028] in /home/rachit/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:144
    at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x0053a] in /home/rachit/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:226

    and monodevelop fails to start … what should i do?

Leave a reply to Chorn Sokun Cancel reply