Skip Menu |
 

This queue is for tickets about the Sub-Prototype CPAN distribution.

Report information
The Basics
Id: 121723
Status: resolved
Priority: 0/
Queue: Sub-Prototype

People
Owner: ether [...] cpan.org
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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

Attachments
Sub-Prototype-0.02-Fix-building-on-Perl-without-.-in-INC.patch



Subject: Makefile.PL fails on Perl without "." in @INC
Download (untitled) / with headers
text/plain 494b
Perl 5.26.0 removes "." from @INC and 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 6. BEGIN failed--compilation aborted at Makefile.PL line 6. A fix is attached. Another solution is not to use inc::Module::Install at all.
Subject: Sub-Prototype-0.02-Fix-building-on-Perl-without-.-in-INC.patch
From 2ee9876f0ee02f3cc947272cf73258e4de02943d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Wed, 17 May 2017 09:26:05 +0200 Subject: [PATCH] Fix building on Perl without "." in @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař <ppisar@redhat.com> --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 52f4816..4bcf9d1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,7 @@ use warnings; require 5.008001; +BEGIN { push @INC, '.'; } use inc::Module::Install; name 'Sub-Prototype'; -- 2.9.4
Fixed in 0.03.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.