Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2801 - php-4.2.0 ebuild breaks width "libpng not found"
Summary: php-4.2.0 ebuild breaks width "libpng not found"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
: 2842 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-17 11:31 UTC by Peter Stieglecker
Modified: 2003-03-08 16:23 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 Peter Stieglecker 2002-05-17 11:31:53 UTC
Installing a fresh system with Gentoo 1.1a emerging php gives:

[...]
checking for the location of libpng... yes
checking for png_create_info_struct in -lpng... no
configure: error: libpng not found!
 
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 148, Exitcode 1
!!! bad ./configure
 
!!! emerge aborting on  /usr/portage/dev-lang/php/php-4.2.0.ebuild .           
                                 
(libpng is emerged and is there in /usr/lib/libpng*)
Comment 1 SpanKY gentoo-dev 2002-05-17 13:33:51 UTC
Bug 2708 had the solution for this posted in its comments ;)

BEFORE:
  --with-png-dir=/usr/lib \
AFTER:
  --with-png-dir=/usr \
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-19 06:43:11 UTC
*** Bug 2842 has been marked as a duplicate of this bug. ***
Comment 3 Dewet Diener 2003-03-08 16:23:31 UTC
This one just bit me on a mod_php-4.3.1 compile as well.  It didn't happen with the 4.3.0* that 
was installed before...  After changing the ebuild as suggested, it compiled fine.