Skip Menu |

This queue is for tickets about the XML-Atom CPAN distribution.

Report information
The Basics
Id: 120831
Status: open
Priority: 0/
Queue: XML-Atom

People
Owner: DAVECROSS [...] cpan.org
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: XML-Atom: Configuration fails with Perl 5 blead due to no-dot-by-default-in-@INC
In Perl 5.26.0, '.' will no longer be found by default in @INC. Today I attempted to configure this library against Perl 5 blead. These were my results: ##### $ !527 /home/jkeenan/testing/blead/bin/perl -I /home/jkeenan/testing/blead/lib 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 /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 3. BEGIN failed--compilation aborted at Makefile.PL line 3. ##### Pull request to follow. Thank you very much. Jim Keenan
On Sat Apr 01 10:04:03 2017, JKEENAN wrote: Show quoted text
> In Perl 5.26.0, '.' will no longer be found by default in @INC. > > Today I attempted to configure this library against Perl 5 blead. > These were my results: > > ##### > $ !527 > /home/jkeenan/testing/blead/bin/perl -I > /home/jkeenan/testing/blead/lib 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 > /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 3. > BEGIN failed--compilation aborted at Makefile.PL line 3. > ##### > > Pull request to follow. > > Thank you very much. > Jim Keenan
This patch should suffice: diff --git a/Makefile.PL b/Makefile.PL index 0e2c346..df08acf 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,6 @@ # $Id$ +use lib '.'; use inc::Module::Install; use 5.008;
Thanks, I've submitted a pull request. https://github.com/miyagawa/xml-atom/pull/10 Dave...