Skip Menu |

This queue is for tickets about the prefork CPAN distribution.

Report information
The Basics
Id: 120832
Status: resolved
Priority: 0/
Queue: prefork

People
Owner: ether [...] cpan.org
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails install when no '.' in @INC
On 5.25.11 ( w/ -Ddefault_inc_excludes_dot ), eh, you know the drill by now surely.

 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/prefork-1.40.0-r1/image/
Can't locate inc/Module/Install/DSL.pm in @INC (you may need to install the inc::Module::Install::DSL module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
From: ppisar [...] redhat.com
Dne So 01.dub.2017 14:38:47, KENTNL napsal(a): Show quoted text
> On 5.25.11 ( w/ -Ddefault_inc_excludes_dot ), eh, you know the drill by now > surely. >
A fix is attached. Another solution is not to use inc::Module::Install.
Subject: prefork-1.04-Fix-building-on-Perl-without-.-in-INC.patch
From 53dfca43fcfbea8cad0ab3471d0de54c0858e57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Thu, 18 May 2017 14:03:59 +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 dfc6edc..3f3b217 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +BEGIN { push @INC, '.'; } use inc::Module::Install::DSL 0.91; all_from lib/prefork.pm -- 2.9.4
fixed in release 1.05.