Skip Menu |

This queue is for tickets about the Log-Dispatch-Screen-Color CPAN distribution.

Report information
The Basics
Id: 122868
Status: new
Priority: 0/
Queue: Log-Dispatch-Screen-Color

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

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



Subject: Fails build when no '.' in @INC
With perl 5.26.0 (for example): $ perl 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.0/lib/site_perl/5.26.0/x86_64-linux /opt/perl-5.26.0/lib/site_perl/5.26.0 /opt/perl-5.26.0/lib/5.26.0/x86_64-linux /opt/perl-5.26.0/lib/5.26.0) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. A possible fix is to add something like use lib "."; on top of Makefile.PL. Note that CPAN clients like CPAN.pm and cpanm do some magic so it only fails when building from commandline. But this magic will be removed in later versions of these clients & perl versions.
On 2017-08-22 10:05:50, SREZIC wrote: Show quoted text
> With perl 5.26.0 (for example): > > $ perl 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.0/lib/site_perl/5.26.0/x86_64-linux /opt/perl- > 5.26.0/lib/site_perl/5.26.0 /opt/perl-5.26.0/lib/5.26.0/x86_64-linux > /opt/perl-5.26.0/lib/5.26.0) at Makefile.PL line 1. > BEGIN failed--compilation aborted at Makefile.PL line 1. > > > A possible fix is to add something like > > use lib "."; > > on top of Makefile.PL. > > Note that CPAN clients like CPAN.pm and cpanm do some magic so it only > fails when building from commandline. But this magic will be removed > in later versions of these clients & perl versions.
Here's a formal patch: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Log-Dispatch-Screen-Color-0.04-RT122868.patch