Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92446 - glib-2.6 cannot configure, missing gettext even though gettext is installed
Summary: glib-2.6 cannot configure, missing gettext even though gettext is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 16:21 UTC by vnv_lain
Modified: 2006-04-12 10:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vnv_lain 2005-05-12 16:21:55 UTC
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
Comment 1 kevin 2005-05-30 07:57:31 UTC
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)
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-05-30 18:11:09 UTC
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.
Comment 3 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-06-05 14:44:52 UTC
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.
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-06-12 16:24:38 UTC
0.14.4 has been made stable. Should fix the problem.