Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57868 - Porting: glib & ranlib
Summary: Porting: glib & ranlib
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: osx porters
Depends on: 58848
  Show dependency tree
Reported: 2004-07-21 09:13 UTC by Zaheer Abbas Merali (RETIRED)
Modified: 2005-02-06 13:33 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-07-21 09:13:20 UTC
to emerge glib successfully, gettext has to be emerged with the USE flag nls enabled.  This is only relevant for Gentoo on OSX.

Reproducible: Always
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.
Comment 1 Lina Pezzella (RETIRED) gentoo-dev 2004-07-26 21:08:57 UTC
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.
Comment 2 stevenschlansker 2004-08-25 09:53:18 UTC
I just emerged glib with neither of the below problems.
Comment 3 Chris L. Mason 2004-09-19 13:19:12 UTC
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.
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2004-09-19 13:56:34 UTC
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.
Comment 5 Chris L. Mason 2004-09-19 14:57:10 UTC
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]
CFLAGS="-O2 -pipe"
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"
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.

Comment 6 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-24 19:21:37 UTC
Lina: what's the current status of this bug. Is it correct to describe it as a ranlib issue?
Comment 7 Hasan Khalil (RETIRED) gentoo-dev 2004-09-30 13:09:50 UTC
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)?
Comment 8 Chris L. Mason 2004-09-30 13:19:19 UTC
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.
Comment 9 Chris L. Mason 2004-10-09 12:26:55 UTC
No problem (portage rc7, glib 2.4.7) anymore.  Thanks.
Comment 10 Hasan Khalil (RETIRED) gentoo-dev 2004-10-10 07:24:48 UTC
All set then. Reopen if not.
Comment 11 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:29 UTC
Closing out bugs that've been resolved for a while now...