Fail to install 'PAR::Packer' Perl module on Windows 7 - 64 bit - using DWIM Perl -
i working on ms-windows 7 pc - 64 bit. using "dwim perl windows" (http://dwimperl.com/windows.html) - strawberry perl derivative.
i trying run 'install par::packer' cpan - , fails. see below full text.
i did see suggestions here run 'look par::packer' cpan "command line". - fails too, following error message:
c:\dwimperl\perl\bin\perl.exe encode_append.pl dynamic.in par.exe dynamic.pm c:\dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe c:\dwimperl\perl\bin\pe rl514.dll c:\dwimperl\perl\bin\libgcc_s_sjlj-1.dll c:./program > boot_embedded_files.c open input file 'c:./program': no such file or directory @ file2c.pl line 43. dmake: error code 130, while making 'boot_embedded_files.c' dmake: 'boot_embedded_files.c' removed. dmake: error code 255, while making 'subdirs'
here fail of 'install par::packer':
cpan> install par::packer running install module 'par::packer' running make r/rs/rschupp/par-packer-1.014.tar.gz checksum c:\dwimperl\cpan\sources\authors\id\r\rs\rschupp\par-packer-1.014.t ar.gz ok scanning cache c:\dwimperl\cpan\build sizes ............................................................................done cpan.pm: building r/rs/rschupp/par-packer-1.014.tar.gz checking if kit complete... looks prototype mismatch: sub main::prompt: none vs ($;$) @ c:/dwimperl/perl/lib/extu tils/makemaker.pm line 219 writing makefile par.exe writing mymeta.yml , mymeta.json writing makefile par::packer writing mymeta.yml , mymeta.json cp lib/app/packer/par.pm blib\lib\app\packer\par.pm cp lib/par/packer.pm blib\lib\par\packer.pm cp lib/par/filter/obfuscate.pm blib\lib\par\filter\obfuscate.pm cp lib/par/filter/podstrip.pm blib\lib\par\filter\podstrip.pm cp lib/par/strippedparl/base.pm blib\lib\par\strippedparl\base.pm cp lib/par/filter.pm blib\lib\par\filter.pm cp lib/par/filter/patchcontent.pm blib\lib\par\filter\patchcontent.pm cp lib/par/filter/bytecode.pm blib\lib\par\filter\bytecode.pm cp lib/pp.pm blib\lib\pp.pm cp lib/par/filter/bleach.pm blib\lib\par\filter\bleach.pm c:\dwimperl\perl\bin\perl.exe par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_ pl.c c:\dwimperl\perl\bin\perl.exe sha1.c.pl gcc -c -s -o2 -dwin32 -dperl_textmode_scripts -duse_sitecustomize -dperl_implic it_context -dperl_implicit_sys -fno-strict-aliasing -mms-bitfields -i"c:\dwimpe rl\perl\lib\core" -dparl_exe=\"parl.exe\" -s -o2 main.c main.c: in function 'main': main.c:121: warning: assignment discards qualifiers pointer target type rem windres -i winres\pp.rc -o ppresource.coff --input-format=rc --output-format=cof f --target=pe-i386 g++ main.o ppresource.coff -s -s -l"c:\dwimperl\perl\lib\core" -l"c:\dwimperl\ c\lib" c:\dwimperl\perl\lib\core\libperl514.a c:\dwimperl\c\i686-w64-mingw32\li b\libmoldname.a c:\dwimperl\c\i686-w64-mingw32\lib\libkernel32.a c:\dwimperl\c\i 686-w64-mingw32\lib\libuser32.a c:\dwimperl\c\i686-w64-mingw32\lib\libgdi32.a c: \dwimperl\c\i686-w64-mingw32\lib\libwinspool.a c:\dwimperl\c\i686-w64-mingw32\li b\libcomdlg32.a c:\dwimperl\c\i686-w64-mingw32\lib\libadvapi32.a c:\dwimperl\c\i 686-w64-mingw32\lib\libshell32.a c:\dwimperl\c\i686-w64-mingw32\lib\libole32.a c :\dwimperl\c\i686-w64-mingw32\lib\liboleaut32.a c:\dwimperl\c\i686-w64-mingw32\l ib\libnetapi32.a c:\dwimperl\c\i686-w64-mingw32\lib\libuuid.a c:\dwimperl\c\i686 -w64-mingw32\lib\libws2_32.a c:\dwimperl\c\i686-w64-mingw32\lib\libmpr.a c:\dwim perl\c\i686-w64-mingw32\lib\libwinmm.a c:\dwimperl\c\i686-w64-mingw32\lib\libver sion.a c:\dwimperl\c\i686-w64-mingw32\lib\libodbc32.a c:\dwimperl\c\i686-w64-min gw32\lib\libodbccp32.a c:\dwimperl\c\i686-w64-mingw32\lib\libcomctl32.a -o par.e xe rem c:\dwimperl\perl\bin\perl.exe encode_append.pl dynamic.in par.exe dynamic.pm c:\dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe c:\dwimperl\perl\bin\pe rl514.dll c:\dwimperl\perl\bin\libgcc_s_sjlj-1.dll c:./program > boot_embedded_f iles.c open input file 'c:./program': no such file or directory @ file2c.pl line 43. dmake: error code 130, while making 'boot_embedded_files.c' dmake: 'boot_embedded_files.c' removed. dmake.exe: error code 255, while making 'subdirs' rschupp/par-packer-1.014.tar.gz c:\dwimperl\c\bin\dmake.exe -- not ok running make test can't test without successful make running make install make had returned bad status, install seems impossible failed during command: rschupp/par-packer-1.014.tar.gz : make no
here after running 'look par::packer' cpan shell:
cpan> par::packer running module 'par::packer' trying open subshell in build directory... working directory c:\dwimperl\cpan\build\par-packer-1.014-81pw9j microsoft windows [version 6.1.7601] copyright (c) 2009 microsoft corporation. rights reserved. c:\dwimperl\cpan\build\par-packer-1.014-81pw9j>perl makefile.pl prototype mismatch: sub main::prompt: none vs ($;$) @ c:/dwimperl/perl/lib/extu tils/makemaker.pm line 219 writing makefile par.exe writing mymeta.yml , mymeta.json writing makefile par::packer writing mymeta.yml , mymeta.json
here try run "dmake" myself:
c:\dwimperl\cpan\build\par-packer-1.014-81pw9j>dmake -f makefile install skip blib\lib\app\packer\par.pm (unchanged) skip blib\lib\par\packer.pm (unchanged) skip blib\lib\par\filter\obfuscate.pm (unchanged) skip blib\lib\par\filter\podstrip.pm (unchanged) skip blib\lib\par\strippedparl\base.pm (unchanged) skip blib\lib\par\filter.pm (unchanged) skip blib\lib\par\filter\patchcontent.pm (unchanged) skip blib\lib\par\filter\bytecode.pm (unchanged) skip blib\lib\pp.pm (unchanged) skip blib\lib\par\filter\bleach.pm (unchanged) gcc -c -s -o2 -dwin32 -dperl_textmode_scripts -duse_sitecustomize -dperl_implic it_context -dperl_implicit_sys -fno-strict-aliasing -mms-bitfields -i"c:\dwimpe rl\perl\lib\core" -dparl_exe=\"parl.exe\" -s -o2 main.c main.c: in function 'main': main.c:121: warning: assignment discards qualifiers pointer target type g++ main.o ppresource.coff -s -s -l"c:\dwimperl\perl\lib\core" -l"c:\dwimperl\ c\lib" c:\dwimperl\perl\lib\core\libperl514.a c:\dwimperl\c\i686-w64-mingw32\li b\libmoldname.a c:\dwimperl\c\i686-w64-mingw32\lib\libkernel32.a c:\dwimperl\c\i 686-w64-mingw32\lib\libuser32.a c:\dwimperl\c\i686-w64-mingw32\lib\libgdi32.a c: \dwimperl\c\i686-w64-mingw32\lib\libwinspool.a c:\dwimperl\c\i686-w64-mingw32\li b\libcomdlg32.a c:\dwimperl\c\i686-w64-mingw32\lib\libadvapi32.a c:\dwimperl\c\i 686-w64-mingw32\lib\libshell32.a c:\dwimperl\c\i686-w64-mingw32\lib\libole32.a c :\dwimperl\c\i686-w64-mingw32\lib\liboleaut32.a c:\dwimperl\c\i686-w64-mingw32\l ib\libnetapi32.a c:\dwimperl\c\i686-w64-mingw32\lib\libuuid.a c:\dwimperl\c\i686 -w64-mingw32\lib\libws2_32.a c:\dwimperl\c\i686-w64-mingw32\lib\libmpr.a c:\dwim perl\c\i686-w64-mingw32\lib\libwinmm.a c:\dwimperl\c\i686-w64-mingw32\lib\libver sion.a c:\dwimperl\c\i686-w64-mingw32\lib\libodbc32.a c:\dwimperl\c\i686-w64-min gw32\lib\libodbccp32.a c:\dwimperl\c\i686-w64-mingw32\lib\libcomctl32.a -o par.e xe rem c:\dwimperl\perl\bin\perl.exe encode_append.pl dynamic.in par.exe dynamic.pm c:\dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe c:\dwimperl\perl\bin\pe rl514.dll c:\dwimperl\perl\bin\libgcc_s_sjlj-1.dll c:./program > boot_embedded_f iles.c open input file 'c:./program': no such file or directory @ file2c.pl line 43. dmake: error code 130, while making 'boot_embedded_files.c' dmake: 'boot_embedded_files.c' removed. dmake: error code 255, while making 'subdirs' c:\dwimperl\cpan\build\par-packer-1.014-81pw9j> c:\dwimperl\cpan\build\par-packer-1.014-81pw9j> c:\dwimperl\cpan\build\par-packer-1.014-81pw9j>gvim makefile.pl 'gvim' not recognized internal or external command, operable program or batch file. c:\dwimperl\cpan\build\par-packer-1.014-81pw9j> makefile.pl c:\dwimperl\cpan\build\par-packer-1.014-81pw9j>
i test installed module on strawberry perl 5.16.2, windows 7 64 bit, , worked me.
the version of perl have rather old. strawberry has made updates compiler tool chain since then, , failure experiencing happening during compilation (missing or mangling path of 1 of files needs).
also, don't know if dwim perl doing non-standard might messing things up.
i suggest upgrading latest perl, , perhaps switching standard strawberry perl. dwim doesn't give except whole bunch of pre-installed modules , , should trivial install ones need.
Comments
Post a Comment