[Mono-list] Bohem's GC problem

Jim Kerr jbkerr@sonic.net
Tue, 27 May 2003 12:18:33 -0700 (PDT)


  Did you try installing the developer RPM for libgc?

    http://www.go-mono.com/archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm

  This solved the problem you describe on my Linux 8.0 box, so it may work
for you as well.

Jim
-------
Jim Kerr
Software Engineer
Agilent Technologies, Inc.
Santa Rosa, CA

> Hello,
>
> I'm trying to install Boehm GC 6.1 for Mono (Linux version). I have no
> problem to compile and install the Boehm's GC. After that, when I want
> to re-config (using configure) Mono's Makefile, it reports:
>
>
> ----------------------------------------
> ...
> checking for GC_malloc in -lgc... yes
> configure: error: "Found libgc but not its header files! You may need to
> install them by hand."
> ----------------------------------------
>
> I figured out that it needs Boehm's header file in /usr/include/gc/ and
> I copied them by hand. Then the configure script created the Makefile
> successfully. But when I compile the Mono, it again reports error:
>
> ----------------------------------------
> ../../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.
>
> Now, I am confused by the relationship between MONO_SIZEOF_SUNPATH and
> Boehm's GC. Could anybody tell me what's the problem here? Did I do
> anything wrong?
>
> Thanks a lot
>
>
> -----
> Victor
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


-- 
Jim Kerr
Agilent Technologies, Inc.
Santa Rosa, CA

-- 
Jim Kerr
Agilent Technologies, Inc.
Santa Rosa, CA