perldigious has asked for the wisdom of the Perl Monks concerning the following question:
Update on this... I found a manual solution to my problem here. http://stackoverflow.com/questions/11750022/cannot-install-module-pp-on-windows-7-64-bit-with-strawberry-perl It's outdated, as this post was for pp version 1.013 and the version I downloaded and tried it with was 1.032, but it appears to be the same/similar problem and it still solved it for me. Many thanks Monks!
--------------------------
Hi, I just recently installed "Strawberry Perl 5.22.2.1 (64bit)" on my new laptop, and the first package I went to install was the "pp" package so I can create .exe files like I have many times in the past on my old laptop. When I try to install the package with "cpan pp" it attempts to do so, but seems to have trouble with "dmake.exe" running on "RSCHUPP/PAR-Packer-1.032.tar.gz". I'm just a low level user (Electrical Engineer) who writes simple scripts for parsing and compiling data mostly, so most of this is gibberish to me. If it helps to know, I'm running Windows 7 (64-bit) with Service Pack 1. Can the Monks help me out? Screen dump of failure shown below.
C:\Users\Alec\Documents\Perl>cpan pp Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: CPAN::SQLite loaded ok (v0.211) Database was generated on Mon, 09 May 2016 20:41:23 GMT Running install for module 'pp' CPAN: Digest::SHA loaded ok (v5.95) CPAN: Compress::Zlib loaded ok (v2.069) Checksum for C:\STRAWB~1\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Pack +er-1.032.t ar.gz ok CPAN: Archive::Tar loaded ok (v2.06) CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.62) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v1.4417) CPAN: CPAN::Meta loaded ok (v2.150005) CPAN: Module::CoreList loaded ok (v5.20160429) Configuring R/RS/RSCHUPP/PAR-Packer-1.032.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Strawberry/p +erl/lib/Ex tUtils/MakeMaker.pm line 240. Writing MYMETA.yml and MYMETA.json Generating a dmake-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json RSCHUPP/PAR-Packer-1.032.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for R/RS/RSCHUPP/PAR-Packer-1.032.tar.gz ---- Unsatisfied dependencies detected during ---- ---- RSCHUPP/PAR-Packer-1.032.tar.gz ---- Tk::EntryCheck [requires,optional] Tk::ColoredButton [requires,optional] Tk::Getopt [requires,optional] Tk [requires,optional] Module::Signature [requires,optional] cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm cp lib/pp.pm blib\lib\pp.pm cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm "C:\Strawberry\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\pa +r.pl > my_ par_pl.c "C:\Strawberry\perl\bin\perl.exe" sha1.c.PL gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS +-DPERL_IMP LICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bi +tfields - I"C:\STRAWB~1\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output- +format=cof f --target=pe-x86-64 g++ main.o ppresource.coff -s -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C: +\STRAWB~1\ c\lib" "C:\STRAWB~1\perl\lib\CORE\libperl522.a" "C:\STRAWB~1\c\x86_64 +-w64-mingw 32\lib\libmoldname.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel3 +2.a" "C:\S TRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\x86_64-w6 +4-mingw32\ lib\libgdi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a" " +C:\STRAWB~ 1\c\x86_64-w64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\x86_64-w64-mi +ngw32\lib\ libadvapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a" "C: +\STRAWB~1\ c\x86_64-w64-mingw32\lib\libole32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32 +\lib\libol eaut32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a" "C:\STR +AWB~1\c\x8 6_64-w64-mingw32\lib\libuuid.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\ +libws2_32. a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\x86_ +64-w64-min gw32\lib\libwinmm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion. +a" "C:\STR AWB~1\c\x86_64-w64-mingw32\lib\libodbc32.a" "C:\STRAWB~1\c\x86_64-w64- +mingw32\li b\libodbccp32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomctl32.a" +-o par.exe rem "C:\Strawberry\perl\bin\perl.exe" encode_append.pl Dynamic.in par.exe +Dynamic.pm "C:\Strawberry\perl\bin\perl.exe" embed_files.pl -c 32768 par.exe "C:\ +STRAWB~1\p erl\bin\perl522.dll" "C:\Strawberry\perl\bin\libgcc_s_sjlj-1.dll" "C:\ +Strawberry \perl\bin\libwinpthread-1.dll" "C:\Strawberry\perl\bin\libstdc++-6.dll +" > boot_e mbedded_files.c # using "objdump" recusrively to find DLLs needed by par.exe # embedding "par.exe" as "par.exe" # embedding "C:/Strawberry/c/bin/libwinpthread-1.dll" as "libwinpthrea +d-1.dll" # embedding "C:/Strawberry/perl/bin/perl522.dll" as "perl522.dll" # embedding "C:/Strawberry/c/bin/libgcc_s_sjlj-1.dll" as "libgcc_s_sjl +j-1.dll" # embedding "C:/Strawberry/c/bin/libstdc++-6.dll" as "libstdc++-6.dll" gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS +-DPERL_IMP LICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bi +tfields - I"C:\STRAWB~1\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:\Strawberry\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:\Strawberry\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl boot.exe - +q -B -Opar l.exe "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parl.ex +e ..\blib\ script\parl.exe rem ..\blib\script\parl.exe "C:\Strawberry\perl\bin\perl.exe" -Mblib=.. run_with_inc.pl par.exe -q + -B -Oparl dyn.exe "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- parldyn +.exe ..\bl ib\script\parldyn.exe rem ..\blib\script\parldyn.exe "C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- + script/pa r.pl blib\script\par.pl pl2bat.bat blib\script\par.pl "C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- + script/pp blib\script\pp pl2bat.bat blib\script\pp "C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- + script/tk pp blib\script\tkpp pl2bat.bat blib\script\tkpp RSCHUPP/PAR-Packer-1.032.tar.gz C:\STRAWB~1\c\bin\dmake.exe -- OK Running make test dmake: Error: -- Don't know how to make `test_dynamic' dmake.exe: Error code 255, while making 'subdirs-test_dynamic' RSCHUPP/PAR-Packer-1.032.tar.gz C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports RSCHUPP/PAR-Packer-1.032.tar.gz Stopping: 'install' failed for 'pp'. C:\Users\Alec\Documents\Perl>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Touble installing "pp" package on Stawberry Perl
by soonix (Chancellor) on May 10, 2016 at 14:31 UTC | |
by perldigious (Priest) on May 10, 2016 at 14:54 UTC | |
|
Re: Touble installing "pp" package on Stawberry Perl
by stevieb (Canon) on May 10, 2016 at 14:22 UTC | |
by perldigious (Priest) on May 10, 2016 at 14:56 UTC |