Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[rt.cpan.org #67380] Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

123 views
Skip to first unread message

Abel Nijdam via RT

unread,
Apr 11, 2011, 9:47:22 AM4/11/11
to p...@perl.org
Mon Apr 11 09:47:21 2011: Request 67380 was acted upon.
Transaction: Ticket created by nijd...@gmail.com
Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: nijd...@gmail.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


Dear builders of PAR::Packer,

After succesfully installing Strawberry Perl 5.12.2 and several modules like
NET::Telnet and NET::Telnet::Brcd (I want to make scripts to explore
san-switches for reporting purposes) on WinXP (Microsoft Windows XP [Version
5.1.2600]), I am unable to install PAR::Packer 1.009.
I've collected as much info as I could (see below), I hope, you can help me
fixing this problem.

Regards, Abel.


D:\Scratch\Perl\CPAN\PAR-Packer-1.009>perl -v
This is perl 5, version 12, subversion 2 (v5.12.2) built for
MSWin32-x86-multi-thread
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

D:\Scratch\Perl\CPAN\PAR-Packer-1.009>perl -V
Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname='Win32 strawberryperl 5.12.2.0 #1 Fri Nov 5 20:21:06 2010 i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-stri
ct-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.4.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++.exe', ldflags ='-s -L"E:\perl\perl\lib\CORE" -L"E:\perl\c\lib"'
libpth=E:\perl\c\lib
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws
2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl512.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"E:\perl\perl\lib\CORE"
-L"E:\perl\c\lib"'

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE
Built under MSWin32
Compiled at Nov 5 2010 20:32:28
@INC:
e:/Perl/perl/site/lib
e:/Perl/perl/vendor/lib
e:/Perl/perl/lib
.


D:\Scratch\Perl\CPAN\PAR-Packer-1.009>perl Makefile.pl
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at
e:/Perl/perl/lib/ExtUtils/MakeMaker.pm line 202
Note (probably harmless): No library found for -lmoldname
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lcomctl32
Writing Makefile for par.exe
Writing Makefile for PAR::Packer

D:\Scratch\Perl\CPAN\PAR-Packer-1.009>dmake
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
E:\perl\perl\bin\perl.exe sha1.c.PL
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-b
itfields -DPERL_MSVCRT_READFIX -I"E:\perl\perl\lib\CORE" -DLOAD_MY_LIBGCC
-DPARL_EXE=\"parl.exe\" -s -O2 main.c
E:\perl\perl\bin\perl.exe file2c.pl -s ..\script\par.pl -l my_par_pl.c
load_my_par_pl
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-b
itfields -DPERL_MSVCRT_READFIX -I"E:\perl\perl\lib\CORE" -DLOAD_MY_LIBGCC
-DPARL_EXE=\"parl.exe\" -s -O2 my_par_pl.c
g++.exe main.o my_par_pl.o win32.coff -s -s -L"E:\perl\perl\lib\CORE"
-L"E:\perl\c\lib" E:\perl\perl\lib\CORE\libperl512.a -o par
.exe
rem
E:\perl\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe Dynamic.pm
E:\perl\perl\bin\perl.exe file2c.pl -l -c 30000 par.exe my_par.c load_my_par
E:\perl\perl\bin\perl.exe file2c.pl -l -c 30000 -n perl512.dll
E:\perl\perl\bin\perl512.dll my_libperl.c load_my_libperl
E:\perl\perl\bin\perl.exe file2c.pl -l -c 30000
E:\perl\perl\bin\libgcc_s_sjlj-1.dll my_libgcc.c load_my_libgcc
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-b
itfields -DPERL_MSVCRT_READFIX -I"E:\perl\perl\lib\CORE" -DLOAD_MY_LIBGCC
-DPARL_EXE=\"parl.exe\" -s -O2 boot.c
boot.c: In function 'main':
boot.c:123: warning: passing argument 3 of 'spawnvpe' from incompatible
pointer type
e:\perl\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/process.h:169:
note: expected 'char * const*' b
ut argument is of type 'const char * const*'
boot.c:123: warning: passing argument 4 of 'spawnvpe' from incompatible
pointer type
e:\perl\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/process.h:169:
note: expected 'char * const*' b
ut argument is of type 'const char * const*'
g++.exe boot.o -s -s -L"E:\perl\perl\lib\CORE" -L"E:\perl\c\lib"
E:\perl\perl\lib\CORE\libperl512.a win32.coff -o boot.exe
rem
E:\perl\perl\bin\perl.exe parlsig.pl boot.exe par.exe 1 30000
E:\perl\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
E:\perl\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe
Use of uninitialized value $d[-1] in string eq at
e:/Perl/perl/vendor/lib/Portable.pm line 191.
E:\perl\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- parldyn.exe
..\blib\script\parldyn.exe
rem ..\blib\script\parldyn.exe
E:\perl\perl\bin\perl.exe -Mblib run_with_inc.pl boot.exe -q -B -Oparl.exe
Use of uninitialized value $d[-1] in string eq at
E:/Perl/perl/vendor/lib/Portable.pm line 191.
E:\perl\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- parl.exe
..\blib\script\parl.exe
rem ..\blib\script\parl.exe
E:\perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "cp" -- script/tkpp
blib\script\tkpp
pl2bat.bat blib\script\tkpp
E:\perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "cp" -- script/pp
blib\script\pp
pl2bat.bat blib\script\pp
E:\perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "cp" -- script/
par.pl blib\script\par.pl
pl2bat.bat blib\script\par.pl

D:\Scratch\Perl\CPAN\PAR-Packer-1.009>dmake test
E:\perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib\lib', 'blib\arch')" t/00-pod.t t/10-parl-gene
ration.t t/20-pp.t t/30-current_exec.t t/40-packer_cd_option.t
t/90-rt59710.t
t/00-pod.t ............... skipped: Set environment variable PERL_TEST_POD=1
to test POD
t/10-parl-generation.t ... 1/31 Use of uninitialized value $d[-1] in string
eq at E:/Perl/perl/vendor/lib/Portable.pm line 191.
t/10-parl-generation.t ... 15/31 Use of uninitialized value $d[-1] in string
eq at e:/Perl/perl/vendor/lib/Portable.pm line 191.
t/10-parl-generation.t ... ok
t/20-pp.t ................
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or extern
al command,
operable program or batch file.
# Failed test 'pp_hello_1
# amsg074: sub pp_hello_1 cannot system pp "hello.pl"
# '
t/20-pp.t ................ 1/34 # at automated_pp_test.pl line 7022.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_hello_hello_dot_pl
# amsg080: sub pp_minus_o_hello_hello_dot_pl: cannot system pp -o
"hello.exe" "hello.pl"
# '
# at automated_pp_test.pl line 7067.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_foo_foo_dot_pl_bar_dot_pl
# amsg085: sub pp_minus_o_foo_foo_dot_pl_bar_dot_pl: cannot system pp -o
foo.exe "foo.pl" "bar.pl" )
# '
# at automated_pp_test.pl line 7115.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_hello
# amsg090: sub pp_minus_p_hello cannot system pp -p "hello.pl"
# '
# at automated_pp_test.pl line 7163.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_o_hello_dot_par_hello
# amsg097: sub pp_minus_p_minus_o_hello_dot_par_hello cannot system pp -p
-o "hello.par" "hello.pl"
# '
# at automated_pp_test.pl line 7211.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_hello_file_dot_par
t/20-pp.t ................ 6/34 # amsg100: sub pp_minus_o_hello_file_dot_par
cannot system pp -p -o "hello.par" "hello.pl"
# '
# at automated_pp_test.pl line 7261.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_S_minus_o_hello_file
# amsg107: sub pp_minus_S_minus_o_hello_file cannot system pp -S -o
"hello.exe" "hello.pl"
# '
# at automated_pp_test.pl line 7310.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_o_out_dot_par_file
# amsg112: sub pp_minus_p_minus_o_out_dot_par_file cannot system pp -p -o
out.par "hello.pl"
# '
# at automated_pp_test.pl line 7357.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_B_with_small_minus_p_tests
# amsg117: sub pp_minus_B_with_small_minus_p_tests cannot system pp -p -o
out_par.par "hello.pl"
# '
# at automated_pp_test.pl line 7404.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_B_with_large_minus_P_tests
# amsg122: sub pp_minus_B_with_large_minus_P_tests cannot system pp -P -o
out_pl.pl "hello.pl"
# '
# at automated_pp_test.pl line 7450.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_e_print_hello
# amsg131: sub pp_minus_e_print_hello cannot system pp -e "print
\"hello\n\";"
# '
# at automated_pp_test.pl line 7495.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_e_print_hello
# amsg136: sub pp_minus_p_minus_e_print_hello Cannot system pp -p -e "print
\"hello\n\"";
# '
# at automated_pp_test.pl line 7541.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_P_minus_e_print_hello
# amsg139: sub pp_minus_P_minus_e_print_hello Cannot system pp -P -e "print
\"hello\n\";"
# '
# at automated_pp_test.pl line 7586.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_c_hello
# amsg152: sub pp_minus_c_hello Cannot system pp -c "hello.pl"
# '
# at automated_pp_test.pl line 7632.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_x_hello
# amsg157: sub pp_minus_x_hello Cannot system pp -x "hello.pl"
# '
# at automated_pp_test.pl line 7680.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_n_minus_x_hello
# amsg162: sub pp_minus_n_minus_x_hello cannot system pp -n -x "hello.pl"
# '
# at automated_pp_test.pl line 7728.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_I_foo_hello
# amsg169: sub pp_minus_I_foo_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7773.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_I_foo_minus_I_bar_hello
t/20-pp.t ................ 18/34 # amsg190: sub
pp_minus_I_foo_minus_I_bar_hello cannot system pp
"D:\Scratch\Perl\CPAN\PAR-Packer-1
.009\contrib\automated_pp_test\pp_switch_tests\temp0\foo.pl"
# '
# at automated_pp_test.pl line 7818.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_lib_foo_hello
# amsg178: sub pp_minus_lib_foo_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7863.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_lib_foo_minus_lib_bar_hello
# amsg204: sub pp_minus_lib_foo_minus_lib_bar_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7908.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_M_foo_hidden_print_foo
# amsg214: sub pp_minus_M_foo_hidden_print_foo cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7953.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_M_foo_minus_M_bar_hello
# amsg238: sub pp_minus_M_foo_minus_M_bar_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7997.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_X_module_foo
# amsg284: sub pp_minus_X_module_foo cannot system pp
"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\automated_pp_test\pp_switch_tes
ts\temp2\foo.pl"
# '
# at automated_pp_test.pl line 8042.
# Failed test 'pp_minus_r_hello
# [430]
# Test 24_0 The command string "pp -r "hello.pl" " in directory
D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\automated_pp_test\pp_
switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or externa
l command,
# operable program or batch file.
# You do not have Perl in your PATH. ::
# End of [430] results
#
# Did pp -r "hello.pl" produce a.exe?
# '
# at automated_pp_test.pl line 8087.
# Failed test 'pp_minus_r_hello_a_b_c
# [430]
# Test 25_0 The command string "pp -r "hello.pl" "one" "two" "three" " in
directory D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\a
utomated_pp_test\pp_switch_tests\temp1,did not produce :: "hello one two
three" ::
# Instead, it produced ::
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or externa
l command,
# operable program or batch file.
# You do not have Perl in your PATH. ::
# End of [430] results
#
# Did pp -r "hello.pl" "one" "two" "three" produce a.exe?
# '
# at automated_pp_test.pl line 8132.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_hello_to_log_file
# amsg312: sub pp_hello_to_log_file cannot system pp hello.pl -v --log=c.txt
# '
# at automated_pp_test.pl line 8177.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_name_four_ways
# amsg324: sub pp_name_four_ways cannot system pp hello.pl
# '
# at automated_pp_test.pl line 8222.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_v_tests
# amsg350: sub pp_minus_v_tests_28_0 cannot system pp -v 1 hello.pl >
v_1.txt
# '
# at automated_pp_test.pl line 8268.
# Failed test 'pp_minus_V
# [430]
# Test 29_0 The command string "pp -V " in directory
D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\automated_pp_test\pp_switch_test
s\temp2,did not produce :: "Such use shall not be construed as a
distribution" ::
# Instead, it produced ::
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or externa
l command,
# operable program or batch file.
# You do not have Perl in your PATH. ::
# End of [430] results
#
# Did pp -V produce Such use shall not be construed as a distribution?
# '
# at automated_pp_test.pl line 8311.
# Failed test 'pp_help_tests
# Test 30_1
#
# [430]
# Test 30_0 The command string "pp -h " in directory
D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\automated_pp_test\pp_switch_test
s\temp0,did not produce :: "PAR Packager" ::
# Instead, it produced ::
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or externa
l command,
# operable program or batch file.
# You do not have Perl in your PATH. ::
# End of [430] results
# '
# at automated_pp_test.pl line 8355.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
t/20-pp.t ................ 31/34
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or
external command,
operable program or batch file.
# Failed test 'pp_gui_tests
# amsg572: sub pp_gui_tests cannot system pp --gui --icon hi.ico -o
hello.exe hello.pl:No such file or directory:
# '
# at automated_pp_test.pl line 8445.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_test_small_minus_a
# amsg596: sub pp_test_small_minus_a cannot system pp -o hello.exe -a
"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\contrib\automated_pp_te
st\pp_switch_tests\temp2\text" hello.pl
# '
# at automated_pp_test.pl line 8490.
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_test_large_minus_A
# amsg649: sub pp_test_large_minus_A cannot system pp -o hello.exe -A
all_text_files -a all_text_files hello.pl
# '
# at automated_pp_test.pl line 8535.
# Looks like you failed 33 tests of 34.
t/20-pp.t ................ Dubious, test returned 33 (wstat 8448, 0x2100)
Failed 33/34 subtests
t/30-current_exec.t ...... # Please wait
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or external command,
operable program or batch file.
t/30-current_exec.t ...... 1/4 # Failed test 'Created
"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\t\test-10.exe"'
# at t/30-current_exec.t line 42.
Failed to create "D:\Scratch\Perl\CPAN\PAR-Packer-1.009\t\test-10.exe"!
# Looks like you planned 4 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/30-current_exec.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/40-packer_cd_option.t .. Use of uninitialized value $d[-1] in string eq at
E:/Perl/perl/vendor/lib/Portable.pm line 191.
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at E:/Perl/perl/lib/Compress/Zlib.pm line 8.
BEGIN failed--compilation aborted at E:/Perl/perl/lib/Compress/Zlib.pm line
8.
Compilation failed in require at -e line 358.
t/40-packer_cd_option.t .. 1/2 Use of uninitialized value $d[-1] in string
eq at E:/Perl/perl/vendor/lib/Portable.pm line 191.
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at E:/Perl/perl/lib/Compress/Zlib.pm line 8.
BEGIN failed--compilation aborted at E:/Perl/perl/lib/Compress/Zlib.pm line
8.
Compilation failed in require at -e line 358.
t/40-packer_cd_option.t .. ok
t/90-rt59710.t ...........
'"D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script\perl.exe"' is not
recognized as an internal or extern
al command,
operable program or batch file.
t/90-rt59710.t ........... 1/3 # Failed test 'Created
"C:\DOCUME~1\spectrum\LOCALS~1\Temp\rt59710.exe"'
# at t/90-rt59710.t line 21.
Failed to create "C:\DOCUME~1\spectrum\LOCALS~1\Temp\rt59710.exe"!
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/90-rt59710.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Test Summary Report
-------------------
t/20-pp.t (Wstat: 8448 Tests: 34 Failed: 33)
Failed tests: 1-30, 32-34
Non-zero exit status: 33
t/30-current_exec.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 1.
t/90-rt59710.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
Files=6, Tests=69, 10 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CPU)
Result: FAIL
Failed 3/6 test programs. 35/69 subtests failed.
dmake: Error code 130, while making 'test_dynamic'

