develooper Front page | perl.perl5.porters | Postings from January 2015

[perl #123689] Error building perl 5.20.1 64bit on win7 VS2010: glob problem in enc2xs?

Thread Previous
From:
Tony Cook via RT
Date:
January 29, 2015 00:14
Subject:
[perl #123689] Error building perl 5.20.1 64bit on win7 VS2010: glob problem in enc2xs?
Message ID:
rt-4.0.18-20404-1422490451-1071.123689-15-0@perl.org
On Wed Jan 28 07:01:32 2015, zhouzhen1@gmail.com wrote:
> We are trying to build 5.20.1 64bit on win7 with VS2010 in our
> company, and get errors on building encodings. The error messages were
> like in #118261 https://rt.perl.org/Public/Bug/Display.html?id=118261
> (note that cl usage issue, but the enc2xs error described at the
> beginning of that post. )
> 
> We guess the problem is at enc2xs, line 125
> 
> eval "\@ARGV = map(glob(\$_),\@ARGV)" if ($^O eq 'MSWin32');
> 
> And we added some print statements (eg. print "DEBUG before glob: ",
> join(' ', @ARGV), "\n";) before/after this line to check it. And the
> log is like below,
> 
...
>  ..\..\..\miniperl.exe "-I..\..\..\lib" ..\bin\enc2xs -"Q" -o
> ir_04_t.c - f ir_04_t.fnm
>  DEBUG before glob: -Q,-o,ir_04_t.c,-f,ir_04_t.fnm
>  Use of uninitialized value $flist in open at ..\bin\enc2xs line 149.
>  Use of uninitialized value $flist in concatenation (.) or string at
> ..\bin\enc2x s line 149.
>  Cannot open :No such file or directory at ..\bin\enc2xs line 149.
>  DEBUG after glob: -Q,-o,ir_04_t.c,-f

Do you see the same problem if you run glob manually using miniperl?

eg.

  .\miniperl -le "print for glob(shift)" -- -Q,-o,ir_04_t.c,-f,ir_04_t.fnm

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=123689

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About