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

John Sheppard magnumsolutions at gmail.com
Thu Feb 10 12:40:27 EST 2005


Oops here is the file.

John
  ----- Original Message ----- 
  From: John Sheppard 
  To: mono-devel-list at lists.ximian.com 
  Sent: Thursday, February 10, 2005 11:38 AM
  Subject: Problem compiling from source on Windows XP.


  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.

  I had attempted to compile from source last night with the source being on a different drive then my cygwin installation where I ran into a different problem of the make not being able to recognize csc.exe so I removed all source from that directory and checked out all code directly within cygwin.  I'm now getting a different problem which my compile last night was able to get past.  Any help would be greatly appreciated.

  Sincerely,

  John Sheppard
  Missouri Botanical Garden

  Life should NOT be a journey to the grave with the intention of
  arriving safely in an attractive and well preserved body, but rather
  to skid in sideways, chocolate in one hand, martini in the other, body
  thoroughly used up, totally worn out and screaming "WOO HOO what a
  ride!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050210/1ca6d4e9/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050210/1ca6d4e9/attachment.txt 


More information about the Mono-devel-list mailing list