Roderich Schupp via RT

unread,
Apr 11, 2011, 1:50:13 PM4/11/11
to p...@perl.org
Mon Apr 11 13:50:12 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP

Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


On 2011-04-11 09:47:21, nijd...@gmail.com wrote:
> I've collected as much info as I could (see below), I hope, you can
> help me
> fixing this problem.

Strange. Can you check whether you have a file called pp.bat
somewhere below your build directory.
If yes, please post its contents (should be just a few lines).

Cheers, Roderich

Abel Nijdam via RT

unread,
Apr 11, 2011, 4:14:10 PM4/11/11
to p...@perl.org
Mon Apr 11 16:14:08 2011: Request 67380 was acted upon.
Transaction: Correspondence added by nijd...@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #67380] Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


Builders of PAR::Packer 1.009,

You requested, that if there is a pp.bat file somewhere below in my build
directory, I give you the contents.
Well, there is a pp.bat file in
D:\Scratch\Perl\CPAN\PAR-Packer-1.009\blib\script with the following
content:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
"%~dp0perl.exe" -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
"%~dp0perl.exe" -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!/usr/bin/perl
#line 15
use strict;
use warnings;
use pp;
pp->go();

__END__
:endofperl

Hope, this helps!

Regards, Abel.

2011/4/11 Roderich Schupp via RT <bug-PAR...@rt.cpan.org>

