<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all,<br><br>Sorry to be a bother but I'm just about at the end of my rope here..<br><br>I'm attempting to compile cairo with mingw/msys.<br><br>Everything else (zlib, libpng, etc) seems to compile and install fine but when I get to cairo itself, no matter what I do, there's always something tripping me up.<br><br>My last attempt at ./configure gave me this at the end:<br><br>checking for cairo's PNG functions feature... <br>checking whether cairo's PNG functions feature could be enabled... no<br>configure: WARNING: Win32 Printing backend will not be tested since ghostscript<br>is not available<br>configure: WARNING: Could not find libpng in the pkg-config search path<br>configure: error: recommended PNG functions feature could not be enabled<br><br>WHERE and WHAT is pkg-config looking for concerning libpng??<br><br>pkg-config is being run
with:<br><br>/mingw/bin/aliased/pkg-config.exe $* --prefix-variable=/usr/local<br><br>And<br><br>/usr/local/lib/libpng12.a<br>/usr/local/lib/libpng12.dll.a<br>/usr/local/lib/libpng.a<br>/usr/local/lib/libpng.dll.a<br><br>/usr/local/bin/libpng12.dll<br><br>/usr/local/include/libpng/png.h<br>/usr/local/include/libpng12/png.h<br><br>So why can't pkg-config find my pnglib!!<br><br>Thanks<br><br><br><br></td></tr></table><br>