Skip Menu |

This queue is for tickets about the EAV-XS CPAN distribution.

Report information
The Basics
Id: 132191
Status: resolved
Worked: 3 hours (181 min)
Priority: 0/
Queue: EAV-XS

People
Owner: TVV [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: ExtUtils::PkgConfig not declared as a configure_requires dependency
Automatic installation fails if ExtUtils::PkgConfig is not yet installed: ... Output from '/usr/local/bin/perl Makefile.PL': Can't locate ExtUtils/PkgConfig.pm in @INC (you may need to install the ExtUtils::PkgConfig module) (@INC contains: /var/tmp/cpansmoker-1023/2020032107/CPAN-Reporter-lib-dO9S /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. ... Probably it has to be declared as a configure_requires dependency. Also, it seems that a newer version of EU::PkgConfig is required, as on some systems I saw the following problem: ... Output from '/usr/perl5.20.1Dp/bin/perl Makefile.PL': Use default options (y/n)? [y] y method 'exists' not implemented at Makefile.PL line 210. ... Probably here an older EU::PkgConfig without the exists() method was installed.
Hello, Thanks for the report. I will try to fix the issue ASAP. I will be very appreciated, if you give an example (a perl module) where ExtUtitils::PkgConfig is using before calling WriteMakefile(). Because I see at the moment only a way with calling WriteMakefile() twice: once to install ExtUtitils::PkgConfig and then call the WriteMakefile() again just to install the target module. I suppose this is a mess and may be I am wrong and this is a proper way. Thank you.
I have solved the issue on my system. Still, it produce weird result (see the output below). % perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite ExtUtils::PkgConfig 1.16 not found. Use default options (y/n)? [y] n Select IDN library to build with (auto/idn/idn2/idnkit): [auto] Can't locate ExtUtils/PkgConfig.pm in @INC (you may need to install the ExtUtils::PkgConfig module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 231, <STDIN> line 2. No need to reply to this message. I will close the ticket when I will release a new version. If there are would be problems, then I would think how to fix them.
Fixed in 0.3.2.