I have libgc6 libgc6-dev installed

gc.h is at

/usr/include/gc/gc.h

however ./configure --with-gc=boehm --prefix=/usr

produces

checking for gc.h... (cached) no
checking for gc/gc.h... (cached) no
checking for GC_malloc in -lgc... (cached) no
configure: error: GC requested but libgc not found!

Any Ideas ?




On Wed, 2002-09-18 at 13:45, Seun Osewa wrote:
Install the Boehm garbage collector, I guess. I had
the same problem as the first in my series of problems
with building mono ;)

--- Glenn Pierce <[EMAIL PROTECTED]>
wrote:
> 
> Hi  I have tried to bulild mono form the nightly
> snapshots, cvs and the
> build script for debian unstable 
> (As the debian packages have not benn updated in a
> while)
> 
> Each time I recieve the same error
> 
> Entering directory
> `/usr/local/src/mono/mono/interpreter'
> /bin/sh ../../libtool --mode=link gcc  
> -L/usr/local/src/install/lib
> -L/usr/lib -o mint  interp.o
> ../arch/libmonoarch.la		
> ../metadata/libmonoruntime.la	
> ../metadata/libmetadata.la		../io-layer/libwapi.la		
> ../utils/libmonoutils.la		../os/libmonoos.la		
> -lglib-2.0  				-Wl,--export-dynamic  -lgmodule-2.0
> -ldl -lglib-2.0   			-lm -lnsl -lpthread -lrt
> gcc -o mint interp.o -Wl,--export-dynamic 
> -L/usr/local/src/install/lib
> -L/usr/lib ../arch/.libs/libmonoarch.al
> ../metadata/.libs/libmonoruntime.al
> ../metadata/.libs/libmetadata.al
> ../io-layer/.libs/libwapi.al
> ../utils/.libs/libmonoutils.al
> ../os/.libs/libmonoos.al /usr/lib/libgmodule-2.0.so
> -ldl
> /usr/lib/libglib-2.0.so -lm -lnsl -lpthread -lrt
> ../metadata/.libs/libmonoruntime.al(gc.lo): In
> function
> `ves_icall_System_GCHandle_FreeHandle':
> /usr/local/src/mono/mono/metadata/gc.c:308:
> undefined reference to
> `GC_unregister_disappearing_link'
> collect2: ld returned 1 exit status
> 
> 
> can anyone help.
> 
> 
> Sorry if this has been asked I have searched the
> list without success.
> 
> Thanks
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_____________________________
Glenn Pierce

phone: 07957 592 347
email: [EMAIL PROTECTED]
_____________________________

Reply via email to