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

Dick Porter dick@ximian.com
09 Sep 2002 12:48:50 +0100


On Mon, 2002-09-09 at 12:02, Piyush, Garyali (IE10) wrote:
> 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.

We recently updated the versions of theses packages; having the old
versions linked on the web site is a bug and I'll fix it now.

> 
> 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!

Did the compile lines include -I/usr/local/include ?  If configure found
libgc then it should have updated CFLAGS too.  Please send me (not the
list) your config.log and a copy of the output generated by configure
and make.

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

There are shell scripts that should make compiling mono (and its
dependencies) much easier.  They are linked on the web site (in
http://www.go-mono.com/download.html) and also in cvs in the mono/doc
directory.  If these scripts also fail to build mono, then I'd like to
hear about it.

- Dick