I tried to gentoo-ize my Powerbook running Panther, but it fails at emerge system while trying to build gettext-0.12:
Making all in libuniname
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../lib -O2 -pipe -c uniname.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../lib -O2 -pipe -c test-names.c
rm -f libuniname.a
ar cru libuniname.a uniname.o
ranlib libuniname.a
/bin/sh ../libtool --mode=link gcc -O2 -pipe -o test-names test-names.o libuniname.a ../lib/libgettextlib.la
mkdir .libs
gcc -O2 -pipe -o .libs/test-names test-names.o libuniname.a ../lib/.libs/libgettextlib.dylib
ld: warning can't open dynamic library: /usr/lib/libintl.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_libintl_gettext referenced from libgettextlib-0.12 expected to be defined in /usr/lib/libintl.2.dylib
make[3]: *** [test-names] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Another post in the forum suggested to copy libintl from the temporary build location to /usr/lib, but that didn't result in a working build:
ar cru .libs/libgettextpo.a gettext-po.o
ranlib .libs/libgettextpo.a
creating libgettextpo.la
(cd .libs && rm -f libgettextpo.la && ln -s ../libgettextpo.la libgettextpo.la)
/bin/sh ../libtool --mode=link gcc -O2 -pipe -o msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-tcl.o msgfmt-plural-eval.o libgettextsrc.la
gcc -O2 -pipe -o .libs/msgcmp msgcmp-msgcmp.o ./.libs/libgettextsrc.dylib
ld: warning can't open dynamic library: /usr/lib/libgettextlib-0.12.1.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: msgcmp-msgcmp.o illegal reference to symbol: _libintl_bindtextdomain defined in indirectly referenced dynamic library /usr/lib/libintl.2.dylib
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _locale_charset used from dynamic library /usr/lib/libiconv.2.dylib(localcharset.o) not from earlier dynamic library /usr/lib/libintl.2.dylib(localcharset.o)
make[4]: *** [msgcmp] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc -O2 -pipe -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-tcl.o msgfmt-plural-eval.o ./.libs/libgettextsrc.dylib
ld: warning can't open dynamic library: /usr/lib/libgettextlib-0.12.1.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: msgfmt-msgfmt.o illegal reference to symbol: _libintl_bindtextdomain defined in indirectly referenced dynamic library /usr/lib/libintl.2.dylib
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _locale_charset used from dynamic library /usr/lib/libiconv.2.dylib(localcharset.o) not from earlier dynamic library /usr/lib/libintl.2.dylib(localcharset.o)
make[4]: *** [msgfmt] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Any suggestions?