[Mono-devel-list] Mono Beta2 has been released.

grompf grompf at sublimeintervention.com
Sat Jun 5 02:43:47 EDT 2004


This is not a mono bug, this is a libintl (gettext) bug on OSX.  The 
problem is libintl.a doesn't build properly on OSX, and as a result 
gettext builds a stub .la.  If you look in mono-build-mac-fw-release.sh 
in cvs we have posted the proper "workaround" for this situation.  Long 
story short, you need to remove the libintl.a reference from the 
libintl.la in your $PREFIX for gettext.  The following perl command 
should solve your build issue:

perl -pi -e "s/old_library='libintl.a'/old_library=''/" 
$PREFIX/lib/libintl.la

Where $PREFIX is your gettext $PREFIX.

-kangaroo

On 5-Jun-04, at 1:34 AM, Miguel de Icaza wrote:

> hey,
>
>> ..
>> Making all in mini
>> make  all-am
>> /bin/sh ../../libtool --mode=link gcc  -g -O2 -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  -pthread
>> -o mono -static libmono.la -export-dynamic main.o libmono.la
>> -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
>> -L/opt/local/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -lm
>> -lpthread -lm -L/opt/local/lib -licui18n -licuuc -licudata -lpthread
>> -lm -lpthread -lm
>> gcc -g -O2 -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 -pthread -o mono main.o  ./.libs/libmono.a
>> -L/opt/local/lib -lgthread-2.0 -lgmodule-2.0 -lglib-2.0
>> /opt/local/lib/libintl.a -lc -L/usr/lib -liconv -licui18n -licuuc
>> -licudata -lpthread -lm
>> gcc: unrecognized option `-pthread'
>> ld: /opt/local/lib/libintl.a(bindtextdom.o) illegal reference to
>> symbol: __nl_msg_cat_cntr defined in indirectly referenced dynamic
>> library /opt/local/lib/libintl.3.dylib
>
> Please try removing from the mono-0.95/mono/mini/Makefile.in and the
> Makefile the text that says:
>
> 	-static libmono.la
>
> That should fix it.
>
> Miguel
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> !DSPAM:40c15b9097216299010585!
>




More information about the Mono-devel-list mailing list