I adapted the patch found at
http://www.nntp.perl.org/group/perl.par/2012/03/msg5310.html for 1.013
On Thu May 24 17:24:13 2012, Kevin.M.Brown@asu.edu wrote:
Show quoted text> Yes, that patch does seem to produce a working package. Here is the
Show quoted text> output from installing the patched PAR::Packer on my system. There
Show quoted text> were a few warnings during compilation, but no actual errors.
Show quoted text> Checking if your kit is complete...
Show quoted text> Looks good
Show quoted text> Prototype
Show quoted text> mismatch: sub main::prompt: none vs ($;$) at
Show quoted text> C:/strawberry/perl/lib/ExtUtils/MakeMaker.pm line 219.
Show quoted text> Writing
Show quoted text> Makefile for par.exe
Show quoted text> Writing MYMETA.yml and MYMETA.json
Show quoted text> Writing
Show quoted text> Makefile for PAR::Packer
Show quoted text> Writing MYMETA.yml and MYMETA.json
Show quoted text> C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake
Show quoted text> cp
Show quoted text> lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
Show quoted text> cp
Show quoted text> lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
Show quoted text> cp
Show quoted text> lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
Show quoted text> cp
Show quoted text> lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
Show quoted text> cp
Show quoted text> lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
Show quoted text> cp
Show quoted text> lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
Show quoted text> cp
Show quoted text> lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
Show quoted text> cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
Show quoted text> cp
Show quoted text> lib/pp.pm blib\lib\pp.pm
Show quoted text> cp lib/PAR/Filter/Bleach.pm
Show quoted text> blib\lib\PAR\Filter\Bleach.pm
Show quoted text> C:\strawberry\perl\bin\perl.exe
Show quoted text> file2c.pl -s ..\script\par.pl my_par_pl.c load_my_par_pl
Show quoted text> C:\strawberry\perl\bin\perl.exe sha1.c.PL
Show quoted text> gcc -c -s -O2 -DWIN32
Show quoted text> -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS
Show quoted text> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
Show quoted text> -mms-bitfields -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC
Show quoted text> -DPARL_EXE=\"parl.exe\" -s -O2 main.c
Show quoted text> rem
Show quoted text> windres -i winres\pp.rc
Show quoted text> -o ppresource.coff --input-format=rc --output-format=coff
Show quoted text> --target=pe-x86-64
Show quoted text> g++ main.o ppresource.coff -s -s
Show quoted text> -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
Show quoted text> C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\x86_64-
Show quoted text> w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libkernel32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libuser32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libwinspool.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libcomdlg32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libshell32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libole32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libnetapi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libuuid.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libodbc32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libcomctl32.a -o par.exe
Show quoted text> rem
Show quoted text> C:\strawberry\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe
Show quoted text> Dynamic.pm
Show quoted text> C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000
Show quoted text> par.exe my_par.c load_my_par
Show quoted text> C:\strawberry\perl\bin\perl.exe
Show quoted text> file2c.pl -c 30000 -n perl516.dll
Show quoted text> C:\strawberry\perl\bin\perl516.dll my_libperl.c load_my_libperl
Show quoted text> C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000
Show quoted text> C:\strawberry\perl\bin\libgcc_s_sjlj-1.dll my_libgcc.c
Show quoted text> load_my_libgcc
Show quoted text> gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE
Show quoted text> -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
Show quoted text> -fno-strict-aliasing -mms-bitfields
Show quoted text> -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC
Show quoted text> -DPARL_EXE=\"parl.exe\" -s -O2 boot.c
Show quoted text> In file included from
Show quoted text> mktmpdir.h:85:0,
Show quoted text> from mktmpdir.c:1,
Show quoted text> from boot.c:27:
Show quoted text> sha1.c: In function 'sha_transform':
Show quoted text> sha1.c:146:2: warning: right shift count >= width of type [enabled
Show quoted text> by default]
Show quoted text> boot.c: In function 'main':
Show quoted text> boot.c:214:5: warning:
Show quoted text> passing argument 3 of 'spawnvpe' from incompatible pointer type
Show quoted text> [enabled by default]
Show quoted text> c:\strawberry\c\bin\../lib/gcc/x86_64-w64-
Show quoted text> mingw32/4.6.3/../../../../x86_64-w64-
Show quoted text> mingw32/include/process.h:178:20: note: expected 'char * const*'
Show quoted text> but argument is
Show quoted text> of type 'const char * const*'
Show quoted text> boot.c:214:5:
Show quoted text> warning: passing argument 4 of 'spawnvpe' from incompatible pointer
Show quoted text> type [enabled by default]
Show quoted text> c:\strawberry\c\bin\../lib/gcc/x86_64-
Show quoted text> w64-mingw32/4.6.3/../../../../x86_64-w64-
Show quoted text> mingw32/include/process.h:178:20: note: expected 'char * const*'
Show quoted text> but argument is
Show quoted text> of type 'const char * const*'
Show quoted text> g++ boot.o -s -s
Show quoted text> -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
Show quoted text> C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\x86_64-
Show quoted text> w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libkernel32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libuser32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libwinspool.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libcomdlg32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libshell32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libole32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libnetapi32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libuuid.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libodbc32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64-w64-
Show quoted text> mingw32\lib\libcomctl32.a ppresource.coff -o boot.exe
Show quoted text> rem
Show quoted text> C:\strawberry\perl\bin\perl.exe encode_append.pl Static.in boot.exe
Show quoted text> Static.pm
Show quoted text> cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
Show quoted text> cp
Show quoted text> Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
Show quoted text> C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q
Show quoted text> -B -Oparldyn.exe
Show quoted text> C:\strawberry\perl\bin\perl.exe
Show quoted text> -MExtUtils::Command -e cp -- parldyn.exe ..\blib\script\parldyn.exe
Show quoted text> rem ..\blib\script\parldyn.exe
Show quoted text> C:\strawberry\perl\bin\perl.exe
Show quoted text> -Mblib run_with_inc.pl boot.exe -q -B -Oparl.exe
Show quoted text> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp --
Show quoted text> parl.exe ..\blib\script\parl.exe
Show quoted text> rem ..\blib\script\parl.exe
Show quoted text> C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp
Show quoted text> -- script/tkpp blib\script\tkpp
Show quoted text> pl2bat.bat blib\script\tkpp
Show quoted text> C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp
Show quoted text> -- script/pp blib\script\pp
Show quoted text> pl2bat.bat blib\script\pp
Show quoted text> C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp
Show quoted text> -- script/par.pl blib\script\par.pl
Show quoted text> pl2bat.bat blib\script\par.pl
Show quoted text> C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake test
Show quoted text> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
Show quoted text> "test_harness(0,'inc', 'blib\lib', 'blib\arch')" t/00-pod.t t/10-
Show quoted text> parl-generation.t t/20-pp.t t/30-current_exec.t t/40-
Show quoted text> packer_cd_option.t t/90-rt59710.t
Show quoted text> t/00-pod.t ...............
Show quoted text> skipped: Set environment variable PERL_TEST_POD=1 to test POD
Show quoted text> t/10-parl-generation.t ... ok
Show quoted text> t/20-pp.t ................ 12/34
Show quoted text> C:\Users\hellgate\AppData\Local\Temp\N0FELjGRPr
Show quoted text> syntax OK
Show quoted text> t/20-
Show quoted text> pp.t ................ ok
Show quoted text> t/30-current_exec.t ...... # Please wait
Show quoted text> t/30-current_exec.t ...... ok
Show quoted text> t/40-packer_cd_option.t .. ok
Show quoted text> t/90-
Show quoted text> rt59710.t ........... ok
Show quoted text> All tests successful.
Show quoted text> Files=6, Tests=74,
Show quoted text> 444 wallclock secs ( 0.11 usr + 0.00 sys = 0.11 CPU)
Show quoted text> Result:
Show quoted text> PASS
Show quoted text>
Show quoted text> C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake
Show quoted text> install
Show quoted text> Installing C:\strawberry\perl\site\lib\pp.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\App\Packer\PAR.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Packer.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter\Bleach.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter\Bytecode.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter\Obfuscate.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter\PatchContent.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\Filter\PodStrip.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\StrippedPARL\Base.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\StrippedPARL\Dynamic.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\lib\PAR\StrippedPARL\Static.pm
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\par.bat
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\par.pl
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\parl.exe
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\parldyn.exe
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\pp
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\pp.bat
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\tkpp
Show quoted text> Installing
Show quoted text> C:\strawberry\perl\site\bin\tkpp.bat
Show quoted text> Appending installation info
Show quoted text> to C:\strawberry\perl\lib/perllocal.pod