[cairo] problem building cairo 1.2.6

Behdad Esfahbod behdad at behdad.org
Fri Feb 2 13:26:10 PST 2007


On Thu, 2007-02-01 at 17:39 -0500, tj wrote:
> 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?


This is because of accidental requirement of pkg-config >= 0.19 in cairo
1.2.6.  Either install a newer pkg-config or remove the 0.19 in
configure.in and rerun autogen.sh.  I really want to get 1.2.8 out to
fix this, but unfortunately that keeps slipping.  Sorry about that.

behdad

> tj
> 
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list