[cairo] Making configure error message more clear

Behdad Esfahbod behdad.esfahbod at gmail.com
Thu Mar 25 14:04:36 PDT 2010


On 03/22/2010 02:10 PM, Carl Worth wrote:
> On Thu, 18 Mar 2010 21:15:33 +0100, Arjen Nienhuis <a.g.nienhuis at gmail.com> wrote:
>>> Below is an exchange I recently had with a new user trying to use cairo
>>> who got this error and followed its advice, (browsed to the URL, found
>>> pixman, downloaded it, installed it to the default /usr/local/). But the
>>> user still got the same message, and never knew to adjust the
>>> PKG_CONFIG_PATH environment variable.
>>
>> Why isn't PKG_CONFIG_PATH set to $PREFIX/lib/pkgconfig by default?
> 
> I've often wondered why pkg-config doesn't do that by default.
> 
> But I suppose that we could just have cairo's configure script set that
> environment variable that way if it's not already set. That would be a
> nice solution for this problem.

Interesting.  Why pkg-config doesn't do it is not hard to see.  Why shouldn't
it provide a macro to do that, good q.  I'll fix it in cairo and propose other
packages doing the same.

Thanks,

behdad

> -Carl


More information about the cairo mailing list