Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14297 - PostgreSQL won't emerge
Summary: PostgreSQL won't emerge
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
Depends on:
Reported: 2003-01-21 09:51 UTC by Sean Coates
Modified: 2011-10-30 22:17 UTC (History)
2 users (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 Sean Coates 2003-01-21 09:51:14 UTC
I get the following when trying to emerge PostgreSQL:

sean@adnagaporp sean $ sudo emerge postgresql
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-db/postgresql-7.3 to /

checking for library containing gettext... none required
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
configure: error: header file <libintl.h> is required for NLS

!!! ERROR: dev-db/postgresql-7.3 failed.
!!! Function src_compile, Line 67, Exitcode 1
!!! (no error message)

and am thus unable to build PostgreSQL

Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-21 09:52:09 UTC
quick solution

USE="-nls" emerge postgresql
Comment 2 Joachim Blaabjerg (RETIRED) gentoo-dev 2003-01-21 10:26:12 UTC
elysium root # qpkg -f /usr/include/libintl.h -v 
sys-libs/glibc-2.3.1-r3 * 
I'm not really sure why I have this and you don't - I compiled glibc with USE="-nls". 
Which version of glibc have you got? 2.2.X perhaps? 
Comment 3 Sean Coates 2003-01-21 10:33:25 UTC
root@adnagaporp etc # qpkg -f /usr/include/libintl.h -v
sys-libs/glibc-2.2.5-r6 *

Yeah.. odd.
I emerged gcc on Sunday.

what's with the USE="-nls" ? PostgreSQL emerges just fine if I do that..
(USE="-nls" sudo emerge postgresql)


.. I can build now, but only with the workaround (ie, it's not acutally "fixed")..

Comment 4 Joachim Blaabjerg (RETIRED) gentoo-dev 2003-01-21 10:44:38 UTC
Uhm. That's kind of weird. You actually *have* libintl.h, but the configure script can't 
find it? Perhaps it requires a libintl.h from glibc-2.3.X to work, then... Ryan, any 
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2003-01-21 11:53:48 UTC
libintl should be within glibc... I've run across this problem is multiple
places, but haven't actually found the problem.  Perhaps it was a bad glibc
Comment 6 Alvaro Figueroa (RETIRED) gentoo-dev 2003-01-27 11:39:48 UTC
Has anyone here tried to do what the configure script does and figure out what
goes wrong?
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-07-09 12:39:53 UTC
7.3.3 fixed this