Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6198 - emerge mod_php fails with gettext error when using gd
Summary: emerge mod_php fails with gettext error when using gd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-08 07:25 UTC by Christoph Luehr
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Luehr 2002-08-08 07:25:36 UTC
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.
Comment 1 Benjamin J. 2002-08-08 10:50:23 UTC
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)
Comment 2 Matt Jones 2002-08-10 02:52:56 UTC
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
Comment 3 Christoph Luehr 2002-08-10 07:22:26 UTC
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.