Discussion:
[rt.cpan.org #114465] Installing pp (or PAR) doesn't work
(too old to reply)
Chuck R. via RT
2016-05-18 12:57:50 UTC
Permalink
Wed May 18 08:57:49 2016: Request 114465 was acted upon.
Transaction: Ticket created by CHUCKROB
Queue: PAR
Subject: Installing pp (or PAR) doesn't work
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=114465 >


Win 7 64-bit and Strawberry perl 5.24.0 64-bit. Installing pp doesn't work.

I installed a fresh copy of Strawberry Perl 5.24.0 just now.

Then I did: cpanm pp

This is the whole screen output of what I got:

C:\chuck\strawperl524>cpanm pp
--> Working on pp
Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.032.tar.gz ...
OK
Configuring PAR-Packer-1.032 ... OK
==> Found dependencies: Module::ScanDeps, Getopt::ArgvFile
--> Working on Module::ScanDeps
Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1.21.tar.gz
... OK
Configuring Module-ScanDeps-1.21 ... OK
Building and testing Module-ScanDeps-1.21 ... OK
Successfully installed Module-ScanDeps-1.21
--> Working on Getopt::ArgvFile
Fetching http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.g
z ... OK
Configuring Getopt-ArgvFile-1.11 ... OK
Building and testing Getopt-ArgvFile-1.11 ... OK
Successfully installed Getopt-ArgvFile-1.11
Building and testing PAR-Packer-1.032 ... FAIL
! Installing pp failed. See C:\Users\chuck\.cpanm\work\1463574810.57248\build.log for details. Retry with --force to force install it.
2 distributions installed

C:\chuck\strawperl524>

These are the last lines of build.log:

# embedding "C:/chuck/strawperl524/perl/bin/libstdc++-6.dll" as "libstdc++-6.dll"
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -I"C:\chuck\strawperl524\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 boot.c
In file included from mktmpdir.h:85:0,
from mktmpdir.c:1,
from boot.c:10:
sha1.c: In function 'sha_transform':
sha1.c:146:2: warning: right shift count >= width of type
T >>= 32;
^
g++ boot.o -static-libgcc ppresource.coff -o boot.exe
rem
"C:\chuck\strawperl524\perl\bin\perl.exe" encode_append.pl Static.in boot.exe Static.pm
cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
"C:\chuck\strawperl524\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl boot.exe -q -B -Oparl.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parl.exe ..\blib\script\parl.exe
rem ..\blib\script\parl.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl par.exe -q -B -Oparldyn.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parldyn.exe ..\blib\script\parldyn.exe
rem ..\blib\script\parldyn.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/par.pl blib\script\par.pl
pl2bat.bat blib\script\par.pl
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/pp blib\script\pp
pl2bat.bat blib\script\pp
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/tkpp blib\script\tkpp
pl2bat.bat blib\script\tkpp
dmake: Error: -- Don't know how to make `test_dynamic'
dmake.exe: Error code 255, while making 'subdirs-test_dynamic'
-> FAIL Installing pp failed. See C:\Users\chuck\.cpanm\work\1463574810.57248\build.log for details. Retry with --force to force install it.
2 distributions installed

Anyone know a solution for this? Thanks.
Chuck R. via RT
2016-05-18 13:09:04 UTC
Permalink
Wed May 18 09:09:02 2016: Request 114465 was acted upon.
Transaction: Correspondence added by CHUCKROB
Queue: PAR
Subject: Installing pp (or PAR) doesn't work
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=114465 >


It was trying to install PAR::Packer 1.032.

Doing: > cpanm PAR::Packer

gives me the same error from build.log:

g++ boot.o -static-libgcc ppresource.coff -o boot.exe
rem
"C:\chuck\strawperl524\perl\bin\perl.exe" encode_append.pl Static.in boot.exe Static.pm
cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
"C:\chuck\strawperl524\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl boot.exe -q -B -Oparl.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parl.exe ..\blib\script\parl.exe
rem ..\blib\script\parl.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl par.exe -q -B -Oparldyn.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parldyn.exe ..\blib\script\parldyn.exe
rem ..\blib\script\parldyn.exe
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/par.pl blib\script\par.pl
pl2bat.bat blib\script\par.pl
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/pp blib\script\pp
pl2bat.bat blib\script\pp
"C:\chuck\strawperl524\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/tkpp blib\script\tkpp
pl2bat.bat blib\script\tkpp

dmake: Error: -- Don't know how to make `test_dynamic'
dmake.exe: Error code 255, while making 'subdirs-test_dynamic'
-> FAIL Installing PAR::Packer failed. See C:\Users\chuck\.cpanm\work\1463576740.58744\build.log for details. Retry with --force to force install it.
Chuck R. via RT
2016-05-18 13:14:23 UTC
Permalink
Wed May 18 09:14:17 2016: Request 114465 was acted upon.
Transaction: Correspondence added by CHUCKROB
Queue: PAR
Subject: Installing pp (or PAR) doesn't work
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=114465 >


Top of 2nd build.log file above says:

cpanm (App::cpanminus) 1.7041 on perl 5.024000 built for MSWin32-x64-multi-thread
Work directory is C:\Users\chuck/.cpanm/work/1463576740.58744

You have make C:\chuck\strawperl524\c\bin\dmake.exe

You have LWP 6.15


So I ran dmake -V and dmake is v 4.12.

Loading...