Skip Menu |

This queue is for tickets about the Module-Signature CPAN distribution.

Report information
The Basics
Id: 120405
Status: open
Priority: 0/
Queue: Module-Signature

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

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



Subject: Fails install when no '.' in @INC

On 5.25.10 with -Ddefault_inc_excludes_dot

Configuring Module-Signature-0.81 ... Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10 /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
Configuring Module-Signature failed.


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

From: ppisar [...] redhat.com
Dne Po 27.úno.2017 01:20:27, KENTNL napsal(a): Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > Configuring Module-Signature-0.81 ... Can't locate > inc/Module/Install.pm in > @INC
A fix is attached. Another solution is not to use inc::Module::Install at all.
Subject: Module-Signature-0.81-Fix-building-on-Perl-without-.-in-INC.patch
From 57a01416f60f5771cdcc30a9d7feaf89f94f65da 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 14:48:30 +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 7f0ed7a..65f1093 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ use strict; +BEGIN { push @INC, '.'; } use inc::Module::Install 0.92; $|++; -- 2.9.4