[Mono-list] Trouble building mono

Glenn Pierce glennpierce@connectfree.co.uk
18 Sep 2002 15:01:05 +0000


--=-AK59b7J6RUyxvSfN2vG3
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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 <glennpierce@connectfree.co.uk>
    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: glennpierce@connectree.co.uk
_____________________________

--=-AK59b7J6RUyxvSfN2vG3
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
I have libgc6 libgc6-dev installed
<BR>

<BR>
gc.h is at
<BR>

<BR>
/usr/include/gc/gc.h
<BR>

<BR>
however ./configure --with-gc=boehm --prefix=/usr
<BR>

<BR>
produces
<BR>

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

<BR>
Any Ideas ?
<BR>

<BR>

<BR>

<BR>

<BR>
On Wed, 2002-09-18 at 13:45, Seun Osewa wrote:
    <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>Install the Boehm garbage collector, I guess. I had</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>the same problem as the first in my series of problems</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>with building mono ;)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>--- Glenn Pierce &lt;glennpierce@connectfree.co.uk&gt;</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>wrote:</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Hi  I have tried to bulild mono form the nightly</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; snapshots, cvs and the</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; build script for debian unstable </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; (As the debian packages have not benn updated in a</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; while)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Each time I recieve the same error</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Entering directory</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; `/usr/local/src/mono/mono/interpreter'</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; /bin/sh ../../libtool --mode=link gcc  </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -L/usr/local/src/install/lib</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -L/usr/lib -o mint  interp.o</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../arch/libmonoarch.la		</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../metadata/libmonoruntime.la	</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../metadata/libmetadata.la		../io-layer/libwapi.la		</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../utils/libmonoutils.la		../os/libmonoos.la		</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -lglib-2.0  				-Wl,--export-dynamic  -lgmodule-2.0</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -ldl -lglib-2.0   			-lm -lnsl -lpthread -lrt</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; gcc -o mint interp.o -Wl,--export-dynamic </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -L/usr/local/src/install/lib</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -L/usr/lib ../arch/.libs/libmonoarch.al</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../metadata/.libs/libmonoruntime.al</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../metadata/.libs/libmetadata.al</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../io-layer/.libs/libwapi.al</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../utils/.libs/libmonoutils.al</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../os/.libs/libmonoos.al /usr/lib/libgmodule-2.0.so</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; -ldl</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; /usr/lib/libglib-2.0.so -lm -lnsl -lpthread -lrt</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; ../metadata/.libs/libmonoruntime.al(gc.lo): In</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; function</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; `ves_icall_System_GCHandle_FreeHandle':</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; /usr/local/src/mono/mono/metadata/gc.c:308:</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; undefined reference to</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; `GC_unregister_disappearing_link'</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; collect2: ld returned 1 exit status</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; can anyone help.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Sorry if this has been asked I have searched the</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; list without success.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Thanks</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>__________________________________________________</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Do you Yahoo!?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Yahoo! News - Today's headlines</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>http://news.yahoo.com</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I></PRE>
    </BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT COLOR="#6c51e8">_____________________________</FONT>
<BR>
<FONT COLOR="#6c51e8"><FONT SIZE="2"><B>Glenn Pierce</FONT></FONT></B>
<BR>

<BR>
<FONT COLOR="#6c51e8"><FONT SIZE="2">phone:</FONT></FONT><FONT COLOR="#808080"><FONT SIZE="2"> 07957 592 347 </FONT></FONT>
<BR>
<FONT COLOR="#6c51e8"><FONT SIZE="2">email:</FONT></FONT><FONT COLOR="#808080"><FONT SIZE="2"> </FONT></FONT><A HREF="mailto:glennpierce@connectree.co.uk"><FONT COLOR="#808080"><FONT SIZE="2">glennpierce@connectree.co.uk</FONT></FONT></A>
<BR>
<FONT COLOR="#6c51e8">_____________________________</FONT>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>

--=-AK59b7J6RUyxvSfN2vG3--