Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PkgConfig CPAN distribution.

Report information
The Basics
Id: 96315
Status: resolved
Priority: 0/
Queue: PkgConfig

People
Owner: Nobody in particular
Requestors: KARASIK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: wrong use of version from commandline
pkg-config doesn't parse version requirement correctly, f.ex. pkg-config --exists --print-errors "somelibrary >= 1.0.0" This affects perl-Cairo on strawberry 5.20 that fails because it uses ExtUtils::PkgConfig->find("cairo >= 1.0.0");
On Sat Jun 07 14:43:47 2014, KARASIK wrote: Show quoted text
> pkg-config doesn't parse version requirement correctly, f.ex. > > pkg-config --exists --print-errors "somelibrary >= 1.0.0" > > This affects perl-Cairo on strawberry 5.20 that fails because it uses > ExtUtils::PkgConfig->find("cairo >= 1.0.0");
I think we can add that. I had to add --atleast-version, --exact-version and --max-version to get ExtUtils::PkgConfig to pass its tests, and this is mostly a variation on that.
I believe 0.07620_01 should address this. I don't have cairo on my Windows, but I was able to get it to install on Linux when I put PkgConfig as pkg-config in the path before the system one. If you want to test this version on Strawberry to verify, I would appreciate it. I will probably promote this to a production version early this week sometime unless there are CPAN testers failures.
Yes thank you it works!