[Mono-list] installation problems

Pierre-Vincent Ledoux pvledoux@eyecone.com
22 May 2003 12:24:29 +0200


Hi,

I trying to install from the source but I have some problems:

I have download the source then tar it and ./configure 
--prefix=/usr/local/mono

I had to install glib dev 2 but configure works fine.

make:

work fine until this:

gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o genmdesc
genmdesc-genmdesc.o genmdesc-helpers.o -Wl,--export-dynamic 
../../mono/metadata/.libs/libmonoruntime.al
../../mono/metadata/.libs/libmetadata.al
../../mono/io-layer/.libs/libwapi.al
../../mono/utils/.libs/libmonoutils.al -lgc -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lnsl -lpthread
-lrt
/usr/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status
make[3]: *** [genmdesc] Error 1
make[3]: Leaving directory `/root/mono-0.24/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mono-0.24/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-0.24'
make: *** [all] Error 2


So, I have drop my mono-0.24 directory, download the mono-build.sh and
try again:

/usr/bin/mono-build.sh

works fine, but nothing is installed anywhere.
So I ./configure, ok, make:

gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o genmdesc
genmdesc-genmdesc.o genmdesc-helpers.o -Wl,--export-dynamic 
../../mono/metadata/.libs/libmonoruntime.al
../../mono/metadata/.libs/libmetadata.al
../../mono/io-layer/.libs/libwapi.al
../../mono/utils/.libs/libmonoutils.al -lgc -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lnsl -lpthread
-lrt
/usr/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status
make[3]: *** [genmdesc] Error 1
make[3]: Leaving directory `/root/mono-0.24/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mono-0.24/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-0.24'
make: *** [all] Error 2


What's wrong ?

Please help I passed the 1/2 night on it ! Thanks


pv