[Mono-devel-list] Problem compiling from source on Windows XP.

Francisco T. Martinez martinf at mfconsulting.com
Fri Feb 11 04:50:50 EST 2005

John Sheppard wrote:

> Hi all,
>     I hope that you can offer me some resolution. Here is my environment
> Windows XP SP 2
> uname = CYGWIN_NT-5.1
> GLib 2.0
> From bash shell I did a mkdir in /usr/local for a new directory name 
> src.  I CD'd into this directory then I got latestt code via svn for 
> mono, mcs and gtk-sharp.  Once this was done I CD'd into the mono 
> directory and issued the following command:
> ./autogen.sh --prefix=/usr/local --with-preview=yes
> This seemed to run fine.  I then issued the command
> make get-monolite-latest
> This downloaded a file and seemed to pass just fine.  So then I issued 
> the make command.  After a bit of compilation it bombed out in 
> mono/mono/utils/mono-hash.h and mono-hash.c.  It couldn't find the 
> glib.h header file which is located at /usr/local/glib-2.0. (I've 
> included the exact error file generated by make 2>error.txt)  Thinking 
> that maybe the 1.1 unstable branch was to blame I re-issued the 
> ./autogen.sh command leaving off the --with-preview=yes.  This 
> resulted in the same error.  I then included the path the glib.h file 
> in my user Include environmental varaible to no avail.  Same error.  
> Does anyone know how I can get past this error.

Go ahead and get the Mono combined installer that you will find here:

Follow the instructions that you will see in this O'Reilly article:

Hope this helps

More information about the Mono-devel-list mailing list