Skip Menu |

This queue is for tickets about the Unicode-Collate CPAN distribution.

Report information
The Basics
Id: 121664
Status: resolved
Priority: 0/
Queue: Unicode-Collate

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

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



Subject: . removed from @INC
In perl 5.26 the dot is not anymore part of @INC. This is causing build failures: Output from '/opt/perl-5.26.0-RC1/bin/perl Makefile.PL': Making header files for XS... do "mkheader" failed, '.' is no longer in @INC; did you mean do "./mkheader"? at Makefile.PL line 9. mkheader: No such file or directory at Makefile.PL line 9. Note that this happens only if running Makefile.PL directly from command line --- CPAN.pm et al have temporary hacks to prevent this problem.
Thank you for your report. I will try to fix it on perl 5.26.1. Show quoted text
> In perl 5.26 the dot is not anymore part of @INC. This is causing > build failures: > > Output from '/opt/perl-5.26.0-RC1/bin/perl Makefile.PL': > > Making header files for XS... > do "mkheader" failed, '.' is no longer in @INC; did you mean do > "./mkheader"? at Makefile.PL line 9. > mkheader: No such file or directory at Makefile.PL line 9. > > > Note that this happens only if running Makefile.PL directly from > command line --- CPAN.pm et al have temporary hacks to prevent this > problem.
From: ppisar [...] redhat.com
There is similar problem in the mklocale script. This fixes it: --- a/mklocale +++ b/mklocale @@ -546,7 +546,7 @@ for my $txt (@txts) { s/\s*\z/.pm/; my $f = File::Spec->catfile($CUR_DIR, split /::/, $_); $f = 'Korean.pm' if /::Korean\.pm/; # using the newer one - require $f; + require "./$f"; next; } if (/^(alternate)\s+(\S+)/) {
Thank you. Applied. Show quoted text
> There is similar problem in the mklocale script. This fixes it: > > --- a/mklocale > +++ b/mklocale > @@ -546,7 +546,7 @@ for my $txt (@txts) { > s/\s*\z/.pm/; > my $f = File::Spec->catfile($CUR_DIR, split /::/, $_); > $f = 'Korean.pm' if /::Korean\.pm/; # using the newer one > - require $f; > + require "./$f"; > next; > } > if (/^(alternate)\s+(\S+)/) {