to emerge glib successfully, gettext has to be emerged with the USE flag nls enabled. This is only relevant for Gentoo on OSX.
Steps to Reproduce:
The failure is that emerge of glib when in configure cannot find libintl.h...and that is because gettext
emerge'd without nls USE flag does not install this header.
gettext nls problem has been fixed. However glib throws a libtool error, despite compiling.
This causes it not to link correctly with other programs, such as app-text/dgs.
Needs ranlib on libgmodules.a libgthreads.a and libglib.a
Also has makepsres.c:129: error: conflicting types for `sys_errlist' error.
I just emerged glib with neither of the below problems.
I'm seeing this too. I just did a fresh install of gentoo macos, and glib wouldn't compile because of the missing libintl.h. When I forced gettext to compile with USE="nls" then glib compiled and installed fine.
There should be no need to compile gettext with use=nls. It is already forced within the gettext ebuild. Please `emerge info`, and paste the USE= line here. Make sure it contains either macos or ppc-macos.
Okay, here it is:
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc)
System uname: 7.5.0 Power Macintosh powerpc
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
FEATURES="collision-protect cvs keepwork"
USE="macos crypt imap lzw-tiff mbox ncurses ssl zlib"
When I first emerge'd gettext, it used "-nls" (which was the default, I don't specify nls in my make.conf
file.) I did have to force it to use nls to get libintl.h installed.
Lina: what's the current status of this bug. Is it correct to describe it as a ranlib issue?
I don't see any of these issues on my end. I don't think this bug has anything to do with ranlib either (if it even did); the new portage solves the ranlib issues.
Can the Chris Mason please confirm that it is still an issue (while using portage _rc6 or better)?
I just got a new system and sold my old one. As soon as I get it setup, I'll reinstall gentoo osx and test this. Btw, any chance of a newer installer coming out? The old one requires quite a bit of bootstrapping to get it working.
No problem (portage rc7, glib 2.4.7) anymore. Thanks.
All set then. Reopen if not.
Closing out bugs that've been resolved for a while now...