I've tested this on the following machines My athlon: gentoo-1.3a using gcc-3.1 CFLAGS="-mcpu=athlon-xp -msse -m3dnow -O3 -pipe -Wno-deprecated" CXXFLAGS="-mcpu=athlon-xp -msse -m3dnow -O3 -pipe -Wno-deprecated" USE="xv sse 3dnow mmx x dga opengl -nls gtkhtml gnome evo bonobo gtk kde qt motif imlib ncurses sdl readline gif jpeg png tiff avi mpeg oss -alsa esd -nas dvd xmms oggvorbis encode pam ssl crypt tcpd mozilla spell truetype xml xml2 pdflib perl python ruby libwww libg++ berkdb doc gpm -arts mta-tls tcltk java" and my i686 laptop: gentoo-1.2 using gcc-2.95.3 CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="${CFLAGS}" USE="-nls oss pcmcia gnome kde -3dnow -arts -alsa -ipv6 imlib imlib2 mta-tls mozilla freetype mpeg avi divx" Here's the relevant ouput when I try to compile gaim-0.58-r2 on these machines: make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src/pro tocols' make[3]: Leaving directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src/pro tocols' make[3]: Entering directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=athlon-xp -msse -m3dnow -O3 -pipe -fo mit-frame-pointer -Wno-deprecated -I/usr/local/include -I/opt/include -I.. -I/us r/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/i nclude -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib- 1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-strict-aliasing -D_LARGEF ILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.6.1/i686-linux/CORE -DLOC ALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -c util.c util.c: In function `strdup_withhtml': util.c:941: warning: assignment discards qualifiers from pointer target type util.c: In function `init_utf8_converter': util.c:1133: `LC_ALL' undeclared (first use in this function) util.c:1133: (Each undeclared identifier is reported only once util.c:1133: for each function it appears in.) util.c: In function `utf8_to_str': util.c:1223: warning: passing arg 2 of `iconv' from incompatible pointer type util.c: In function `str_to_utf8': util.c:1313: warning: passing arg 2 of `iconv' from incompatible pointer type make[3]: *** [util.o] Error 1 make[3]: Leaving directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/tmp/portage/gaim-0.58-r2/work/gaim-0.58' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -73, Exitcode 2 !!! (no error message) A simple work-around is to pass in a USE on the command line like so USE="nls" emerge gaim Then all is well.
Added test for nls in USE before applying Korean encoding patch