[Mono-list] MONO build has all sort of probelms

Piyush, Garyali (IE10) Piyush.Garyali@honeywell.com
Mon, 9 Sep 2002 06:02:41 -0500


hello friends,
it seems that the pakaged version of the mcs and 
mono are having a lot of problems!
I did happen to successfully build the runtime 
but after a lot of hook and crook!

There are a lot of dependencies which have to 
be taken care of and it seems that the links 
provided in the MONO download page.. have the 
older versions of pkgconfig, glib, libintl,libgc
and libiconv which provide the first stumbling block.

The main problem came with the garbage collector 
which happens to be 'boehm'.. In the makefile of 
the mono/utils directory. the include path has been
take as /usr/local/include..
so, effectively in the files like handles.c, processes.c
threads.c, wait.c, timed-thread.c etc... the #include <gc/gc.h>
ought to work... Somehow I had to change all the paths 
manually to #include "/usr/local/include/gc/gc.h" and move ahead!

the next problem comes with the iconv.h file. The config.h
(after the ./configure --prefix=<path> ) shows 
#undef HAVE_ICONV_H when actually it is present and it effects
the unicode.c file directly..
So I had to change that to #define HAVE_ICONV_H 1

anyway, it was a very nice experience but I would like 
to know what might have been the reasons for these flaws!

thanks and regards,
Piyush Garyali

Research and Technology Group,
HONEYWELL SOFTWARE SOLUTIONS LAB,
Bangalore 560 076, INDIA