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 S
quick solution USE="-nls" emerge postgresql
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?
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").. S
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 ideas?
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 release...
Has anyone here tried to do what the configure script does and figure out what goes wrong?
7.3.3 fixed this