[cairo] problem building cairo 1.2.6

David Turner david at freetype.org
Thu Feb 1 14:53:52 PST 2007


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