Roderich Schupp via RT

unread,
Apr 12, 2011, 6:58:13 AM4/12/11
to p...@perl.org
Tue Apr 12 06:58:10 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


On 2011-04-11 16:14:08, nijd...@gmail.com wrote:
> "%~dp0perl.exe" -x -S %0 %*

This is the culprit. It means: "call perl.exe on the same drive
in the same directory as this batch file" which is totally bogus.

pp.bat is generated by pl2bat.bat which usually comes with your
Perl distribution. I checked with ActiveState Perl 5.10.1 and
Strawberry Perl 5.12.0 and their pl2bat.bat doesn't generate
such a line, so I suggest you look for some rogue pl2bat.bat
in your PATH.

Cheers, Roderich

Abel Nijdam via RT

unread,
Apr 12, 2011, 8:45:54 AM4/12/11
to p...@perl.org
Tue Apr 12 08:45:52 2011: Request 67380 was acted upon.

Transaction: Correspondence added by nijd...@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #67380] Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=67380 >


That's it:

You've checked with Strawberry Perl 5.12.0, with that version, the first
lines of pl2bat.bat are:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT

perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*


if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl

But I am running Strawberry Perl 5.12.2.0, and with this (latest) version,
the first lines of pl2bat.bat are:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
"%~dp0perl.exe" -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT

