Chorn Sokun's Weblog

Conquer inner fear, push it to the limit!

Build monodevelop on ubuntu 11.10

with 11 comments

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!
About these ads

Written by Chorn Sokun

November 11, 2011 at 11:12 pm

11 Responses

Subscribe to comments with RSS.

  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

    paitarun

    December 30, 2011 at 8:17 pm

  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?

    tomorrowlife

    February 2, 2012 at 12:53 pm

    • @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

      Chorn Sokun

      February 2, 2012 at 9:50 pm

  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.

    Jeason

    February 4, 2012 at 9:54 pm

  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..

    Alex

    March 14, 2012 at 10:02 am

  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

    jibinmathew

    May 24, 2012 at 1:32 pm

  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?

    Gremon

    July 9, 2012 at 8:52 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: