<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I'm on CentOS 4.</DIV>
<DIV> </DIV>
<DIV>when running ./configure I'm getting the following error:</DIV>
<DIV> </DIV>
<DIV>checking for cairo's PNG backend...<BR>./configure: line 24790: --exists: command not found<BR>./configure: line 24790: --exists: command not found<BR>./configure: line 24790: --exists: command not found<BR>configure: WARNING: Could not find libpng in the pkg-config search path<BR>checking whether cairo's PNG backend could be enabled... no<BR>configure: error: requested PNG backend could not be enabled<BR></DIV>
<DIV>I tried to run configure as follows, but I get the same error:</DIV>
<DIV> </DIV>
<DIV>./configure png_CFLAGS=`libpng-config --cflags` png_LIBS=`libpng-config --libs`</DIV>
<DIV> </DIV>
<DIV>Running each of the args seperately gives:</DIV>
<DIV><BR>[root@www cairo-1.2.6]# libpng-config --cflags<BR>-I/usr/include/libpng12<BR>[root@www cairo-1.2.6]# libpng-config --libs<BR>-lpng12<BR></DIV>
<DIV>Will someone please suggest the magic encantation needed to get configure to suceed for cairo?</DIV>
<DIV> </DIV>
<DIV>Thank you for your time!</DIV>
<DIV> </DIV>
<DIV>Todd W.</DIV>
<DIV> </DIV></div></body></html>