Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2354 - gnome-core and others fails to find png.h when compiling
Summary: gnome-core and others fails to find png.h when compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-02 14:14 UTC by Sean P. Kane
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Sean P. Kane 2002-05-02 14:14:31 UTC
Recent gnome-core ebuilds are failing when looking for png.h even though thet 
header is installed on my system. I am able to work around it by adding 
-I/usr/include/png
to the CCFLAGS in the ebuild.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-02 14:17:04 UTC
what version of libpng?
Comment 2 Sean P. Kane 2002-05-02 15:24:02 UTC
Well, first the work around was actually adding to the CCFLAGS:
-I/usr/include/libpng

I have libpng-1.2.2

Also I am noticing this problem in a few more ebuilds as I progress in the 
emerge gnome proccess. I am now stuck on librsvg with the same error about not 
finding png.h

This sounds more like it is a general configuration or autoconf problem. Any 
ideas what I  should look at?


Thanks,
Sean

Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-02 15:45:50 UTC
please emerge --clean rsync, then emerge libpng
and then all your problems will disappear.  

libpng-1.2.2 is in fact not in portage any more because it is broken.  It was
removed some days ago...