Subject: | Makefile.PL not compatible with "no-dot-by-default-in-@INC" |
In perl 5.26.0, '.' will no longer be found by default in @INC. Any CPAN distribution using Module::Install will have to modify its Makefile.PL so that inc::Module::Install can be located properly.
Today I attempted to install this distribution against Perl 5 blead using 'cpanm'. Here is an excerpt from the cpanm build.log:
#####
Configuring Plack-Middleware-ReverseProxy-0.15
Running Makefile.PL
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.11/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.11 /home/jkeenan/testing/blead/lib/perl5/5.25.11/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.25.11) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
-> N/A
-> FAIL Configure failed for Plack-Middleware-ReverseProxy-0.15. See /home/jkeenan/.cpanm/work/1490974818.8885/build.log for details.
#####
Thank you very much.
Jim Keenan