"%~dp0perl.exe" -x -S %0 %*

if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl

Now is my scratch-drive drive D: (install-files are there, as well as
build-dir etc...), and I've build Strawberry Perl 5.12.2.0 on
drive E:, so there is my perl (pointed to this location in my PATH).

So this latest version of Strawberry Perl (5.12.2.0) isn't ready for
PAR::Packer 1.009 install?

Regards, Abel.

2011/4/12 Roderich Schupp via RT <bug-PAR...@rt.cpan.org>

Roderich Schupp via RT

unread,
Apr 12, 2011, 9:10:49 AM4/12/11
to p...@perl.org
Tue Apr 12 09:10:48 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


On 2011-04-12 08:45:52, nijd...@gmail.com wrote:
> But I am running Strawberry Perl 5.12.2.0, and with this (latest) version,
> the first lines of pl2bat.bat are:
>
> @rem = '--*-Perl-*--
> @echo off
> if "%OS%" == "Windows_NT" goto WinNT
> "%~dp0perl.exe" -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9

Err, I just did a clean install of Strawberry 5.12.2.0
(downloaded the MSI from strawberryperl.com)
and this is NOT what I'm seeing - mine's the same as in 5.12.0.
Anyway, "%~dp0perl.exe" is horribly wrong, just
replace it with simply perl.exe everywhere in pl2bat.bat
and then re-build PAR::Packer.

