[cairo] PKG_CONFIG undefined during checking for 'cairo's PNG backend', whilst 'checking for pkg-config' looks good.

Behdad Esfahbod behdad at behdad.org
Tue Nov 7 12:08:26 PST 2006


On Sat, 2006-11-04 at 09:23 -0500, Kalle Vahlman wrote:
> 2006/11/4, Leon Woestenberg <leon.woestenberg at gmail.com>:
> > Hello all,
> >
> > On 11/4/06, Kalle Vahlman <kalle.vahlman at gmail.com> wrote:
> > > 2006/11/4, Leon Woestenberg <leon.woestenberg at gmail.com>:
> > > > I am bringing cairo 1.2.6 as an OpenEmbedded package build, but I run
> > > > into an undefined PKG_CONFIG variable during configure testing the
> > > > availability of png libraries using "--exists", while configure *did*
> > > > find the full pkg-config.
> > > >
> > > > I am lost as where the PKG_CONFIG is set or cleared, can someone look
> > > > along please?
> > >
> > > The actual issue (too old pkg-config) was already pointed out, but
> > > just for future reference it is the
> > >
> > >   PKG_PROG_PKG_CONFIG(0.19)
> > >
> > > autotools macro in configure.in that checks for it and defines the variable.
> > >
> > > Perhaps failing this test should be made fatal (as building cairo
> > > obviously doesn't work without it...)?
> > >
> > Fair enough, mine is 0.15.
> >
> > Any idea why 0.19 is required for cairo 1.2.6?
> 
> Apparently 0.18 is broken, so 0.19 is the earliest one can depend on
> (and it's already year old so not the bleeding edge anyway...)
> 
>   https://bugs.freedesktop.org/show_bug.cgi?id=8686


So, cairo errs now if it doesn't find a suitable pkg-config.


-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list