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.