[cairo] problem building cairo 1.2.6
tj
999alfred at comcast.net
Fri Feb 2 12:07:35 PST 2007
Thanks for the advice, but alas it didn't work.
With the folowing
cairo-1.2.6$ echo $PKG_CONFIG
/usr/lib/pkgconfig
cairo-1.2.6$ echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig
I still get the same error as below.
The question is, why is it giving a "command not found error" ?
And the error line number is a blank line?
tj
David Turner wrote:
>I believe you must define PKG_CONGIG_PATH, not PKG_CONFIG
>
>Once your configuration is ok, pkg-config --cflags libpng should dump something useful
>
>Hope this helps,
>
>- David
>
>
>On Thu, 01 Feb 2007 17:39:53 -0500, "tj" <999alfred at comcast.net> said:
>
>
>>When I try to configure cairo 1.2.6 I get this...
>>
>>$./configure
>>.
>>.
>>.
>>checking for cairo's PNG backend...
>>./configure: line 24784: --exists: command not found
>>./configure: line 24784: --exists: command not found
>>./configure: line 24784: --exists: command not found
>>configure: WARNING: Could not find libpng in the pkg-config search path
>>checking whether cairo's PNG backend could be enabled... no
>>configure: error: requested PNG backend could not be enabled
>>
>>My PKG_CONFIG is set correctly to
>>$ echo $PKG_CONFIG
>>/usr/lib/pkgconfig
>>
>>And:
>>
>>$ ls -l /usr/lib/pkgconfig/libpng*
>>lrwxrwxrwx 1 root root 11 Feb 7 2004
>>/usr/lib/pkgconfig/libpng.pc -> libpng12.pc
>>-rw-r--r-- 1 root root 232 Oct 13 2002
>>/usr/lib/pkgconfig/libpng12.pc
>>
>>I looked at line 24784 in configure and it is a blank line.
>>
>>So, can a kind soul tell me what my problem is?
>>
>>tj
>>
>>
>>_______________________________________________
>>cairo mailing list
>>cairo at cairographics.org
>>http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>>
>>
>
>
>
More information about the cairo
mailing list