Skip Menu |

This queue is for tickets about the Plack-App-Proxy CPAN distribution.

Report information
The Basics
Id: 124233
Status: new
Priority: 0/
Queue: Plack-App-Proxy

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: use lib "." needed
In newer perls (e.g. 5.26.1, 5.27.8) "." is not anymore included in @INC, so running the Makefile.PL fails: $ perl5.26.1 Makefile.PL Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /opt/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux /opt/perl-5.26.1/lib/site_perl/5.26.1 /opt/perl-5.26.1/lib/5.26.1/x86_64-linux /opt/perl-5.26.1/lib/5.26.1) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. Currently this is workarounded in the CPAN installers (cpanm, CPAN.pm...), but this workaround will be removed in future, causing the module to fail building. A possible workaround is to add use lib "."; on top of the Makefile.PL.
On 2018-01-26 17:21:53, SREZIC wrote: Show quoted text
> In newer perls (e.g. 5.26.1, 5.27.8) "." is not anymore included in > @INC, so running the Makefile.PL fails: > > $ perl5.26.1 Makefile.PL > Can't locate inc/Module/Install.pm in @INC (you may need to install > the inc::Module::Install module) (@INC contains: /opt/perl- > 5.26.1/lib/site_perl/5.26.1/x86_64-linux /opt/perl- > 5.26.1/lib/site_perl/5.26.1 /opt/perl-5.26.1/lib/5.26.1/x86_64-linux > /opt/perl-5.26.1/lib/5.26.1) at Makefile.PL line 1. > BEGIN failed--compilation aborted at Makefile.PL line 1. > > > Currently this is workarounded in the CPAN installers (cpanm, > CPAN.pm...), but this workaround will be removed in future, causing > the module to fail building. > > A possible workaround is to add > > use lib "."; > > on top of the Makefile.PL.
Here's a patch: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Plack-App-Proxy-0.29-RT124233.patch CPAN.pm users may use the following distroprefs file for automatic patching: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Plack-App-Proxy.yml