[Mono-dev] Mono-devel-list Digest, Vol 29, Issue 21

Miguel de Icaza miguel at novell.com
Thu Sep 13 16:13:53 EDT 2007


> I have used this tutorial and I have never install glib.
> I do not find why it do it...
> Is there any flags to say that I do not want to use glib?
> Because, I have never install it and tutorial say to not install it. 

GLIB is a requirement for Mono (there are some efforts to switch to an
embedded version of it, but as of today you need it).

> 
> 
> 2007/9/13, mono-devel-list-request at lists.ximian.com
> <mono-devel-list-request at lists.ximian.com>:
>         Send Mono-devel-list mailing list submissions to
>                 mono-devel-list at lists.ximian.com
>         
>         To subscribe or unsubscribe via the World Wide Web, visit
>                 http://lists.ximian.com/mailman/listinfo/mono-devel-list
>         or, via email, send a message with subject or body 'help' to
>                 mono-devel-list-request at lists.ximian.com
>         
>         You can reach the person managing the list at 
>                 mono-devel-list-owner at lists.ximian.com
>         
>         When replying, please edit your Subject line so it is more
>         specific
>         than "Re: Contents of Mono-devel-list digest..." 
>         
>         
>         Today's Topics:
>         
>            1. Re:  WARNING : Memory leak with ASP.NET on mono 1.2.5
>               (Hubert FONGARNAND)
>            2.  Compiling mono under windows (olivier dufour)
>            3. Re:  Compiling mono under windows (Robert Jordan) 
>         
>         
>         ----------------------------------------------------------------------
>         
>         Message: 1
>         Date: Thu, 13 Sep 2007 15:04:20 +0200
>         From: Hubert FONGARNAND <informatique.internet at fiducial.fr>
>         Subject: Re: [Mono-dev] WARNING : Memory leak with ASP.NET on
>         mono
>                 1.2.5
>         To: "mono-devel-list at lists.ximian.com"
>                 <mono-devel-list at lists.ximian.com>
>         Message-ID: <1189688660.15802.26.camel at hublinux.fidudev.fr>
>         Content-Type: text/plain; charset="utf-8"
>         
>         Here's a video screenshot of htop of growing memory usage by
>         mod-mono-server process...
>         
>         http://dl.free.fr/aNKiwbO30/test-0000.mpeg
>         
>         Le jeudi 13 septembre 2007 ? 14:44 +0200, informatique
>         internet a
>         ?crit :
>         
>         > pi?ce jointe message de courriel
>         >
>         > > -------- Message transf?r? -------- 
>         > > Sujet:
>         > > Date: Thu, 13 Sep 2007 14:54:24 +0200
>         > >
>         > > Hello,
>         > >
>         > > I've updated my production environment to mono 1.2.5
>         branch
>         > > yesterday. As i'm monitoring memory usage on ASP.NET
>         servers, i've
>         > > seen this :
>         > >
>         > >
>         > > It seems that all mod-mono-server process takes +4kb of
>         memory by
>         > > second... I'll send an animated screenshot of htop... 
>         > > I think i'll downgrade to mono 1.2.4, it was very
>         stable... (as you
>         > > can see before 12/09/07)
>         > >
>         > > I'll try to report the problem better after more
>         investigation!
>         > >
>         > > Thanks
>         > >
>         > > _______________________________________________
>         > > Ce message et les ventuels documents joints peuvent
>         contenir des
>         > > informations confidentielles. 
>         > > Au cas o? il ne vous serait pas destin, nous vous
>         remercions de bien
>         > > vouloir le supprimer et en aviser imm?diatement
>         l'expditeur. Toute
>         > > utilisation de ce message non conforme ? sa destination,
>         toute 
>         > > diffusion ou publication, totale ou partielle et quel
>         qu'en soit le
>         > > moyen est formellement interdite.
>         > > Les communications sur internet n'tant pas s?curises,
>         l'int?grit de 
>         > > ce message n'est pas assur?e et la socit? mettrice ne
>         peut ?tre
>         > > tenue pour responsable de son contenu.
>         _______________________________________________
>         Ce message et les ?ntuels documents joints peuvent contenir
>         des informations confidentielles. 
>         Au cas o?ne vous serait pas destin?nous vous remercions de
>         bien vouloir le supprimer et en aviser imm?atement l'exp?teur.
>         Toute utilisation de ce message non conforme ?a destination,
>         toute diffusion ou publication, totale ou partielle et quel
>         qu'en soit le moyen est formellement interdite. 
>         Les communications sur internet n'?nt pas s?ris?, l'int?it?e
>         ce message n'est pas assur?et la soci? ?ttrice ne peut ?e
>         tenue pour responsable de son contenu.
>         -------------- next part --------------
>         An HTML attachment was scrubbed... 
>         URL:
>         http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070913/4eb1c447/attachment-0001.html 
>         
>         ------------------------------
>         
>         Message: 2
>         Date: Thu, 13 Sep 2007 19:55:24 +0200
>         From: "olivier dufour" <olivier.duff at gmail.com>
>         Subject: [Mono-dev] Compiling mono under windows 
>         To: mono-devel-list at lists.ximian.com
>         Message-ID:
>                 <d74c39240709131055h26a465f1m23600b4a4f46b38f at mail.gmail.com>
>         Content-Type: text/plain; charset="iso-8859-1"
>         
>         So,
>         
>         I have found the error for resource temporary unavailable.
>         In fact, I have antivirus, antispyware,... which try to
>         analyse all done by 
>         make...
>         So; it have well started but not succeed thanks to error in
>         mono/mono/utils:
>         I have try to fill a bug in novell bugzilla without
>         succeed ;( (mono is not
>         in list)
>         
>         I send you a part of my log.
>         
>         /bin/sh ../../libtool --tag=CC   --mode=compile gcc
>         -mno-cygwin -g
>         -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono
>         -I../../libgc/include
>         -I/devel/target/glib-2.6.6/include/glib-2.0
>         -I/devel/target/glib-2.6.6
>         /lib/glib-2.0/include    -DWIN32_THREADS -DFD_SETSIZE=1024
>         -DUNICODE
>         -D_UNICODE  -g -O2 -fno-strict-aliasing
>         -Wdeclaration-after-statement -g
>         -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
>         -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
>         -Wpointer-arith 
>         -Wno-cast-qual -Wcast-align -Wwrite-strings
>         -mno-tls-direct-seg-refs -MT
>         mono-hash.lo -MD -MP -MF .deps/mono-hash.Tpo -c -o
>         mono-hash.lo mono-hash.c
>         gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I../.. -I../..
>         -I../../mono 
>         -I../../libgc/include
>         -I/devel/target/glib-2.6.6/include/glib-2.0-I/devel/target/glib-
>         2.6.6/lib/glib-2.0/include -DWIN32_THREADS -DFD_SETSIZE=1024
>         -DUNICODE
>         -D_UNICODE -g -O2 -fno-strict-aliasing
>         -Wdeclaration-after-statement -g 
>         -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
>         -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
>         -Wpointer-arith
>         -Wno-cast-qual -Wcast-align -Wwrite-strings
>         -mno-tls-direct-seg-refs -MT
>         mono-hash.lo -MD -MP -MF .deps/mono-hash.Tpo -c
>         mono-hash.c  -DDLL_EXPORT
>         -DPIC -o .libs/mono-hash.o
>         mono-hash.c:39:18: glib.h: No such file or directory
>         In file included from ../../mono/os/gc_wrapper.h:37,
>                          from mono-hash.c:40:
>         ../../libgc/include/gc.h:1008: warning: function declaration
>         isn't a
>         prototype
>         In file included from mono-hash.c:41:
>         mono-hash.h:40: error: syntax error before "typedef"
>         mono-hash.h :42: error: parse error before '*' token
>         mono-hash.h:42: error: parse error before "key"
>         mono-hash.h:43: warning: type defaults to `int' in declaration
>         of `gpointer'
>         mono-hash.h:43: warning: function declaration isn't a
>         prototype 
>         mono-hash.h:43: error: `gpointer' declared as function
>         returning a function
>         mono-hash.h:43: warning: function declaration isn't a
>         prototype
>         mono-hash.h:55: error: parse error before "hash_func" 
>         mono-hash.h:56: warning: function declaration isn't a
>         prototype
>         mono-hash.h:57: error: parse error before "hash_func"
>         mono-hash.h:59: warning: function declaration isn't a
>         prototype
>         mono-hash.h :60: error: parse error before "hash_func"
>         mono-hash.h:63: warning: function declaration isn't a
>         prototype
>         mono-hash.h:71: error: parse error before
>         "mono_g_hash_table_remove"
>         mono-hash.h:72: error: parse error before "gconstpointer" 
>         mono-hash.h:72: warning: type defaults to `int' in declaration
>         of
>         `mono_g_hash_table_remove'
>         mono-hash.h:72: warning: function declaration isn't a
>         prototype
>         mono-hash.h:72: warning: data definition has no type or
>         storage class 
>         mono-hash.h:73: error: parse error before
>         "mono_g_hash_table_steal"
>         mono-hash.h:74: error: parse error before "gconstpointer"
>         mono-hash.h:74: warning: type defaults to `int' in declaration
>         of 
>         `mono_g_hash_table_steal'
>         mono-hash.h:74: warning: function declaration isn't a
>         prototype
>         mono-hash.h:74: warning: data definition has no type or
>         storage class
>         mono-hash.h:76: error: parse error before "gconstpointer" 
>         mono-hash.h:76: error: `mono_g_hash_table_lookup' declared as
>         function
>         returning a function
>         mono-hash.h:76: warning: function declaration isn't a
>         prototype
>         mono-hash.h:77: error: parse error before
>         "mono_g_hash_table_lookup_extended"
>         mono-hash.h:78: error: parse error before "gconstpointer"
>         mono-hash.h:80: warning: type defaults to `int' in declaration
>         of
>         `mono_g_hash_table_lookup_extended' 
>         mono-hash.h:80: warning: function declaration isn't a
>         prototype
>         mono-hash.h:80: warning: data definition has no type or
>         storage class
>         mono-hash.h:82: error: parse error before "GHFunc"
>         mono-hash.h :83: warning: function declaration isn't a
>         prototype
>         mono-hash.h:84: error: parse error before
>         "mono_g_hash_table_foreach_remove"
>         mono-hash.h:85: error: parse error before "GHRFunc"
>         mono-hash.h :86: warning: type defaults to `int' in
>         declaration of
>         `mono_g_hash_table_foreach_remove'
>         mono-hash.h:86: warning: function declaration isn't a
>         prototype
>         mono-hash.h:86: warning: data definition has no type or
>         storage class 
>         mono-hash.h:87: error: parse error before
>         "mono_g_hash_table_foreach_steal"
>         mono-hash.h:88: error: parse error before "GHRFunc"
>         mono-hash.h:89: warning: type defaults to `int' in declaration
>         of 
>         `mono_g_hash_table_foreach_steal'
>         mono-hash.h:89: warning: function declaration isn't a
>         prototype
>         mono-hash.h:89: warning: data definition has no type or
>         storage class
>         mono-hash.h:90: error: parse error before
>         "mono_g_hash_table_size" 
>         mono-hash.h:90: warning: type defaults to `int' in declaration
>         of
>         `mono_g_hash_table_size'
>         mono-hash.h:90: warning: data definition has no type or
>         storage class
>         mono-hash.h:93: error: parse error before "MonoGRemapperFunc" 
>         mono-hash.h:94: warning: function declaration isn't a
>         prototype
>         In file included from ../../mono/metadata/metadata.h:7,
>                          from ../../mono/metadata/class.h:4,
>                          from ../../mono/metadata/object.h:4, 
>         
>         from ../../mono/metadata/object-internals.h:4,
>                          from ../../mono/metadata/gc-internal.h:13,
>                          from mono-hash.c:42:
>         ../../mono/metadata/blob.h:11: error: syntax error before
>         "typedef" 
>         In file included from ../../mono/metadata/metadata.h:9,
>                          from ../../mono/metadata/class.h:4,
>                          from ../../mono/metadata/object.h:4,
>                          from ../../mono/metadata/object-
>         internals.h:4,
>                          from ../../mono/metadata/gc-internal.h:13,
>                          from mono-hash.c:42:
>         ../../mono/metadata/image.h:9: error: syntax error before
>         "typedef"
>         ../../mono/metadata/image.h:19: warning: type defaults to
>         `int' in 
>         declaration of `guint8'
>         ../../mono/metadata/image.h:19: warning: no semicolon at end
>         of struct or
>         union
>         ../../mono/metadata/image.h:19: error: parse error before '*'
>         token
>         ../../mono/metadata/image.h:21: warning: type defaults to
>         `int' in 
>         declaration of `public_key_token'
>         ../../mono/metadata/image.h:21: warning: data definition has
>         no type or
>         storage class
>         ../../mono/metadata/image.h:22: error: parse error before
>         "hash_alg"
>         ../../mono/metadata/image.h:22: warning: type defaults to
>         `int' in 
>         declaration of `hash_alg'
>         ../../mono/metadata/image.h:22: warning: data definition has
>         no type or
>         storage class
>         ../../mono/metadata/image.h:23: error: parse error before
>         "hash_len"
>         ../../mono/metadata/image.h:23: warning: type defaults to
>         `int' in 
>         declaration of `hash_len'
>         ../../mono/metadata/image.h:23: warning: data definition has
>         no type or
>         storage class
>         ../../mono/metadata/image.h:24: error: parse error before
>         "flags"
>         
>         
>         ....
>         
>         mono-hash.c: At top level:
>         mono-hash.c:752: error: parse error before "GDestroyNotify"
>         mono-hash.c:754: warning: function declaration isn't a
>         prototype
>         mono-hash.c: In function `g_hash_node_destroy': 
>         mono-hash.c:756: error: `hash_node' undeclared (first use in
>         this function)
>         mono-hash.c:756: error: called object is not a function
>         mono-hash.c:758: error: called object is not a function
>         mono-hash.c:763: warning: nested extern declaration of
>         `G_LOCK' 
>         mono-hash.c:763: error: `g_hash_global' undeclared (first use
>         in this
>         function)
>         mono-hash.c:771: warning: nested extern declaration of
>         `G_UNLOCK'
>         mono-hash.c: At top level:
>         mono-hash.c:777: error: parse error before "GFreeFunc" 
>         mono-hash.c:779: warning: function declaration isn't a
>         prototype
>         mono-hash.c: In function `g_hash_nodes_destroy':
>         mono-hash.c:780: error: `hash_node' undeclared (first use in
>         this function)
>         mono-hash.c :787: error: called object is not a function
>         mono-hash.c:789: error: called object is not a function
>         mono-hash.c:798: error: called object is not a function
>         mono-hash.c:800: error: called object is not a function 
>         mono-hash.c:805: warning: nested extern declaration of
>         `G_LOCK'
>         mono-hash.c:805: error: `g_hash_global' undeclared (first use
>         in this
>         function)
>         mono-hash.c:813: warning: nested extern declaration of
>         `G_UNLOCK' 
>         mono-hash.c: At top level:
>         mono-hash.c:713: warning: 'g_hash_table_resize' defined but
>         not used
>         make: *** [mono-hash.lo] Error 1
>         -------------- next part --------------
>         An HTML attachment was scrubbed... 
>         URL:
>         http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070913/bcdb1ae1/attachment-0001.html 
>         
>         ------------------------------
>         
>         Message: 3
>         Date: Thu, 13 Sep 2007 20:04:08 +0200
>         From: Robert Jordan <robertj at gmx.net>
>         Subject: Re: [Mono-dev] Compiling mono under windows 
>         To: mono-devel-list at lists.ximian.com
>         Message-ID: <fcbu3h$cc6$1 at sea.gmane.org>
>         Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
>         
>         Hi,
>         
>         olivier dufour wrote:
>         >
>         > I send you a part of my log.
>         >
>         
>         [...]
>         
>         That's the problem:
>         
>         > mono-hash.c:39:18: glib.h: No such file or directory
>         
>         
>         Please make yourself a favor and read this fine tutorial: 
>         
>                 http://shana.iidbbs.com/en/mono_cygwin_tutorial.html
>         
>         Robert
>         
>         
>         
>         ------------------------------
>         
>         _______________________________________________ 
>         Mono-devel-list mailing list
>         Mono-devel-list at lists.ximian.com
>         http://lists.ximian.com/mailman/listinfo/mono-devel-list
>         
>         
>         End of Mono-devel-list Digest, Vol 29, Issue 21
>         ***********************************************
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list