Subject: | Can't locate inc/Module/Package.pm in @INC |
This looks like a no-dot-in-@INC issue in some newer perl installations:
...
Output from '/opt/perl-5.28.0/bin/perl Makefile.PL INSTALLDIRS=site':
Can't locate inc/Module/Package.pm in @INC (you may need to install the inc::Module::Package module) (@INC contains: /var/tmp/cpansmoker-11577/2019061814/CPAN-Reporter-lib-n0bo /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/site_perl/5.28.0 /opt/perl-5.28.0/lib/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/5.28.0) at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.
...
Easy fix, as usual, is to add something like 'use lib "."' to the beginning of Makefile.PL.