[Mono-list] Bohem's GC problem

Victor victorx@asu.edu
Wed, 28 May 2003 18:22:25 -0700


Thank you for your advice.

I don't know if I did it right but I had the problem resolved. It seems some
path issues: I installed Boehm's GC with default prefix=/usr/local. But the
installation script only copied libgc into /usr/local/lib. When Mono's
configure script test sockaddr_un.sun_path, it will use libgc in /usr/lib.
Also, Mono's script only accept GC's header files in /usr/include/gc. After
I copied all the libgc files into /usr/lib and all the GC's header files
into /usr/include/gc, this problem seems been solved.

BTW, I also added general link options LDFLAGS="$LDFLAGS -pthread" to the
configure script. Since when testing GC_malloc, it will use libgc, which
called some pthread functions.

-----
victor



>On Tue, 2003-05-27 at 19:41, Victor wrote:
>> ../../mono/io-layer/wapi-private.h:25:2: #error configure failed to
discover
>> size of unix socket path

>> This is because the value of MONO_SIZEOF_SUNPATH was set to 0. And it's
>> value was usually 108 if no Boehm's GC installed.

>This has been cropping up for some people but not others (including me,
>or it would be fixed long ago.)  I think it's a configure issue, so
>please send me your config.log off list.

>Thanks,

>- Dick