[Mono-list] Newbie install

Segovax Segovax@Insightbb.com
Wed, 04 Dec 2002 22:55:41 -0500


Please excuse the newbie question.  I'm a bit new to linux and I'm not
too familiar with  this stuff.

I'm trying to install the mono using the mono-build.sh script.  I get
this message when it gets to linking gc.h

checking for gc.h... no
for gc/gc.h... no
for GC_malloc in -lgc... yes
configure: error: Found libgc but not its header files! You may need to
install them by hand.

alright then...

I have the libgc header files.../usr/include/libgc
Is there an Environmental variable I need to specify?

this is some output from the configure.log file

configure:6343: checking for glib-2.0 >= 1.3.11
configure:6350: checking BASE_DEPENDENCIES_CFLAGS
configure:6355: checking BASE_DEPENDENCIES_LIBS
configure:6397: checking for gc.h
configure:6407: /lib/cpp  -I/opt/mono/install/include -I/usr/include
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -fexceptions conftest.c
  >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:6403:16: gc.h: No such file or directory
configure: failed program was:
#line 6402 "configure"
#include "confdefs.h"
#include <gc.h>
configure:6397: checking for gc/gc.h
configure:6407: /lib/cpp  -I/opt/mono/install/include -I/usr/include
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -fexceptions conftest.c
  >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 6402 "configure"
#include "confdefs.h"
#include <gc/gc.h>
configure:6434: checking for GC_malloc in -lgc
configure:6453: gcc -o conftest -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings  -I/opt/mono/install/include -I/usr/include
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -fexceptions
-L/opt/mono/install/lib -L/usr/lib conftest.c -lgc -ldl  1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6446: warning: function declaration isn't a prototype
configure:6448: warning: function declaration isn't a prototype


Thanks for any help you can give.