[Mono-list] Debian support

Daniel Soto daniel.soto2k at gmail.com
Tue Mar 31 15:00:12 EDT 2009


2009/3/31 Mike Christensen <imaudi at comcast.net>:
> Just to clarify a few points:
>
> 1) Are you downloading Mono tar files or using svn to checkout the source?
> Does it really matter?

I'm downloading Mono tar files. Get it from
http://ftp.novell.com/pub/mono/sources-stable/

> 2) libgdiplus was giving me the most problems.  Can I install it using
> apt-get install or do I have to build from sources?  You're saying this
> already comes with the mono sources?  What specifically do I have to build?

In the past, I installed libgdiplus using apt-get, when Mono version was 1.2.4.

Now, Mono 2.4, I installed libgdiplus from source URL that I described
above. The file is libgdiplus-2.4.tar.bz2. Some dependencies are
required, unfortunately I cannot remember at this moment, but I can
see it in my system. Right now I am not in my laptop (it is at my
home).

> 3) Can you point out exactly what files you're downloading from where?  FTP
> commands would help people not familiar with downloading from the command
> line.

I simply open a new browser window, and typed the URL
http://ftp.novell.com/pub/mono/sources-stable/

I'm using Firefox, and I navigate to the downloads page.

Or more easyly: http://www.mono-project.com/Main_Page. Click on
"Download" link above, at menu. If you want install mono from sources,
then click on "Mono 2.4 sources" link, above.

> 4) Can you provide a bit more informaiton about what I need to download and
> build for mod_mono and Apache?  I don't care a lot about xsp, but from what
> I can tell you need to build xsp to have mod_mono and mono_server correct?
> I assume this is because they share a bunch of code.

To build mod_mono and apache, apache2 installed (sudo apt-get install
apache), mono 2.4 is required to build mod_mono, and sudo apt-get
install apache-threaded-dev. Then edit configuration file as I
described previously.

> I'm installing a fresh Ubuntu image right now, I'm planning to create a
> step-by-step guide when I get this working with every single command line,
> etc.

If you want, I can help telling step by step how I did it. Right now
I'm not in my laptop.

> Mike
>
> Daniel Soto wrote:
>
> I can describe a summary of how I get Mono 2.4 from sources, it's not
> difficult.
>
> I assume using Ubuntu Intrepid Ibex (my system have it installed)
>
> Requirements:
> build-essential
> Bison installed (apt-get install bison)
> libgdiplus-2.4 installed (I got it from mono sources also, then
> ./configure && make && make install)
>
> Get mono-2.4.tar.bz2, decompress it.
> Change to directory created after decompress.
> ./configure --prefix=/usr/local
> make
> sudo make install
>
> And... I believe that is all. The make command will take a long time to
> compile.
>
> You can install XSP in the same way.
>
> To asp.net support for apache web server (asumming apache 2):
>
> sudo apt-get install apache-threaded-dev
> Get mod_modo-2.4 and decompress it.
> ./configure --prefix=/usr/local
> make
> sudo make install
>
> When it finishes, make sure that mod_mono.conf is created in
> /etc/apache2 folder.
>
> Edit /etc/apache2/apache2.conf
>
> Search for this section:
>
>          # Include module configuration:
>          Include /etc/apache2/mods-enabled/*.load
>          Include /etc/apache2/mods-enabled/*.conf
>
> Add the following line, below.
>
>           Include /etc/apache2/mod_mono.conf
>
> At the end of configuration file, add the following
>
>            MonoServerPath /usr/local/bin/mod-mono-server2
>
> Restart apache
>
>            sudo /etc/init.d/apache2 restart
>
> And you should have mono 2.4 with .net support for apache, and xsp2
> light webserver for development. Type mono --version to get the
> version currently installed.
>
> Those were the steps that I followed to get mono 2.4 fully functional
> in a fresh Ubuntu Intrepid install.
>
> Let me know if you need more help. I can give a hand.
>
> Cheers.
>
> 2009/3/31 Mike Christensen <imaudi at comcast.net>:
>
>
> Is there a step by step on how to do this on a fresh Ubuntu install?  It
> took me forever to figure out all the packages I needed to install
> first, and now I just get "Error 2" when I make.  Sigh..
>
> FlappySocks wrote:
>
>
> I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
> done mono.
>
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
>


More information about the Mono-list mailing list