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