Cheers, Roderich

Abel Nijdam via RT

unread,
Apr 12, 2011, 10:08:22 AM4/12/11
to p...@perl.org
Tue Apr 12 10:08:20 2011: Request 67380 was acted upon.

Transaction: Correspondence added by nijd...@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #67380] Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


Changed pl2bat.bat (took it from strawberry-perl-5.12.0.1.zip) and tried to
install PAR::Packer 1.009 again, but this made things only worse...
My build was from strawberry-perl-5.12.2.0-portable.zip
I will clean this install, then take the install from
strawberry-perl-5.12.2.0.msi, add the required modules and PAR::Packer 1.009
again (as you did), and will see, what happens...
Will keep you posted!

Abel Nijdam via RT

unread,
Apr 13, 2011, 4:47:41 PM4/13/11
to p...@perl.org
Wed Apr 13 16:47:40 2011: Request 67380 was acted upon.

Transaction: Correspondence added by nijd...@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #67380] Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


Got it!
Tried to install from (as I said) strawberry-perl-5.12.2.0.msi, on my
scratch-drive D: to drive E:\strawberry, but also this is not a good idea!
Install works fine, but every install of extra modules (as I need for
instance Net::Telnet and Net::Telnet::Brcd, and last PAR::Packer) goes to
C:\strawberry instead of E:\strawberry! So that's not a good idea also...
Cleaned again my installs, took strawberry-perl-5.12.2.0.msi again, but now
I installed it to the default, C:\strawberry and YES: all further installs
of the modules I need, went to this very same structure, C:\strawberry...
And finally, I was succesful in installing PAR::Packer 1.009 (all the tests
were completed OK), and that's what it was all about. Now I have pp
available and can start testing.
Take my existing perl-scripts (running as executables on several servers),
make the desired changes, make new executables of these new / changed
scripts with pp and see, what happens!

