plack / psgi-specs

PSGI (Perl WSGI) specifications
http://plackperl.org/
133 stars 33 forks source link

Makefile.PL fails on Perl without "." in @INC #40

Open ppisar opened 7 years ago

ppisar commented 7 years ago

Perl 5.26.0 removes "." from @INC, Makefile.PL fails:

$ perl Makefile.PL 
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

The solution is to patch Makefile.PL or do not use inc::Module::Install at all.