[cairo-bugs] [Bug 28330] Cairo 1.8.10 fails to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 31 11:10:07 PDT 2010


a at jenisch.at changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #2 from a at jenisch.at 2010-05-31 11:10:02 PDT ---
(In reply to comment #1)
> If you can answer the question how did it detect the png headers during
> configure but fail to include the relevant directory during compile, you've
> solved the problem.
> There should be a config.log which hopefully will give the details of the png
> tests.

Hi Chris,

Thanks much for pointing me in the right direction (config.log):

configure:22497: checking for cairo's PNG functions feature
configure:22530: checking for png
configure:22537: $PKG_CONFIG --exists --print-errors "$png_REQUIRES"
gnome-config: not found
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
configure:22540: $? = 1

libpng (/usr/ports/graphics/png) was installed on the system in question, but
for some reason /usr/local/libdata/pkgconfig/libpng.pc was missing which is
just a link to /usr/local/libdata/pkgconfig/libpng14.pc.

I re-installed the "png"-port and now cairo is happy again.

Thanks again for your help!


Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list