[Mono-list] Ubuntu 8.04 GTK-Sharp Couldn't File in MonoDevelop IDE
Build the project completed successfully. but while Run the project i am getting following error I am Ubuntu 8.04 User . I installed Mono and Open the Mono develop then i designed with just simple design and I got success in Build Project and Build Solution. When i Run the Solution i got Below Message ** (/home/Csharp1/Csharp1/bin/Debug/Csharp1.exe:16310): WARNING **: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' -- View this message in context: http://www.nabble.com/Ubuntu-8.04-GTK-Sharp-Couldn%27t-File-in-MonoDevelop-IDE-tp22820263p22820263.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] debugging an asp.net application.
I had checked into this a while ago too and the disappointing answer is "This isn't supported yet." It's a limitation in the Mono debugger. When the mono debugger supports debugging web apps, MonoDevelop will support this as well.. Mike Daniel Soto wrote: > Hello. > > I'm trying the new Monodevelop 2.0 and works very well. I only have a > doubt: How to debug an asp.net application in monodevelop? > > When I runs an asp.net app, the execution does not stop at the > breakpoint placed in a line of an aspx.cs codebehind. I set the project > options to Debug, not Release. > > In console, typing MONO_OPTIONS=--debug xsp2 enables to debug an aspx > page. But in Monodevelop where this is configured? There is a way to > configure monodevelop that runs xsp2 in debug mode? > > Thanks! > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] debugging an asp.net application.
Hello. I'm trying the new Monodevelop 2.0 and works very well. I only have a doubt: How to debug an asp.net application in monodevelop? When I runs an asp.net app, the execution does not stop at the breakpoint placed in a line of an aspx.cs codebehind. I set the project options to Debug, not Release. In console, typing MONO_OPTIONS=--debug xsp2 enables to debug an aspx page. But in Monodevelop where this is configured? There is a way to configure monodevelop that runs xsp2 in debug mode? Thanks! ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
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 +, ima...@comcast.net 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: ima...@comcast.net > > > To: "Daniel Soto" > > > Cc: mono-list@lists.ximian.com, "FlappySocks" > > > 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" > > > To: ima...@comcast.net > > > Cc: "FlappySocks" , mono-list@lists.ximian.com > > > 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 : > > > > > > > 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/
Re: [Mono-list] Debian support
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 +, ima...@comcast.net 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: ima...@comcast.net To: "Daniel Soto" Cc: mono-list@lists.ximian.com, "FlappySocks" 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" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : 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" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : 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/sbi
Re: [Mono-list] Debian support
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 +, ima...@comcast.net 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: ima...@comcast.net > To: "Daniel Soto" > Cc: mono-list@lists.ximian.com, "FlappySocks" > 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" > To: ima...@comcast.net > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : > > 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" > > To: ima...@comcast.net > > Cc: "FlappySocks" , mono-list@lists.ximian.com > > 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 : > >> 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
Re: [Mono-list] GSoC Proposal: PL/Mono
Please get the proposal on the gsoc site asap (google is pressuring us) even if its in draft form as the deadline is looming. This goes for all proposals. -g On 03/31/2009 06:23 PM, Olexandr Melnyk wrote: > Hello, > > my name is Olexandr Melnyk and I am a third-year Ukrainian student. I > would like to present my proposal for Summer of Code "PL/Mono: a > procedural language for PostgreSQL". The objective of my project is to > add support for writing PostgreSQL functions in managed languages. > PostgreSQL functions are often referred to as "stored procedures", but > apart from that usage they serve a broad range of purposes (eg. they > are also used for implementing triggers). > > So far I've found a couple of places, which I'm uncertain about and > would like to make clear before I submit an application. > > 1) I see three ways of specifying functions in CREATE FUNCTION statement: > - embedding C# code into the statement (PL/Python and PL/Perl do that): > CREATE FUNCTION SUM(INT) RETURNS INT > AS $$ > public static int Add(int x, int y) > { > return x + y; > } > $$ LANGUAGE PLMONO; > This approach is the easiest to use, but is C#-specific. And extra > (little) work is needed to add support for a new managed language. > > - by specifying an assembly filename and a fully qualified function name: > CREATE FUNCTION SUM(INT) RETURNS INT > AS 'Library1.dll:Namespace2.Class3.Function4' > LANGUAGE PLMONO; > Assemblies are searched in directories specified by a config variable, > or a full path should be provided. > > - by a fully qualified function name (this approach is taken by > PL/Java and is my personal favorite): > CREATE FUNCTION SUM(INT) RETURNS INT > AS 'Namespace1.Class2.Function3' > LANGUAGE PLMONO; > Functions are searched in assemblies from directories specified by a > config variable. > > 2) If we go with the approach 2 or 3, should all managed functions > exposed to PostgreSQL world be marked with some special attribute? For > example: > > public static class FunctionLibrary > { > [PostgresFunc] > public static int Add(int x, int y) > { > return x + y; > } > } > > Requiring an attribute would mean that functions can be used from SQL, > only if they were really intended for that. However, this would also > mean that to use a harmless function from standard namespaces (like > System.Math.Abs), one would need to make a wrapper. > > I have already briefly discussed my proposal on IRC, but would be glad > to get some more feedback. > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
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: ima...@comcast.net To: "Daniel Soto" Cc: mono-list@lists.ximian.com, "FlappySocks" 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" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : > 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" > To: ima...@comcast.net > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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" >> To: "Mike Christensen" >> Cc: "FlappySocks" , mono-list@lists.ximian.com >> 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
[Mono-list] Compiler Error Message: CS0433: The imported type `Master_user_master' is defined multiple times
Hi I have been looking on the forums for a specific resolution of this issue, so I appoligise if there is already one out there. I am trying to move my asp pages from ISS on Server 2003 to Appache on Fedora 10, however I have run into this issue (see attached), which I cannot seem to find a solution. I have tried adjusting the compilation assemblies in webconfig, but really I am unsure, if anyone has a resolution for this it will be much appreciated. thanks Johnny http://www.nabble.com/file/p22811033/Compilation%2BError.html Compilation+Error.html -- View this message in context: http://www.nabble.com/Compiler-Error-Message%3A-CS0433%3A-The-imported-type-%60Master_user_master%27-is-defined-multiple-times-tp22811033p22811033.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
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" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : > 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" > To: ima...@comcast.net > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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" >> To: "Mike Christensen" >> Cc: "FlappySocks" , mono-list@lists.ximian.com >> 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/ap
Re: [Mono-list] GSoC Proposal: PL/Mono
Hi, Olexandr Melnyk wrote: > - by specifying an assembly filename and a fully qualified function name: > CREATE FUNCTION SUM(INT) RETURNS INT > AS 'Library1.dll:Namespace2.Class3.Function4' Using some kind of assembly qualified name for the method would fit better in the .NET world: ... AS 'Namespace2.Class3:Function4, Library1.dll[[Version=...], PublicKey=...]]' > 2) If we go with the approach 2 or 3, should all managed functions > exposed to PostgreSQL world be marked with some special attribute? For > example: The attribute is superfluous because the assemblies must be already protected anyway, i.e. by loading them from a configured and trusted location only. > Requiring an attribute would mean that functions can be used from SQL, > only if they were really intended for that. However, this would also > mean that to use a harmless function from standard namespaces (like > System.Math.Abs), one would need to make a wrapper. I believe it's OK to force having wrappers for methods not declared in an assembly located in the trusted area. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
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 : > 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" > To: ima...@comcast.net > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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" >> To: "Mike Christensen" >> Cc: "FlappySocks" , mono-list@lists.ximian.com >> 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 : >>> 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
Re: [Mono-list] Debian support
You are welcome ;-) Make sure that /etc/apache2/mod_mono.conf file exists. If yes, only remains add some lines to apache2.conf file. Tell me if you need more help. Cheers. 2009/3/31 : > That was it, thanks! > > - Original Message - > From: "Daniel Soto" > To: ima...@comcast.net > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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" >> To: "Mike Christensen" >> Cc: "FlappySocks" , mono-list@lists.ximian.com >> 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 : >>> 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-l...@lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
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" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : > 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" > To: "Mike Christensen" > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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. >>> >> ___
Re: [Mono-list] Debian support
That was it, thanks! - Original Message - From: "Daniel Soto" To: ima...@comcast.net Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : > 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" > To: "Mike Christensen" > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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-l...@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] GSoC Proposal: PL/Mono
Hello, my name is Olexandr Melnyk and I am a third-year Ukrainian student. I would like to present my proposal for Summer of Code "PL/Mono: a procedural language for PostgreSQL". The objective of my project is to add support for writing PostgreSQL functions in managed languages. PostgreSQL functions are often referred to as "stored procedures", but apart from that usage they serve a broad range of purposes (eg. they are also used for implementing triggers). So far I've found a couple of places, which I'm uncertain about and would like to make clear before I submit an application. 1) I see three ways of specifying functions in CREATE FUNCTION statement: - embedding C# code into the statement (PL/Python and PL/Perl do that): CREATE FUNCTION SUM(INT) RETURNS INT AS $$ public static int Add(int x, int y) { return x + y; } $$ LANGUAGE PLMONO; This approach is the easiest to use, but is C#-specific. And extra (little) work is needed to add support for a new managed language. - by specifying an assembly filename and a fully qualified function name: CREATE FUNCTION SUM(INT) RETURNS INT AS 'Library1.dll:Namespace2.Class3.Function4' LANGUAGE PLMONO; Assemblies are searched in directories specified by a config variable, or a full path should be provided. - by a fully qualified function name (this approach is taken by PL/Java and is my personal favorite): CREATE FUNCTION SUM(INT) RETURNS INT AS 'Namespace1.Class2.Function3' LANGUAGE PLMONO; Functions are searched in assemblies from directories specified by a config variable. 2) If we go with the approach 2 or 3, should all managed functions exposed to PostgreSQL world be marked with some special attribute? For example: public static class FunctionLibrary { [PostgresFunc] public static int Add(int x, int y) { return x + y; } } Requiring an attribute would mean that functions can be used from SQL, only if they were really intended for that. However, this would also mean that to use a harmless function from standard namespaces (like System.Math.Abs), one would need to make a wrapper. I have already briefly discussed my proposal on IRC, but would be glad to get some more feedback. -- Sincerely yours, Olexandr Melnyk http://omelnyk.net/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Did you installed apache2-threaded-dev? 2009/3/31 : > 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" > To: "Mike Christensen" > Cc: "FlappySocks" , mono-list@lists.ximian.com > 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 : >> 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-l...@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
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" To: "Mike Christensen" Cc: "FlappySocks" , mono-list@lists.ximian.com 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 : > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
No problem, I got Mono to build.. Gonna go build xsp/mod-mono/etc now.. I'm not worried about MonoDevelop since I'm command line only and I prefer VS anyway (No offense to the MonoDevelop guys, I'll switch as soon as debugging web apps is supported).. I'll let you know how it goes.. Mike - Original Message - From: "Daniel Soto" To: ima...@comcast.net Cc: "Chris Howie" , mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 2:27:31 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support Yeah, in my case I also got all these errors, but I did not remember that they were so many. What it happens is that I did these steps so "automatically". Anyway, it's a good way to learn how to build Mono from sources. By the way, building Mono will shows similar messages. Also Monodevelop. Unfortunately, I'm not in my laptop at this moment to give you more help. 2009/3/31 : > I think the saying is "trial and error" :) > > > > Yeah that's basically what I'm doing, it seems this hasn't really been > documented very thoroughly. The problem is most of you Mono guys (no > offense) have probably had these computers sitting around for years, work on > all sorts of projects and have all the common libraries already installed. > A newcomer who is just setting up a Linux box will find himself totally > lost, especially if they're not very familiar with building on Linux. > > > > What I'm trying to create is a step by step manual for exactly how to build > and install Mono for someone who isn't very familiar with building code on > Linux and UNIX commands.. > > > > Mike > > - Original Message - > From: "Daniel Soto" > To: ima...@comcast.net > Cc: "Chris Howie" , mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 2:07:59 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > Yes, the "try and error" method is perfectly applied to this case (I > don't know if method name is well in english :-) ) > > I also did in that way. > > Surely, when you build Mono also you will get similar errors. > > Be ready :-) > > 2009/3/31 : >> Okay I'm pretty sure this is the definitive list of everything required to >> build libgdiplus on Ubuntu: >> >> >> >> apt-get install libglib2.0-0 libglib2.0-dev >> apt-get install libpng12-dev >> apt-get install libx11-dev >> apt-get install libfontconfig1-dev >> apt-get install libfreetype6-dev >> >> (Yes, I know I can do that all on one line) >> >> >> >> On to the next step >> >> >> >> Mike >> >> - Original Message - >> From: "Daniel Soto" >> To: ima...@comcast.net >> Cc: "Chris Howie" , mono-list@lists.ximian.com >> Sent: Tuesday, March 31, 2009 1:51:39 PM GMT -08:00 US/Canada Pacific >> Subject: Re: [Mono-list] Debian support >> >> It's the same case as libglib-2.0-dev, you must to install >> libpng-1.2-dev. Libgdiplus (the library that you are trying to build) >> is a library to implement System.Drawing, and you need support to many >> graphic formats, that's the reason why you need glib, libpng, libgif >> and others. >> >> Again, I don't remember the exact name of the package. >> >> In this errors, when missing libraries, you need to install >> [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as >> general rule). >> >> Don't afraid to search for development packages when building (they >> are named with -dev suffix). >> >> Let us know if you have luck. >> >> >> 2009/3/31 : >>> This works: >>> >>> >>> >>> apt-get install libglib2.0-0 libglib2.0-dev >>> >>> >>> >>> Now I'm getting the following error: >>> >>> >>> >>> checking for png_read_info in -lpng... no >>> configure: error: *** libpng12 not found. See >>> http://www.libpng.org/pub/png/libpng.html. >>> >>> - Original Message - >>> From: "Chris Howie" >>> To: ima...@comcast.net >>> Cc: mono-list@lists.ximian.com >>> Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific >>> Subject: Re: [Mono-list] Debian support >>> >>> 2009/3/31 : Nope, no results :( >>> >>> He meant "glib2.0". You may not be using network repositories. Check >>> your /etc/apt/sources.list >>> >>> -- >>> Chris Howie >>> http://www.chrishowie.com >>> http://en.wikipedia.org/wiki/User:Crazycomputers >>> >>> ___ >>> Mono-list maillist - mono-l...@lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >>> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Yeah, in my case I also got all these errors, but I did not remember that they were so many. What it happens is that I did these steps so "automatically". Anyway, it's a good way to learn how to build Mono from sources. By the way, building Mono will shows similar messages. Also Monodevelop. Unfortunately, I'm not in my laptop at this moment to give you more help. 2009/3/31 : > I think the saying is "trial and error" :) > > > > Yeah that's basically what I'm doing, it seems this hasn't really been > documented very thoroughly. The problem is most of you Mono guys (no > offense) have probably had these computers sitting around for years, work on > all sorts of projects and have all the common libraries already installed. > A newcomer who is just setting up a Linux box will find himself totally > lost, especially if they're not very familiar with building on Linux. > > > > What I'm trying to create is a step by step manual for exactly how to build > and install Mono for someone who isn't very familiar with building code on > Linux and UNIX commands.. > > > > Mike > > - Original Message - > From: "Daniel Soto" > To: ima...@comcast.net > Cc: "Chris Howie" , mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 2:07:59 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > Yes, the "try and error" method is perfectly applied to this case (I > don't know if method name is well in english :-) ) > > I also did in that way. > > Surely, when you build Mono also you will get similar errors. > > Be ready :-) > > 2009/3/31 : >> Okay I'm pretty sure this is the definitive list of everything required to >> build libgdiplus on Ubuntu: >> >> >> >> apt-get install libglib2.0-0 libglib2.0-dev >> apt-get install libpng12-dev >> apt-get install libx11-dev >> apt-get install libfontconfig1-dev >> apt-get install libfreetype6-dev >> >> (Yes, I know I can do that all on one line) >> >> >> >> On to the next step >> >> >> >> Mike >> >> - Original Message - >> From: "Daniel Soto" >> To: ima...@comcast.net >> Cc: "Chris Howie" , mono-list@lists.ximian.com >> Sent: Tuesday, March 31, 2009 1:51:39 PM GMT -08:00 US/Canada Pacific >> Subject: Re: [Mono-list] Debian support >> >> It's the same case as libglib-2.0-dev, you must to install >> libpng-1.2-dev. Libgdiplus (the library that you are trying to build) >> is a library to implement System.Drawing, and you need support to many >> graphic formats, that's the reason why you need glib, libpng, libgif >> and others. >> >> Again, I don't remember the exact name of the package. >> >> In this errors, when missing libraries, you need to install >> [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as >> general rule). >> >> Don't afraid to search for development packages when building (they >> are named with -dev suffix). >> >> Let us know if you have luck. >> >> >> 2009/3/31 : >>> This works: >>> >>> >>> >>> apt-get install libglib2.0-0 libglib2.0-dev >>> >>> >>> >>> Now I'm getting the following error: >>> >>> >>> >>> checking for png_read_info in -lpng... no >>> configure: error: *** libpng12 not found. See >>> http://www.libpng.org/pub/png/libpng.html. >>> >>> - Original Message - >>> From: "Chris Howie" >>> To: ima...@comcast.net >>> Cc: mono-list@lists.ximian.com >>> Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific >>> Subject: Re: [Mono-list] Debian support >>> >>> 2009/3/31 : Nope, no results :( >>> >>> He meant "glib2.0". You may not be using network repositories. Check >>> your /etc/apt/sources.list >>> >>> -- >>> Chris Howie >>> http://www.chrishowie.com >>> http://en.wikipedia.org/wiki/User:Crazycomputers >>> >>> ___ >>> Mono-list maillist - mono-l...@lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >>> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I think the saying is "trial and error" :) Yeah that's basically what I'm doing, it seems this hasn't really been documented very thoroughly. The problem is most of you Mono guys (no offense) have probably had these computers sitting around for years, work on all sorts of projects and have all the common libraries already installed. A newcomer who is just setting up a Linux box will find himself totally lost, especially if they're not very familiar with building on Linux. What I'm trying to create is a step by step manual for exactly how to build and install Mono for someone who isn't very familiar with building code on Linux and UNIX commands.. Mike - Original Message - From: "Daniel Soto" To: ima...@comcast.net Cc: "Chris Howie" , mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 2:07:59 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support Yes, the "try and error" method is perfectly applied to this case (I don't know if method name is well in english :-) ) I also did in that way. Surely, when you build Mono also you will get similar errors. Be ready :-) 2009/3/31 : > Okay I'm pretty sure this is the definitive list of everything required to > build libgdiplus on Ubuntu: > > > > apt-get install libglib2.0-0 libglib2.0-dev > apt-get install libpng12-dev > apt-get install libx11-dev > apt-get install libfontconfig1-dev > apt-get install libfreetype6-dev > > (Yes, I know I can do that all on one line) > > > > On to the next step > > > > Mike > > - Original Message - > From: "Daniel Soto" > To: ima...@comcast.net > Cc: "Chris Howie" , mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 1:51:39 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > It's the same case as libglib-2.0-dev, you must to install > libpng-1.2-dev. Libgdiplus (the library that you are trying to build) > is a library to implement System.Drawing, and you need support to many > graphic formats, that's the reason why you need glib, libpng, libgif > and others. > > Again, I don't remember the exact name of the package. > > In this errors, when missing libraries, you need to install > [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as > general rule). > > Don't afraid to search for development packages when building (they > are named with -dev suffix). > > Let us know if you have luck. > > > 2009/3/31 : >> This works: >> >> >> >> apt-get install libglib2.0-0 libglib2.0-dev >> >> >> >> Now I'm getting the following error: >> >> >> >> checking for png_read_info in -lpng... no >> configure: error: *** libpng12 not found. See >> http://www.libpng.org/pub/png/libpng.html. >> >> - Original Message - >> From: "Chris Howie" >> To: ima...@comcast.net >> Cc: mono-list@lists.ximian.com >> Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific >> Subject: Re: [Mono-list] Debian support >> >> 2009/3/31 : >>> Nope, no results :( >> >> He meant "glib2.0". You may not be using network repositories. Check >> your /etc/apt/sources.list >> >> -- >> Chris Howie >> http://www.chrishowie.com >> http://en.wikipedia.org/wiki/User:Crazycomputers >> >> ___ >> Mono-list maillist - mono-l...@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Yes, the "try and error" method is perfectly applied to this case (I don't know if method name is well in english :-) ) I also did in that way. Surely, when you build Mono also you will get similar errors. Be ready :-) 2009/3/31 : > Okay I'm pretty sure this is the definitive list of everything required to > build libgdiplus on Ubuntu: > > > > apt-get install libglib2.0-0 libglib2.0-dev > apt-get install libpng12-dev > apt-get install libx11-dev > apt-get install libfontconfig1-dev > apt-get install libfreetype6-dev > > (Yes, I know I can do that all on one line) > > > > On to the next step > > > > Mike > > - Original Message - > From: "Daniel Soto" > To: ima...@comcast.net > Cc: "Chris Howie" , mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 1:51:39 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > It's the same case as libglib-2.0-dev, you must to install > libpng-1.2-dev. Libgdiplus (the library that you are trying to build) > is a library to implement System.Drawing, and you need support to many > graphic formats, that's the reason why you need glib, libpng, libgif > and others. > > Again, I don't remember the exact name of the package. > > In this errors, when missing libraries, you need to install > [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as > general rule). > > Don't afraid to search for development packages when building (they > are named with -dev suffix). > > Let us know if you have luck. > > > 2009/3/31 : >> This works: >> >> >> >> apt-get install libglib2.0-0 libglib2.0-dev >> >> >> >> Now I'm getting the following error: >> >> >> >> checking for png_read_info in -lpng... no >> configure: error: *** libpng12 not found. See >> http://www.libpng.org/pub/png/libpng.html. >> >> - Original Message - >> From: "Chris Howie" >> To: ima...@comcast.net >> Cc: mono-list@lists.ximian.com >> Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific >> Subject: Re: [Mono-list] Debian support >> >> 2009/3/31 : >>> Nope, no results :( >> >> He meant "glib2.0". You may not be using network repositories. Check >> your /etc/apt/sources.list >> >> -- >> Chris Howie >> http://www.chrishowie.com >> http://en.wikipedia.org/wiki/User:Crazycomputers >> >> ___ >> Mono-list maillist - mono-l...@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
2009/3/31 Andreas Färber : > Ubuntu is derived from Debian and uses the same package names. Not in every case. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Ubuntu is derived from Debian and uses the same package names. http://packages.ubuntu.com/intrepid/libglib2.0-dev Andreas Am 31.03.2009 um 22:02 schrieb Mike Christensen: Ubuntu 8.10 Server i386. I guess they no longer have libglib2.0-dev available through Synaptic. Can someone provide steps to manually install this and/or build this? Thanks! Mike Daniel Soto wrote: By the way... which distribution are you using? Ubuntu? or some flavour of Debian? 2009/3/31 Andreas Färber : Hi, Am 31.03.2009 um 21:35 schrieb Mike Christensen: I get: r...@mono24:~# apt-get install libglib-2.0-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libglib-2.0-dev If I do: apt-cache pkgnames glib I get: r...@mono24:~# apt-cache pkgnames glib glibc-pic glib-java glibc-2.7-1 glibc-doc-reference glibc-doc glibc-source Are any of these what I need? No, you need "libglib2.0-dev". Check packages.debian.org for further missing packages if you can't use a graphical tool like Synaptic. http://packages.debian.org/lenny/libglib2.0-dev Andreas Daniel Soto wrote: I recommend to you search for glib using Synaptic. I not remember the name of these package and his exact name. The name is not "glib-2.0" exactly, I believe (if my memory does not fail :-) ) that it is "libglib-2.0-dev". The most problems related to missing libraries when building, are solved searching for "foolib-dev" as Abe says. 2009/3/31 Daniel Soto : A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]- dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./ configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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
Re: [Mono-list] Debian support
Okay I'm pretty sure this is the definitive list of everything required to build libgdiplus on Ubuntu: apt-get install libglib2.0-0 libglib2.0-dev apt-get install libpng12-dev apt-get install libx11-dev apt-get install libfontconfig1-dev apt-get install libfreetype6-dev (Yes, I know I can do that all on one line) On to the next step Mike - Original Message - From: "Daniel Soto" To: ima...@comcast.net Cc: "Chris Howie" , mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:51:39 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support It's the same case as libglib-2.0-dev, you must to install libpng-1.2-dev. Libgdiplus (the library that you are trying to build) is a library to implement System.Drawing, and you need support to many graphic formats, that's the reason why you need glib, libpng, libgif and others. Again, I don't remember the exact name of the package. In this errors, when missing libraries, you need to install [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as general rule). Don't afraid to search for development packages when building (they are named with -dev suffix). Let us know if you have luck. 2009/3/31 : > This works: > > > > apt-get install libglib2.0-0 libglib2.0-dev > > > > Now I'm getting the following error: > > > > checking for png_read_info in -lpng... no > configure: error: *** libpng12 not found. See > http://www.libpng.org/pub/png/libpng.html. > > - Original Message - > From: "Chris Howie" > To: ima...@comcast.net > Cc: mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > 2009/3/31 : >> Nope, no results :( > > He meant "glib2.0". You may not be using network repositories. Check > your /etc/apt/sources.list > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > > ___ > Mono-list maillist - mono-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
It's the same case as libglib-2.0-dev, you must to install libpng-1.2-dev. Libgdiplus (the library that you are trying to build) is a library to implement System.Drawing, and you need support to many graphic formats, that's the reason why you need glib, libpng, libgif and others. Again, I don't remember the exact name of the package. In this errors, when missing libraries, you need to install [package_name]-[version]-dev package (Or, as Abe says, "foolib-dev" as general rule). Don't afraid to search for development packages when building (they are named with -dev suffix). Let us know if you have luck. 2009/3/31 : > This works: > > > > apt-get install libglib2.0-0 libglib2.0-dev > > > > Now I'm getting the following error: > > > > checking for png_read_info in -lpng... no > configure: error: *** libpng12 not found. See > http://www.libpng.org/pub/png/libpng.html. > > - Original Message - > From: "Chris Howie" > To: ima...@comcast.net > Cc: mono-list@lists.ximian.com > Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific > Subject: Re: [Mono-list] Debian support > > 2009/3/31 : >> Nope, no results :( > > He meant "glib2.0". You may not be using network repositories. Check > your /etc/apt/sources.list > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > > ___ > Mono-list maillist - mono-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I did a: apt-get install libx11-dev Now the error is: configure: error: Cairo requires at least one font backend. Please install freetype and fontconfig, then try again: http://freetype.org/ http://fontconfig.org/ configure: error: ./configure failed for cairo I can't find any packages with freetype or fontconfig. - Original Message - From: ima...@comcast.net To: "Chris Howie" Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:45:31 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support After installing libpng12-dev, I now get: configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths" Quick question, when I'm ./configure'ing libgdiplus, do I need any arguments or can I just type ./configure - Original Message - From: ima...@comcast.net To: "Chris Howie" Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:41:02 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support This works: apt-get install libglib2.0-0 libglib2.0-dev Now I'm getting the following error: checking for png_read_info in -lpng... no configure: error: *** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html . - Original Message - From: "Chris Howie" To: ima...@comcast.net Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support 2009/3/31 : > Nope, no results :( He meant "glib2.0". You may not be using network repositories. Check your /etc/apt/sources.list -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
After installing libpng12-dev, I now get: configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths" Quick question, when I'm ./configure'ing libgdiplus, do I need any arguments or can I just type ./configure - Original Message - From: ima...@comcast.net To: "Chris Howie" Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:41:02 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support This works: apt-get install libglib2.0-0 libglib2.0-dev Now I'm getting the following error: checking for png_read_info in -lpng... no configure: error: *** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html . - Original Message - From: "Chris Howie" To: ima...@comcast.net Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support 2009/3/31 : > Nope, no results :( He meant "glib2.0". You may not be using network repositories. Check your /etc/apt/sources.list -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
2009/3/31 : > Nope, no results :( He meant "glib2.0". You may not be using network repositories. Check your /etc/apt/sources.list -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
This works: apt-get install libglib2.0-0 libglib2.0-dev Now I'm getting the following error: checking for png_read_info in -lpng... no configure: error: *** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html . - Original Message - From: "Chris Howie" To: ima...@comcast.net Cc: mono-list@lists.ximian.com Sent: Tuesday, March 31, 2009 1:35:12 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support 2009/3/31 : > Nope, no results :( He meant "glib2.0". You may not be using network repositories. Check your /etc/apt/sources.list -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Nope, no results :( - Original Message - From: "Jeffrey Stedfast" To: "Mike Christensen" Cc: "Daniel Soto" , mono-list@lists.ximian.com, "FlappySocks" Sent: Tuesday, March 31, 2009 1:07:56 PM GMT -08:00 US/Canada Pacific Subject: Re: [Mono-list] Debian support No. Try apt-cache search glib-2.0 > > Daniel Soto wrote: >> I recommend to you search for glib using Synaptic. I not remember the >> name of these package and his exact name. The name is not "glib-2.0" >> exactly, I believe (if my memory does not fail :-) ) that it is >> "libglib-2.0-dev". >> >> The most problems related to missing libraries when building, are >> solved searching for "foolib-dev" as Abe says. >> >> 2009/3/31 Daniel Soto : >> >>> A general rule if you get some error related to a missing library when >>> you building, it's to install a package with name [package_name]-dev, >>> pay attention to the "-dev" suffix. >>> >>> 2009/3/31 Daniel Soto : >>> I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : > Ok here's my "Total friggen moron's guide to installing Mono 2.4 on > Ubuntu > Server" so far: > > -) Logon to machine > -) At bash prompt, type: sudo bash > -) Enter password, you should now be root. > -) Type: apt-get install gcc (this will install C compilers) > -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) > -) Type: apt-get install bison (should only take a few seconds to > install) > -) Type: wget > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 > -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ > directory > -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar > file > into its own directory) > -) You should now have a directory called libgdiplus-2.4 > -) Type: cd libgdiplus-2.4/ > -) Type: ./configure > > Right now the error is: > > No package 'glib-2.0' found > > Should I apt-get install this from somewhere, or is there another tar > file I > need to decompress and build? Thanks!! > > Mike > > Mike Christensen wrote: > > Hi - After decompressing the libgdiplus-2.4.tar file and running > ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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
Re: [Mono-list] Debian support
Mike Christensen wrote: > I get: > > r...@mono24:~# apt-get install libglib-2.0-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Couldn't find package libglib-2.0-dev > > If I do: apt-cache pkgnames glib I get: > > r...@mono24:~# apt-cache pkgnames glib > glibc-pic > glib-java > glibc-2.7-1 > glibc-doc-reference > glibc-doc > glibc-source > > Are any of these what I need? No. Try apt-cache search glib-2.0 > > Daniel Soto wrote: >> I recommend to you search for glib using Synaptic. I not remember the >> name of these package and his exact name. The name is not "glib-2.0" >> exactly, I believe (if my memory does not fail :-) ) that it is >> "libglib-2.0-dev". >> >> The most problems related to missing libraries when building, are >> solved searching for "foolib-dev" as Abe says. >> >> 2009/3/31 Daniel Soto : >> >>> A general rule if you get some error related to a missing library when >>> you building, it's to install a package with name [package_name]-dev, >>> pay attention to the "-dev" suffix. >>> >>> 2009/3/31 Daniel Soto : >>> I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : > Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu > Server" so far: > > -) Logon to machine > -) At bash prompt, type: sudo bash > -) Enter password, you should now be root. > -) Type: apt-get install gcc (this will install C compilers) > -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) > -) Type: apt-get install bison (should only take a few seconds to install) > -) Type: wget > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 > -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory > -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar > file > into its own directory) > -) You should now have a directory called libgdiplus-2.4 > -) Type: cd libgdiplus-2.4/ > -) Type: ./configure > > Right now the error is: > > No package 'glib-2.0' found > > Should I apt-get install this from somewhere, or is there another tar > file I > need to decompress and build? Thanks!! > > Mike > > Mike Christensen wrote: > > Hi - After decompressing the libgdiplus-2.4.tar file and running > ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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, a
Re: [Mono-list] Debian support
Ubuntu 8.10 Server i386. I guess they no longer have libglib2.0-dev available through Synaptic. Can someone provide steps to manually install this and/or build this? Thanks! Mike Daniel Soto wrote: By the way... which distribution are you using? Ubuntu? or some flavour of Debian? 2009/3/31 Andreas Färber : Hi, Am 31.03.2009 um 21:35 schrieb Mike Christensen: I get: r...@mono24:~# apt-get install libglib-2.0-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libglib-2.0-dev If I do: apt-cache pkgnames glib I get: r...@mono24:~# apt-cache pkgnames glib glibc-pic glib-java glibc-2.7-1 glibc-doc-reference glibc-doc glibc-source Are any of these what I need? No, you need "libglib2.0-dev". Check packages.debian.org for further missing packages if you can't use a graphical tool like Synaptic. http://packages.debian.org/lenny/libglib2.0-dev Andreas Daniel Soto wrote: I recommend to you search for glib using Synaptic. I not remember the name of these package and his exact name. The name is not "glib-2.0" exactly, I believe (if my memory does not fail :-) ) that it is "libglib-2.0-dev". The most problems related to missing libraries when building, are solved searching for "foolib-dev" as Abe says. 2009/3/31 Daniel Soto : A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]-dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.xim
Re: [Mono-list] Debian support
By the way... which distribution are you using? Ubuntu? or some flavour of Debian? 2009/3/31 Andreas Färber : > Hi, > Am 31.03.2009 um 21:35 schrieb Mike Christensen: > > I get: > > r...@mono24:~# apt-get install libglib-2.0-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Couldn't find package libglib-2.0-dev > > If I do: apt-cache pkgnames glib I get: > > r...@mono24:~# apt-cache pkgnames glib > glibc-pic > glib-java > glibc-2.7-1 > glibc-doc-reference > glibc-doc > glibc-source > > Are any of these what I need? > > No, you need "libglib2.0-dev". Check packages.debian.org for further missing > packages if you can't use a graphical tool like Synaptic. > http://packages.debian.org/lenny/libglib2.0-dev > Andreas > > > Daniel Soto wrote: > > I recommend to you search for glib using Synaptic. I not remember the > name of these package and his exact name. The name is not "glib-2.0" > exactly, I believe (if my memory does not fail :-) ) that it is > "libglib-2.0-dev". > > The most problems related to missing libraries when building, are > solved searching for "foolib-dev" as Abe says. > > 2009/3/31 Daniel Soto : > > > A general rule if you get some error related to a missing library when > you building, it's to install a package with name [package_name]-dev, > pay attention to the "-dev" suffix. > > 2009/3/31 Daniel Soto : > > > I remember that to install glib-2.0, I installed libglib-2.0-dev > package. Install it using Synaptic, it's the better way to search it > (I not remember the exact name of these package). > > Let me know if you have luck. > > 2009/3/31 Mike Christensen : > > > Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu > Server" so far: > > -) Logon to machine > -) At bash prompt, type: sudo bash > -) Enter password, you should now be root. > -) Type: apt-get install gcc (this will install C compilers) > -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) > -) Type: apt-get install bison (should only take a few seconds to install) > -) Type: wget > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 > -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory > -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file > into its own directory) > -) You should now have a directory called libgdiplus-2.4 > -) Type: cd libgdiplus-2.4/ > -) Type: ./configure > > Right now the error is: > > No package 'glib-2.0' found > > Should I apt-get install this from somewhere, or is there another tar file I > need to decompress and build? Thanks!! > > Mike > > Mike Christensen wrote: > > Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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. > > > > __
Re: [Mono-list] Debian support
Hi, Am 31.03.2009 um 21:35 schrieb Mike Christensen: I get: r...@mono24:~# apt-get install libglib-2.0-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libglib-2.0-dev If I do: apt-cache pkgnames glib I get: r...@mono24:~# apt-cache pkgnames glib glibc-pic glib-java glibc-2.7-1 glibc-doc-reference glibc-doc glibc-source Are any of these what I need? No, you need "libglib2.0-dev". Check packages.debian.org for further missing packages if you can't use a graphical tool like Synaptic. http://packages.debian.org/lenny/libglib2.0-dev Andreas Daniel Soto wrote: I recommend to you search for glib using Synaptic. I not remember the name of these package and his exact name. The name is not "glib-2.0" exactly, I believe (if my memory does not fail :-) ) that it is "libglib-2.0-dev". The most problems related to missing libraries when building, are solved searching for "foolib-dev" as Abe says. 2009/3/31 Daniel Soto : A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]- dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono
Re: [Mono-list] Debian support
I get: r...@mono24:~# apt-get install libglib-2.0-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libglib-2.0-dev If I do: apt-cache pkgnames glib I get: r...@mono24:~# apt-cache pkgnames glib glibc-pic glib-java glibc-2.7-1 glibc-doc-reference glibc-doc glibc-source Are any of these what I need? Daniel Soto wrote: I recommend to you search for glib using Synaptic. I not remember the name of these package and his exact name. The name is not "glib-2.0" exactly, I believe (if my memory does not fail :-) ) that it is "libglib-2.0-dev". The most problems related to missing libraries when building, are solved searching for "foolib-dev" as Abe says. 2009/3/31 Daniel Soto : A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]-dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I recommend to you search for glib using Synaptic. I not remember the name of these package and his exact name. The name is not "glib-2.0" exactly, I believe (if my memory does not fail :-) ) that it is "libglib-2.0-dev". The most problems related to missing libraries when building, are solved searching for "foolib-dev" as Abe says. 2009/3/31 Daniel Soto : > A general rule if you get some error related to a missing library when > you building, it's to install a package with name [package_name]-dev, > pay attention to the "-dev" suffix. > > 2009/3/31 Daniel Soto : >> I remember that to install glib-2.0, I installed libglib-2.0-dev >> package. Install it using Synaptic, it's the better way to search it >> (I not remember the exact name of these package). >> >> Let me know if you have luck. >> >> 2009/3/31 Mike Christensen : >>> Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu >>> Server" so far: >>> >>> -) Logon to machine >>> -) At bash prompt, type: sudo bash >>> -) Enter password, you should now be root. >>> -) Type: apt-get install gcc (this will install C compilers) >>> -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) >>> -) Type: apt-get install bison (should only take a few seconds to install) >>> -) Type: wget >>> http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 >>> -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory >>> -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file >>> into its own directory) >>> -) You should now have a directory called libgdiplus-2.4 >>> -) Type: cd libgdiplus-2.4/ >>> -) Type: ./configure >>> >>> Right now the error is: >>> >>> No package 'glib-2.0' found >>> >>> Should I apt-get install this from somewhere, or is there another tar file I >>> need to decompress and build? Thanks!! >>> >>> Mike >>> >>> Mike Christensen wrote: >>> >>> Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure >>> I get the error: >>> >>> configure: error: no acceptable C compiler found in $PATH >>> >>> 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 : >>> >>> >>> 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-l...@lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >>> >>> >>> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Mike Christensen skrev: > I've tried: > > apt-get install libglib-2.0-dev > > and get: > > E: Couldn't find package libglib-2.0-dev > > Is version 2.0 obsolete now? How do I do a wildcard search for packages > to install with the word "glib" in them? sudo apt-cache search glib /R ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I've tried: apt-get install libglib-2.0-dev and get: E: Couldn't find package libglib-2.0-dev Is version 2.0 obsolete now? How do I do a wildcard search for packages to install with the word "glib" in them? Mike Daniel Soto wrote: A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]-dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Automated mono svn builds
I just hacked together a script to build mono (and all the packages all the way up to monodevelop) from svn. It can be run repeatedly to do incremental builds (in fact that's the whole point of it). I'm sure people are sitting on better solutions than this, but since I haven't seen any advertised on the mono website, I thought I'd mention it here since there are people asking about it. Here it is: http://www.matusiak.eu/numerodix/blog/index.php/2009/03/31/emerge-mono-svn/ And now for a word of warning. If you're not using a package manger to resolve all the dependencies involved you will have to do that yourself. It's not terribly difficult, however. If you get a message like “You need package Hello” then you will probably find a package called libhello-dev (or something like that) in your package manager. However, the specifics depend on your distro, its version and all that stuff. Martin ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
A general rule if you get some error related to a missing library when you building, it's to install a package with name [package_name]-dev, pay attention to the "-dev" suffix. 2009/3/31 Daniel Soto : > I remember that to install glib-2.0, I installed libglib-2.0-dev > package. Install it using Synaptic, it's the better way to search it > (I not remember the exact name of these package). > > Let me know if you have luck. > > 2009/3/31 Mike Christensen : >> Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu >> Server" so far: >> >> -) Logon to machine >> -) At bash prompt, type: sudo bash >> -) Enter password, you should now be root. >> -) Type: apt-get install gcc (this will install C compilers) >> -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) >> -) Type: apt-get install bison (should only take a few seconds to install) >> -) Type: wget >> http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 >> -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory >> -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file >> into its own directory) >> -) You should now have a directory called libgdiplus-2.4 >> -) Type: cd libgdiplus-2.4/ >> -) Type: ./configure >> >> Right now the error is: >> >> No package 'glib-2.0' found >> >> Should I apt-get install this from somewhere, or is there another tar file I >> need to decompress and build? Thanks!! >> >> Mike >> >> Mike Christensen wrote: >> >> Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure >> I get the error: >> >> configure: error: no acceptable C compiler found in $PATH >> >> 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 : >> >> >> 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-l...@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> >> >> > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
When compiling something from source the dependency libs AND their dev counterparts must be installed. For instance: apt-get install foolib apt-get install foolib-dev -Abe 2009/3/31 Mike Christensen : > Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu > Server" so far: > > -) Logon to machine > -) At bash prompt, type: sudo bash > -) Enter password, you should now be root. > -) Type: apt-get install gcc (this will install C compilers) > -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) > -) Type: apt-get install bison (should only take a few seconds to install) > -) Type: wget > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 > -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory > -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file > into its own directory) > -) You should now have a directory called libgdiplus-2.4 > -) Type: cd libgdiplus-2.4/ > -) Type: ./configure > > Right now the error is: > > No package 'glib-2.0' found > > Should I apt-get install this from somewhere, or is there another tar file I > need to decompress and build? Thanks!! > > Mike > > Mike Christensen wrote: > > Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > ___ > Mono-list maillist - mono-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I remember that to install glib-2.0, I installed libglib-2.0-dev package. Install it using Synaptic, it's the better way to search it (I not remember the exact name of these package). Let me know if you have luck. 2009/3/31 Mike Christensen : > Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu > Server" so far: > > -) Logon to machine > -) At bash prompt, type: sudo bash > -) Enter password, you should now be root. > -) Type: apt-get install gcc (this will install C compilers) > -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) > -) Type: apt-get install bison (should only take a few seconds to install) > -) Type: wget > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 > -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory > -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file > into its own directory) > -) You should now have a directory called libgdiplus-2.4 > -) Type: cd libgdiplus-2.4/ > -) Type: ./configure > > Right now the error is: > > No package 'glib-2.0' found > > Should I apt-get install this from somewhere, or is there another tar file I > need to decompress and build? Thanks!! > > Mike > > Mike Christensen wrote: > > Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Ok here's my "Total friggen moron's guide to installing Mono 2.4 on Ubuntu Server" so far: -) Logon to machine -) At bash prompt, type: sudo bash -) Enter password, you should now be root. -) Type: apt-get install gcc (this will install C compilers) -) Type: apt-get install pkg-config (this is a dependency for libgdiplus) -) Type: apt-get install bison (should only take a few seconds to install) -) Type: wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2 -) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory -) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file into its own directory) -) You should now have a directory called libgdiplus-2.4 -) Type: cd libgdiplus-2.4/ -) Type: ./configure Right now the error is: No package 'glib-2.0' found Should I apt-get install this from somewhere, or is there another tar file I need to decompress and build? Thanks!! Mike Mike Christensen wrote: Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Have you installed build-essential? sudo apt-get install build-essential I get the same error. 2009/3/31 Mike Christensen : > Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure > I get the error: > > configure: error: no acceptable C compiler found in $PATH > > 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 : > > > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure I get the error: configure: error: no acceptable C compiler found in $PATH 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
2009/3/31 Mike Christensen : > 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 : > > > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
Just to clarify a few points: 1) Are you downloading Mono tar files or using svn to checkout the source? Does it really matter? 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? 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. 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. 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. 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 : 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
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 : > 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-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I'm with Mike on that one. Would love to see a detailed howto, having had some earlier mishaps trying to build on Ubuntu in the past. /Casper 2009/3/31 Mike Christensen > 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@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Announcing the release of Mono 2.4...
Congrats, team. Truly amazing work! On Tue, Mar 31, 2009 at 11:32 AM, Thomas Wiest wrote: > Today we're announcing the immediate release of Mono 2.4. > > The release notes are here: > > http://www.mono-project.com/Release_Notes_Mono_2.4 > > and downloads are available here: > > http://www.mono-project.com/Downloads > > Thanks to all those who contributed to this release! :) > > Thomas > > ___ > Mono-list maillist - mono-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Announcing the release of Mono 2.4...
Today we're announcing the immediate release of Mono 2.4. The release notes are here: http://www.mono-project.com/Release_Notes_Mono_2.4 and downloads are available here: http://www.mono-project.com/Downloads Thanks to all those who contributed to this release! :) Thomas ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
On Sun, Mar 29, 2009 at 3:43 PM, Jorge Bastos wrote: > That depends. > Which Debian is it using? > > On SID it has the latest. No, it does not. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
El mar, 31-03-2009 a las 03:20 -0700, FlappySocks escribió: > I have just compiled mono 2.4 on Ubuntu, with no problems. Fantastic. Well > done mono. Yeah. Although there not is official packages for Debian and Ubuntu, compiling Mono from sources in Debian/Ubuntu isn't hard. Only Monodevelop is a "bit" more difficult, but neither is too hard. Just now, I finished compiling Monodevelop 2.0!! Congrats Mono and Monodevelop team!! ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debian support
I have just compiled mono 2.4 on Ubuntu, with no problems. Fantastic. Well done mono. -- View this message in context: http://www.nabble.com/Debian-support-tp22659654p22802257.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] XSP Compilation Error
Hello, Yesterday I installed Mono and XSP 2.4 from SVN (after Miguel announced mono 2.4). Today I got this error while accessing a page: Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: CS0006: cannot find metadata file `/tmp/root-temp-aspnet-0/6f3f8f0/App_global.asax.601c5071.dll' /Admin/default.aspx Show Detailed Compiler Output: gmcs /target:library /debug- /optimize+ /warn:0 /out:"/tmp/root-temp-aspnet-0/6f3f8f0/App_Web_3e10ed3f.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll" /r:"/usr/local/mono/mono-2.4_svn/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Castle.Core.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Castle.DynamicProxy2.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Commons.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/DesignPatterns.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/FreeTextBox.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Iesi.Collections.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Institutional.Core.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Institutional.DataAccessLayer.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Institutional.WebAdmin.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Institutional.WebComponents.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Institutional.WebUserInterface.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Loki.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/Mono.GetOptions.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/MySql.Data.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/NHibernate.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/NVelocity.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/log4net.dll" /r:"/opt/orionsbelt/prd/institutional/public/Bin/nunit.framework.dll" /r:"/tmp/root-temp-aspnet-0/6f3f8f0/App_global.asax.601c5071.dll" /r:"/tmp/root-temp-aspnet-0/6f3f8f0/App_Web_2101ed92.dll" /nowarn:0169 -- "/tmp/root-temp-aspnet-0/6f3f8f0/App_Web_3e10ed3f_0.cs" error CS0006: cannot find metadata file `/tmp/root-temp-aspnet-0/6f3f8f0/App_global.asax.601c5071.dll' error CS0006: cannot find metadata file `/tmp/root-temp-aspnet-0/6f3f8f0/App_Web_2101ed92.dll' Mono version: # mono --version Mono JIT compiler version 2.4 (/branches/mono-2-4/mono r130583 Mon Mar 30 23:10:23 WEST 2009) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC:Included Boehm (with typed GC) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none -- Pedro Santos Home - http://psantos.zi-yu.com Work - http://www.pdmfc.com The future - http://www.orionsbelt.eu ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono and its limitations
You don't need to use the Mono IDE (MonoDevelop) in order to make cross-platform applications. You can simply use Visual Studio. Besides, using MonoDevelop on Windows isn't (easily) possible yet. Solutions are compatible between Visual Studio and MonoDevelop, too (at least C# ones are, I guess the same goes for VB), so you should be able to work on the same project from Windows and Debian. However, note that you can develop in VB8 with Mono, but not with VB9 (yet). But VB9 apps will still run fine with Mono, you just can't compile them with Mono. From what I gathered, C# just gets more love than VB, and you may stumble on things that work in C# but have no VB support yet... So in case you were considering trying C#, now is the right time, I guess. :) Marco Trapanese wrote: > > Hello, > > I'm from Italy and I'm sorry if my English is not so good. I hope it's > good enough to explain whatever I'm going to say :-) > > I'm new to Mono and I read through the forum and the website. > Anyway I'm not sure I understood all its qualities and limitations. > > To simplify the question, let me to use an example: > > "I install the Mono IDE on a Windows machine and a Debian Linux one. I can > develop code in VB.NET on both ones and the compiled files will be > executed on both as well. I can also use my .NET third-party library (eg. > http://www.dundas.com/Products/Gauge/NET/index.aspx) on Linux machines." > > The sentences I've just write are true? Otherwise what I can't do? > > I'd like to use Mono instead of Visual Basic .NET Express in order to > develop cross-platform application. > > Thanks in advance > Marco Trapanese > Femtotech > Italy > > > -- View this message in context: http://www.nabble.com/Mono-and-its-limitations-tp22799220p22800068.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list