Skip Menu |

This queue is for tickets about the Plack-Middleware-ReverseProxy CPAN distribution.

Report information
The Basics
Id: 120815
Status: open
Priority: 0/
Queue: Plack-Middleware-ReverseProxy

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

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



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
On Fri Mar 31 11:45:13 2017, JKEENAN wrote: Show quoted text
> 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
In an attempt to create a pull request for this bug, I cloned the github repository -- only to discover that there is no 'inc/' directory in the git checkout.
On Fri Mar 31 11:50:44 2017, JKEENAN wrote: Show quoted text
> In an attempt to create a pull request for this bug, I cloned the > github repository -- only to discover that there is no 'inc/' > directory in the git checkout.
If I understand correctly, `inc` is not supposed to be checked into the repository. Once you installed Module::Install on your system: $ cpanm Module::Install Module::Install::AuthorTests Module::Install::Repository it will auto-update the files in `inc` and will add them when you make `make dist`.