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

Bug 20111

Summary: emerge php-4.3.1 fails without libpng
Product: Gentoo Linux Reporter: Caleb Tennis (RETIRED) <caleb>
Component: [OLD] Core systemAssignee: PHP Bugs <php-bugs>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Tennis (RETIRED) gentoo-dev 2003-04-28 12:21:11 UTC
my system was with the USE="-libpng", and php emerged properly without relying on 
libpng to be installed, but configure fails because it cannot find libpng: 
 
configure: error: libpng.(a|so) not found 
 
My assumption is that libpng is now a requirement for php.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-28 13:26:10 UTC
Do you have 'gd' in your USE flags?
PHP requires gd to be built to libpng if you use gd.
There is no way to force this inside portage presently unfortunetly (but it is being worked on).
Any specific reason you are excluding libpng from your system?
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-04-28 13:42:15 UTC
gd isn't explicitly in the use flags. 
 
No, I didn't have an explicit reason to *not* use libpng.  When using ufed I just turned off 
everything that I wasn't planning on using for this particularl computer.  Installing libpng 
fixed this problem. 
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-14 18:53:40 UTC
Fixed in new PHP eclass to be released very soon.
When it is, please test it ASAP.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-06-09 11:12:05 UTC
works for me 
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-26 17:08:54 UTC
closing old bugs.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-26 17:09:13 UTC
closing old bugs.