[Mono-dev] building mono, monodevelop, etc. from SVN on Ubuntu Edgy

Frederik Carlier frederik.carlier at ugent.be
Wed Mar 14 18:18:44 EDT 2007


Hi,

This is a rather new document I'm working on. It should get you started.
If you have issues, please let me know!


  Getting Mono


    Bootstrapping

You currently need to have the latest version of Mono installed on your
computer. To build Mono from SVN, you first need to have the Mono
runtime and C# compiler installed on your computer.

If you are running ubuntu, you would typically do

sudo apt-get install mono mono-gmcs mono-gac mono-utils

*Note:*

    Mono is currently in the universe repository. Make sure you enable
    this repository. 


    Get the latest version from SVN

Then, check out Mono from SVN. First you'll need to install Subversion
<http://subversion.tigris.org>. If you are running ubuntu, you would
typically do

sudo apt-get install subversion

You'll need the libgdiplus, mono and mcs modules. See
http://www.mono-project.com/SVN for more information.

If you are running ubuntu, you would typically do

svn co svn://svn.myrealbox.com/source/trunk/libgdiplus
svn co svn://svn.myrealbox.com/source/trunk/mono
svn co svn://svn.myrealbox.com/source/trunk/mcs

There is more! To build mono, you need to have quite some packages
installed. Here's a partial list of Ubuntu packages.


    List of required packages

*Build tools:*

    * automake1.9
    * autoconf

*For libgdiplus:*

    * libexif-dev
    * libexpat1-dev
    * libfontconfig1-dev
    * libfreetype6-dev
    * libjpeg62-dev
    * libpng12-dev
    * libtiff4-dev
    * libtiffxx0c2
    * libungif4-dev
    * libxft-dev
    * libxrender-dev
    * x11proto-render-dev

*For mono:*

    * autotools-dev
    * bison
    * dpatch
    * libtool
    * libxml2-dev
    * libxslt1-dev
    * m4


    Building Mono

To build mono, you would do this:

cd libgdiplus
./autogen.sh
make
cd ../mono
./autogen.sh
make

If you encounter any problem, that's most likely because of a missing
dependency. Don't proceed as long as you can't build Mono from source!


    Removing the pre-build version of Mono

You can now remove the pre-build version of Mono. On Ubuntu:

sudo apt-get remove mono mono-gmcs mono-gac mono-utils


    Installing Mono

cd ../libgdiplus
sudo make install
cd ../mono
sudo make install

You are now ready to go!



Frederik.

Eric Miller schreef:
> I've been Googling for some advice on building mono and monodevelop from 
> SVN on Ubuntu Edgy and haven't come up with much.
>
> Can anyone suggest references for Linux or specifically for Ubuntu Edgy? 
> I've been trying to use the Ubuntu apt packages but they are a bit 
> behind the times.
>
> Sorry in advance if this is the wrong list for this question. I'm a MS 
> .Net desktop application developer trying to expand my horizons a bit. :-D
>
> Eric Miller
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070314/59210215/attachment.html 


More information about the Mono-devel-list mailing list