Thanks for all your support, after all it wasn't the PAR::Packer 1.009 at
all, but all my problems were caused by the unability of several strawberry
installs to deal with installing strawberry on anything else than drive
C:.....!! The makers / builders / maintainers of strawberry distributions
should make changes to their distributions, because the installer lets you
choose where to install strawberry, but it only works (without any changes)
on drive C: !

Regards, cheers, Abel.

2011/4/12 Abel Nijdam <nijd...@gmail.com>

Roderich Schupp via RT

unread,
Apr 14, 2011, 7:13:03 AM4/14/11
to p...@perl.org
Thu Apr 14 07:13:02 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.

Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


On 2011-04-13 16:47:40, nijd...@gmail.com wrote:
> Thanks for all your support, after all it wasn't the PAR::Packer 1.009
> at all

No problem, I have seen the error message in your original report
a few times before, but was never able to get to the bottom of it.
Now I can at least people into the right direction and others
may find the "solution" when searching rt.cpan.org or the mailing list.

Closing this bug now.

> The makers / builders / maintainers of strawberry
> distributions
> should make changes to their distributions, because the installer lets
> you
> choose where to install strawberry, but it only works (without any
> changes)
> on drive C: !

If you find the time you might want to file a bug with Strawberry.
Bugs are tracked right here on rt.cpan.org in queue
Perl-Dist-Strawberry.

Cheers, Roderich

Curtis Jewell via RT

unread,
Jun 13, 2011, 10:22:44 PM6/13/11
to p...@perl.org
Mon Jun 13 22:22:42 2011: Request 67380 was acted upon.
Transaction: Correspondence added by CSJEWELL

Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com
Status: resolved
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >


I just noticed this bug. Feel free to close if this re-opens it...

A quick explanation of how the difference between Strawberry Perl
*Portable* and normal Strawberry Perl is affecting the batch files.

The %~dp0 in Strawberry Perl Portable's batch files are because Portable
can't assume that the correct perl.exe is in the path for a portable
edition meant for thumb drives, or is in the same place every time. It's
not as if it can run perl code to find perl before we run it, either. So
Portable is set up so that all the /bin directories go to one place, if
I recall correctly, and the assumption is that the batch files and
perl.exe are landing there.

A false assumption in this case, unfortunately.

We DON'T do it for the standard non-portable .msi and .zip builds,
because we CAN assume that perl.exe is in the path (and give a script
and directions in the README in the .zip for making that assumption true.)

Any better solutions to the Portable batch-file problem, feel free to
file a bug against Perl-Dist-Strawberry and they'll be considered.

Roderich Schupp via RT

unread,
Jun 15, 2011, 5:49:21 PM6/15/11
to p...@perl.org
Wed Jun 15 17:49:20 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP

Queue: PAR-Packer
Subject: Problems with install PAR::Packer 1.009 on Strawberry Perl 5.12.2 on WinXP.
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: nijd...@gmail.com


On 2011-06-13 22:22:42, CSJEWELL wrote:
> A quick explanation of how the difference between Strawberry Perl
> *Portable* and normal Strawberry Perl is affecting the batch files.

Curtis, thanks for the explanation.

> Any better solutions to the Portable batch-file problem, feel free to
> file a bug against Perl-Dist-Strawberry and they'll be considered.

That won't be necessary. IMHO installing modules into _another_ location
(as was the case with the intial reporter) when using the Portable
version kinda defeats the purpose of this version.
So when users want to install modules from CPAN they should

- either use INSTALLDIRS=perl with the Portable version
- or use the "normal" version instead.

Cheers, Roderich

0 new messages