[Mono-devel-list] A few problems with the Beginners Howto document
Vincent Sacksteder
vincent at sacksteder.com
Mon Mar 17 11:27:14 EST 2003
Dear mono community:
Concerning the document which specifies how to get started downloading and
compiling mono on Windows,
http://monoevo.sourceforge.net/mono-windows/mono-beginning-windows/x53.html:
I would like to note the following problems:
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 at anoncvs.go-mono.com:/mono
I put this in the shell script.
2. The compile failed until I changed the ACLOCAL_FLAGS variable to a value
different from that stated in the doc. 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.
3. Toward the end of compile/install there are many failures in copying,
which are caused by the absence of certain dlls etc. The errors are
ignored, which I think is the right thing since they correspond to things
built from the mcs tree. It would be helpful to note in the doc that these
errors are innocuous.
4. Due to a bug in automake/configure/gcc, currently configure is unable to
detect header files. The mono install script automatically checks for the
presence of gc.h, and if it is not detected aborts. Therefore the mono
install script ALWAYS fails.
It appears that you've seen the same problem, because at the end of your
doc there is a discussion of how to do a manual install "If you have noticed
problems during step 8 and the execution stops because of errors as I cannot
find that or such library or alike."
I would suggest that until the automake bug is fixed, the following patch
to the mono install script be applied:
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([*** autoconf header bug workaround hack!])
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([*** autoconf header bug workaround hack!])
With these changes in place, installation and compilation went through
succesfully for me.
I have reported the automake bug to the cygwin mailing list.
Regards,
Vincent Sacksteder
More information about the Mono-devel-list
mailing list