Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7976

Summary: Error compiling mod_php-4.2.3
Product: Gentoo Linux Reporter: Martin Larsen <martin.larsen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: kevin, martin.larsen, vapier
Priority: High    
Version: 1.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Larsen 2002-09-16 01:17:46 UTC
When I try to emerge mod_php-4.2.3 it stops with the following error: 
 
checking for gdImageColorResolve in -lgd... no 
checking for gdImageGifCtx in -lgd... no 
checking for GNU gettext support... yes 
configure: error: Cannot locate header file libintl.h 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 183, Exitcode 1 
!!! bad ./configure 
 
And it really seems like libintl.h doesn't exist on my system. 
 
I've tried unmerging and reemerging gettext 0.11.1 as I guess it should 
provide libintl.h but that didn't solve the problem. 
 
Useflags is USE="tcltk 3dnow mmx x dga opengl xv kde qt cups qtmt arts xmms 
oggvorbis doc innodb berkdb java perl gd freetype" 
 
Compiler is gcc 2.95.3
Comment 1 SpanKY gentoo-dev 2002-09-16 03:46:18 UTC
run this little script:
`emerge rsync ; emerge portage ; emerge glibc mod_php`

there is a bug open about this right now but do that to fix your problem ;)
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-09-16 13:12:34 UTC
btw binutils and ?gettext? successfuly compile
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-16 19:08:47 UTC
that's fine, but as SpanKY said, glibc provides libintl.h...
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-20 06:02:59 UTC
well?
Comment 5 Martin Larsen 2002-09-23 00:56:02 UTC
Sorry... Life got in the way. :-) 
 
mod_php-4.2.3 is now masked but I tried it anyway and after re-emerging glibc 
it finished the configure stage. I didn't try to install it fully as the 
mask-comment said "this ebuid messes up hardcore and isn't tested". 
 
So as far as I'm concerned this is resolved. :-) 
 
Thanks 
Comment 6 SpanKY gentoo-dev 2002-09-23 01:23:16 UTC
yeah, its really a dupe of another but i wanted to make sure you're all set :)