Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 123131
Status: rejected
Priority: 0/
Queue: Date-Manip

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

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



Subject: Build failure on Strawberry Perl: pl2bat.bat
Installing using the CPAN shell on Strawberry Perl on Windows fails with an error about pl2bat.bat. Except from the session below: H:\>c:\Strawberry\perl\bin\perl -S cpan cpan shell -- CPAN exploration and modules installation (v2.18) Enter 'h' for help. cpan[1]> install Date::Manip Reading 'H:\.cpan\Metadata' Database was generated on Tue, 26 Sep 2017 13:54:02 GMT Running install for module 'Date::Manip' Fetching with LWP: http://www.cpan.org/authors/id/S/SB/SBECK/Date-Manip-6.60.tar.gz Fetching with LWP: http://www.cpan.org/authors/id/S/SB/SBECK/CHECKSUMS Checksum for H:\.cpan\sources\authors\id\S\SB\SBECK\Date-Manip-6.60.tar.gz ok [...] cp lib/Date/Manip/TZ/r00.pm blib\lib\Date\Manip\TZ\r00.pm cp lib/Date/Manip/TZ/utc00.pm blib\lib\Date\Manip\TZ\utc00.pm cp lib/Date/Manip/Zones.pod blib\lib\Date\Manip\Zones.pod "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- examples/dm_date blib\script\dm_date pl2bat.bat blib\script\dm_date Can't execute /c/Strawberry/perl/bin/pl2bat.bat. gmake.EXE: *** [Makefile:1366: blib\script\dm_date] Error 1 SBECK/Date-Manip-6.60.tar.gz C:\Strawberry\c\bin\gmake.EXE -- NOT OK Failed during this command: SBECK/Date-Manip-6.60.tar.gz : make NO
This may have something to do with having the Git user tools installed at the same time as Strawberry Perl.
Yup, changing PATH to put C:\strawberry\perl\bin\perl at the front fixed it. This is kind of a bug in Strawberry Perl, but not specifically in Date::Manip, so I am closing it.
I don't use strawberry (or any other windows perl at this point), and I'm so far removed from perl development on windows that I'm not sure how much use I'll be. I downloaded strawberry perl. You didn't mention a version, so I went with the current (5.26.0.2). Then I used the CPAN shell to install Date::Manip, and it worked just fine. ... and I see you figured it out.
On Tue Sep 26 11:14:53 2017, EDAVIS wrote: Show quoted text
> Yup, changing PATH to put C:\strawberry\perl\bin\perl at the front > fixed it. > > This is kind of a bug in Strawberry Perl, but not specifically in > Date::Manip, so I am closing it.
What git tools package do you have installed? I went to look for it and found a number of git packages for windows. If this is a problem other users are likely to encounter, I'd like to make a note of it in the docs... but if it's a weird corner case, I will just ignore it.