Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 96288
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: dougk.ff7 [...] gmail.com
Cc:
AdminCc:

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



Subject: PAR::Packer unable to build under Win32/ActivePerl v5.14.2
Date: Fri, 6 Jun 2014 14:53:34 -0500
To: bug-par [...] rt.cpan.org
From: Doug Kelly <dougk.ff7 [...] gmail.com>
I received an error building PAR::Packer under ActivePerl v5.14.2 on Windows 7 (64-bit). The specific error was because MakeMaker would fail on the "use File::Glob ':bsd_glob';" for this version of Perl. Correct me if I'm mistaken, but it appears that, with the way File::Glob is being used, this can be changed to just "use File::Glob;" and where glob() is used in find_dll() can be changed to bsd_glob() (it doesn't look like it depends on the special behavior that "use File::Glob ':bsd_glob';" gives). At least, in my case, this allowed me to successfully build and run PAR::Packer 1.018. I'll attach "perl -v" and "perl -V" output separately, but I am using PAR 1.007 and PAR-Dist 0.49 from ActiveState's build, and managed to build PAR-Packer 1.018 by hand (let CPAN do most of the heavy lifting, and re-ran the makefile myself) Thanks!
On 2014-06-06 15:53:43, dougk.ff7@gmail.com wrote: Show quoted text
> I received an error building PAR::Packer under ActivePerl v5.14.2 on > Windows 7 (64-bit). The specific error was because MakeMaker would fail on > the "use File::Glob ':bsd_glob';" for this version of Perl. > > Correct me if I'm mistaken, but it appears that, with the way File::Glob is > being used, this can be changed to just "use File::Glob;" and where glob() > is used in find_dll() can be changed to bsd_glob() (it doesn't look like it
You're absolutely right: "use File::Glob ':bsd_glob'" has the side effect of mapping CORE::glob to File::Glob::bsd_glob and some versions of MakeMaker seem to rely on the legacy behaviour of CORE::glob. I've committed your suggestion, will be in the next release of PAR::Packer. Thank, Roderich