[Mono-list] Mono build problem. Please Help

Vincent Sacksteder vincent@sacksteder.com
Thu, 20 Mar 2003 12:48:39 +0100


Or you can change the mono install so that it doesn't quit when it has
problems with gc.h, with the following three steps:

	a. in gc_wrapper.h, insert at the beginning a line reading:
#define HAVE_GC_GC_H
	b. in configure.in, search for the line reading:

AC_MSG_ERROR("Found libgc but not its header files! You may need to install
them by hand.")

	Replace it with the following line:

	AC_MSG_WARN([*** gc.h workaround!])

	c. in configure.in, search for the line reading:

  	AC_MSG_ERROR("GC requested but header files not found! You may need to
install them by hand.")

	Replace it with the following line:

	AC_MSG_WARN([*** gc.h workaround!])

I also had to modify the mono-build-w32.sh script in two more places before
it would work:

1. I was not able to get the source code from cvs until I changed the
cvsroot away from that specified in the doc. My new cvsroot statement is:
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono

2. The compile failed until I changed the ACLOCAL_FLAGS variable.  My new
statement is:
export ACLOCAL_FLAGS="-I /home/install/share/aclocal"
Note too that it is not immediately obvious which path to pick, since there
are many aclocal directories and files.  It would be helpful to tell the
reader how to discern which aclocal path to use.


I tried the AUTO_DEVEL fix but it didn't work for me: the compilation bombed
a bit later, returning error code 2.  It probably depends a lot on what
version of autoconf you have installed.

Regards,
	Vincent