Subject: Can't compile Mono
To: None <tech-pkg@netbsd.org>
From: Sylvester F <sylvester_f@hotmail.com>
List: tech-pkg
Date: 03/31/2005 16:40:56
Hi

I'm trying to compile Mono 1.1.5 from pkgsrc updated from cvs this morning.  
NetBSD 2.0 on i386.
It fails:

<snip>
cc -O2 -I/usr/pkgsrc/lang/mono/work/.buildlink/include -fno-strict-aliasing 
-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wno-cast-qual -Wcast-align -Wwrite-strings -Wl,-R/usr/pkg/lib -pthread -o 
pedump pedump.o -pthread -Wl,--export-dynamic  
-L/usr/pkgsrc/lang/mono/work/.buildlink/lib ./.libs/libmonoruntime.a 
../io-layer/.libs/libwapi.a ../utils/.libs/libmonoutils.a 
../../libgc/.libs/libmonogc.a 
/usr/pkgsrc/lang/mono/work/.buildlink/lib/libgthread-2.0.so 
/usr/pkgsrc/lang/mono/work/.buildlink/lib/libgmodule-2.0.so 
/usr/pkgsrc/lang/mono/work/.buildlink/lib/libglib-2.0.so -licui18n -licuuc 
-licudata -lintl -lpthread -lm -Wl,--rpath 
-Wl,/usr/pkgsrc/lang/mono/work/.buildlink/lib -Wl,--rpath 
-Wl,/usr/pkgsrc/lang/mono/work/.buildlink/lib
ld: cannot find -licui18n
gmake[3]: *** [pedump] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/lang/mono/work/mono-1.1.5/mono/metadata'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.5/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.5'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/mono
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/lang/mono/work/.work.log
===>
*** Error code 1
</snip>

It looks like not all necessary libraries are in .buildlink/lib.  Anyone 
managed in compiling mono?

- S

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/