[Mono-list] compiling mono on windows

Nick Drochak ndrochak@gol.com
Fri, 26 Dec 2003 21:19:34 +0900


| -----Original Message-----
| From: mono-list-admin@lists.ximian.com
| [mailto:mono-list-admin@lists.ximian.com] On Behalf Of
| bobjohnson11@comcast.net
| Sent: Thursday, December 18, 2003 12:55 AM
| To: mono-list@lists.ximian.com
| Subject: [Mono-list] compiling mono on windows
| 
| Zoltan -
| 
| Here are the first few lines where the error begins in my error log:
| 
| 
| mono-hash.c:39:18: glib.h: No such file or directory
| In file included from ../../mono/os/gc_wrapper.h:13,
|                  from mono-hash.c:40:
| ../../libgc/include/gc.h:949: warning: function declaration isn't a
prototype
| In file included from mono-hash.c:41:
| mono-hash.h:36:18: glib.h: No such file or directory
| In file included from mono-hash.c:41:

I jut got this too.  The fix for this part is to correct the "prefix" in
your glib-2.0.pc file. It probably still is set to "/target".  If you are
like me, you just unzipped the stuff somewhere. I think normally there'd be
another step there to correct that prefix line.

You need to put in a prefix that points to whatever directory is holding the
lib and bin and share directories for glib, etc.

HTH,
Nick D.