When attempting to emerge glib-2.6.4, during configure it craps out saying that must have gettext support, even though gettext is clearly installed on the system. Same for all glib-2.6.x branch. Reproducible: Always Steps to Reproduce: 1.emerge gettext 2.emerge /usr/portage/dev-libs/glib-2.6.4.ebuild 3. Actual Results: <snip> checking for libintl.h... no configure: error: *** You must have either have gettext support in your C library, or use the *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html <snip> Expected Results: Should just install glib-2.6.4. Portage 2.0.51.19 (default-darwin/macos/10.4, gcc-3.3, libsystem-7.1-r0, 8.0.0 Power Macintosh) =============================================================== == System uname: 8.0.0 Power Macintosh powerpc macos-20041118 Python: [2.3.5 (#1, Mar 20 2005, 20:38:20)] distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc emboss nls ppc-macos userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
gettext has a 'hidden' USE flag: ppc-macos. add ppc-macos to your USE flags, re-emerge gettext, then glib will get past the configure step. (I then get a link error on glib, but that's another bug)
Everything in your emerge --info looks just fine. Try re-emerging gettext and if it doesn't work, then post back here. This is a gettext, rather than a glib issue.
you have to emerge gettext with the nls useflag active, otherwise you will miss the messages handling library (libintl), which is needed on non glibc systems. In fact it's the check for libintl.h which fails. gettext-0.14.4.ebuild force '--enable-nls' on non glibc systems, so you won't need to bother anymore when it will become stable.
0.14.4 has been made stable. Should fix the problem.