Well done!! Congratulations!! It's not too hard installing Mono from sources after all. Of course, a hand is necessary sometimes.
I think that it would be a great contribution to publish your step-by-step guide to anyone that wish install Mono from sources in Ubuntu/Debian. Maybe contacting to the webmasters of Mono-project... why not? Other sites, maybe ubuntuguide.org? El mar, 31-03-2009 a las 17:26 -0700, Mike Christensen escribió: > Yup! All good (I read your first email again).. > > Have a simple Hello World program running, the rest I think I can do > since I have some OpenSUSE experience with Mono.. Thanks! > > The next thing I'm gonna do is wipe the whole machine again and > reinstall from scratch, then try the whole thing again based on my > notes.. > > Also, I now have a pretty detailed step-by-step on how to install Mono > 2.4 on a fresh Ubuntu Server install, I just have to clean it up a > bit. Is there a Wiki or a website I can publish this to so other > people can make use of it? Thanks!! > > Mike > > Daniel Soto wrote: > > Nope, still there is some things to do. > > > > Edit the file /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 now have apache with .net support. > > > > El mar, 31-03-2009 a las 23:20 +0000, [email protected] escribió: > > > > > Might have been some fluke.. > > > > > > > > > > > > I just nuked the mod_mono-2.4 directory and redownloaded mod_mono, > > > this time I just did: > > > > > > > > > > > > ./configure > > > > > > > > > > > > with no parameters and got no errors. I did a make and a make install > > > with no errors (both took under 10 seconds, is this right?) > > > > > > > > > > > > Anyway, now I have a file called /etc/apache2/mod_mono.conf > > > > > > > > > > > > Does this mean yay? > > > > > > > > > > > > Mike > > > > > > > > > ----- Original Message ----- > > > From: [email protected] > > > To: "Daniel Soto" <[email protected]> > > > Cc: [email protected], "FlappySocks" <[email protected]> > > > Sent: Tuesday, March 31, 2009 4:01:00 PM GMT -08:00 US/Canada Pacific > > > Subject: Re: [Mono-list] Debian support > > > > > > > > > > > > Yup, here's what I did: > > > > > > > > > > > > apt-get install gettext > > > cd .. > > > wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.tar.bz2 > > > tar -xpjf mono-2.4.tar.bz2 > > > cd mono-2.4/ > > > ./configure --prefix=/usr/local > > > make & make install > > > cd .. > > > > > > > > > > > > This worked fine, no errors.. > > > > > > > > > > > > Next I built XSP: > > > > > > > > > > > > apt-get install apache2-threaded-dev > > > wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.4.tar.bz2 > > > tar -xpjf xsp-2.4.tar.bz2 > > > cd xsp-2.4/ > > > ./configure --prefix=/usr/local > > > make & make install > > > > > > > > > This also worked fine, no errors.. Then I build mod_mono: > > > > > > > > > > > > wget > > > http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.4.tar.bz2 > > > tar -xpjf mod_mono-2.4.tar.bz2 > > > cd mod_mono-2.4/ > > > ./configure --prefix=/usr/local > > > make > > > > > > > > > > > > At which point I get the libtool error. Maybe it's looking in the > > > wrong path for something? > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Daniel Soto" <[email protected]> > > > To: [email protected] > > > Cc: "FlappySocks" <[email protected]>, [email protected] > > > Sent: Tuesday, March 31, 2009 3:43:35 PM GMT -08:00 US/Canada Pacific > > > Subject: Re: [Mono-list] Debian support > > > > > > Did you built mono 2.4 successfully? Mono 2.4 is required before to > > > install mod_mono. > > > > > > 2009/3/31 <[email protected]>: > > > > > > > I can configure mod_mono now, however when I run "make" I get: > > > > > > > > > > > > > > > > r...@mono24:~/mod_mono-2.4# make > > > > Making all in src > > > > make[1]: Entering directory `/home/mike/mod_mono-2.4/src' > > > > /bin/bash ../libtool --tag=CC --mode=link gcc -Wall > > > > -DDFLT_MONO_CONFIG_DIR=\"/etc/apache2/mod-mono-applications\" > > > > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 > > > > -I/usr/include/apache2 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE > > > > -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/mysql > > > > -I/usr/include/openssl -I/usr/include/postgresql > > > > > > > -I/usr/include/xmltok > > > > > > > -pthread -I/usr/include/apr-1.0 -pthread > > > > > > > -I/usr/include/apr-1.0 > > > > > > > -I/usr/include/postgresql -I/usr/include/mysql -module -lglib-2.0 > > > > > > > -o > > > > > > > mod_mono.la -rpath /usr/local/lib mod_mono_la-mod_mono.lo > > > > mod_mono_la-mono-io-portability.lo > > > > libtool: link: `mod_mono_la-mod_mono.lo' is not a valid libtool > > > > > > > object > > > > > > > make[1]: *** [mod_mono.la] Error 1 > > > > make[1]: Leaving directory `/home/mike/mod_mono-2.4/src' > > > > make: *** [all-recursive] Error 1 > > > > > > > > ----- Original Message ----- > > > > From: "Daniel Soto" <[email protected]> > > > > To: [email protected] > > > > Cc: "FlappySocks" <[email protected]>, [email protected] > > > > Sent: Tuesday, March 31, 2009 3:27:56 PM GMT -08:00 US/Canada > > > > > > > Pacific > > > > > > > Subject: Re: [Mono-list] Debian support > > > > > > > > Did you installed apache2-threaded-dev? > > > > > > > > 2009/3/31 <[email protected]>: > > > > > > > > > Hi. When running ./configure for mod-mono-2.4 I get: > > > > > > > > > > > > > > > > > > > > checking whether mod_mono should remove the DISPLAY variable from > > > > > environment... no > > > > > checking if gcov compilation was requested... no > > > > > checking if gprof support was requested... no > > > > > checking for apxs2 in /usr/local/apache2/sbin... no > > > > > checking for apxs in /usr/local/apache2/sbin... no > > > > > checking for apxs2 in /usr/local/apache2/bin... no > > > > > checking for apxs in /usr/local/apache2/bin... no > > > > > checking for apxs2 in /usr/local/apache/sbin... no > > > > > checking for apxs in /usr/local/apache/sbin... no > > > > > checking for apxs2 in /usr/local/apache/bin... no > > > > > checking for apxs in /usr/local/apache/bin... no > > > > > checking for apxs2 in /usr/sbin... no > > > > > checking for apxs in /usr/sbin... no > > > > > checking for apxs2 in /usr/bin... no > > > > > checking for apxs in /usr/bin... no > > > > > checking for apxs2... no > > > > > checking for apxs... no > > > > > configure: error: **** apxs was not found, DSO compilation will not > > > > > > > > be > > > > > > > > available. > > > > > > > > > > Is this something I have to worry about? What is DSO compilation? > > > > > > > > > > > > > > > > > > > > The only thing server related I installed is: apt-get install > > > > > > > > apache2 > > > > > > > > > > > > > Maybe I need some sort of other packages too? > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Daniel Soto" <[email protected]> > > > > > To: "Mike Christensen" <[email protected]> > > > > > Cc: "FlappySocks" <[email protected]>, [email protected] > > > > > Sent: Tuesday, March 31, 2009 11:28:50 AM GMT -08:00 US/Canada > > > > > > > > Pacific > > > > > > > > Subject: Re: [Mono-list] Debian support > > > > > > > > > > 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 <[email protected]>: > > > > > > > > > > > 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 - [email protected] > > > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > > > > > > > > > > _______________________________________________ Mono-list maillist - > > > [email protected] > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
