Summary: | Porting: gettext - glib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christophe Godart <christophe.godart> |
Component: | [OLD] Library | Assignee: | osx porters <osx> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 61664, 62085 |
Description
Christophe Godart
2004-09-20 11:28:55 UTC
it looks like gettext was compiled without 'nls'. This should be hardcoded into the ebuild, so it shouldn't have happened. Make sure you've emerged sync recently, then recompile gettext, and try glib again. If it still fails, try 'USE=nls emerge gettext glib'. Works fine here on multiple systems here. Reopen if needed. Hi all, I'm afraid this one needs to be reopened... I just emerged sys-devel/gettext-0.14.1 (tried both with and without the nls use flag) and then tried to emerge dev-libs/glib-2.4.8 (also tried 2.4.6) I get the same error as described in the initial bug report: .... checking for LC_MESSAGES... yes checking libintl.h usability... no checking libintl.h presence... no 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 emerge info: Portage 2.0.51-r3 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.6.0 Power Macintosh) ================================================================= System uname: 7.6.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: Automake: Binutils: Headers: sys-libs/libsystem-7.1 Libtools: ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CFLAGS="" CHOST="powerpc-apple-darwin" COMPILER="" 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="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect distlocks" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="nls ppc-macos" as requested by macshabba Removing the two explicit removes of libintl for macos in 'gettext-0.14.1.ebuild' seems to solve this issue for me. # remove stuff that glibc handles if use ppc-macos then : else rm -f ${D}/usr/include/libintl.h rm -f ${D}/usr/$(get_libdir)/libintl.* fi rm -rf ${D}/usr/share/locale/locale.alias # /usr/lib/charset.alias is provided by Mac OS X use ppc-macos && rm -f ${D}/usr/lib/charset.alias The problem is definitely in gettext and not glib. All versions of glib from 2.4.7 on up compile fine with gettext 0.12.1-r2. libintl.h and friends are NOT provided on OSX systems, therefore we shouldn't remove them here. Fixed in both gettext-0.12.1-r2 and 0.14.1. 0.14.1. 0.14.1 provides an explicit check on an .so file, which obviously does not exist on OSX systems. I've pulled the keyword on that version pending a fix for that conditional. Leaving open until the problems with 0.14.1 are resolved. Closing this bug since there is another bug open dealing with v. 0.14.1 Closing out bugs that've been resolved for a while now... |