i just updated my system emerge rsync / emerge update world then changed my USE to USE="gd" and re-emerged mod_php. the build process failed with: --- snip --- checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... no configure: error: Unable to find required gettext library !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 172, Exitcode 1 !!! bad ./configure --- snip --- i was using /usr/portage/dev-php/mod_php/mod_php-4.2.2.ebuild i re-emerged libgd / gettext, no changes. when i change my USE back to "" mod_php compiles without problems.
had exactly the same problem but it has nothing to do with gettext but with gd... for me the problem was that i had to add freetype to my use flags because otherwise all checks after gd failed with unresolved dependencies to the freetype lib (php doesnt detect it if there is no option given for it)
I had a similar problem. I couldn't get PHP to compile with GD support. Everytime it started the PHP compile, during it's check stages, it said "GD ... no", even though I had USE "freetype gd". My fix was to add "freetype gd" to the USE statement in /etc/make.profile/make.defaults Peace, Matt
adding freetype to the USE flags didn't help until i manually _removed_ /usr/lib/libgd.* and rebuild libgd- after that, mod_php compiled without hassle.