Hi Rob
Thanks for those suggestions
I started on the automated test changes first, becuase once I saw a way of making things better, I couldn't resist! I tried a few varients of the hi.ico path as follows:
Opened up PERL script C:\mybuild\PAR-Packer-1.002\contrib\automated_pp_test\automated_pp_test.pl
Changed:
my $cmd = 'pp --gui --icon hi.ico -o ' . "$hello_executable $hello_pl_
+file";
To (attempt 1):
my $cmd = 'pp --gui --icon C:/mybuild/PAR-Packer-1.002/contrib/hi.ico
+-o ' . "$hello_executable $hello_pl_file";
Result:
t/20-pp.t ................ 31/34 Cannot open C:/mybuild/PAR-Packer-1.0
+02/contrib/hi.ico for reading: No such file or directory at C:/Perl/s
+ite/lib/Parse/Binary.pm line 612.
# Failed test 'pp_gui_tests
# amsg572: sub pp_gui_tests cannot system pp --gui --icon C:/mybuild/P
+AR-Packer-1.002/contrib/hi.ico -o hello.exe hello.pl:No such file or
+directory:
# '
t/20-pp.t ................ 32/34 # at automated_pp_test.pl line 8446
+.
t/20-pp.t ................ 34/34 # Looks like you failed 1 test of 34.
To (attempt 2):
my $cmd = 'pp --gui --icon C:/mybuild/PAR-Packer-1.002/contrib/automat
+ed_pp_test/hi.ico -o ' . "$hello_executable $hello_pl_file";
Result:
t/20-pp.t ................ 31/34 Can't call method "remove" on an unde
+fined value at C:/Perl/site/lib/Win32/Exe.pm line 220.
t/20-pp.t ................ 32/34 # Failed test 'pp_gui_tests
# amsg572: sub pp_gui_tests cannot system pp --gui --icon C:/mybuild/P
+AR-Packer-1.002/contrib/automated_pp_test/hi.ico -o hello.exe hello.p
+l:No such file or directory:
# '
# at automated_pp_test.pl line 8446.
t/20-pp.t ................ 34/34 # Looks like you failed 1 test of 34.
To (attempt 3):
my $cmd = 'pp --gui --icon C:\mybuild\PAR-Packer-1.002\contrib\automat
+ed_pp_test\hi.ico -o ' . "$hello_executable $hello_pl_file";
Result:
t/20-pp.t ................ 31/34 Can't call method "remove" on an unde
+fined value at C:/Perl/site/lib/Win32/Exe.pm line 220.
# Failed test 'pp_gui_tests
t/20-pp.t ................ 32/34 # amsg572: sub pp_gui_tests cannot sy
+stem pp --gui --icon C:\mybuild\PAR-Packer-1.002\contrib\automated_pp
+_test\hi.ico -o hello.exe hello.pl:No such file or directory:
# '
# at automated_pp_test.pl line 8447.
t/20-pp.t ................ 34/34 # Looks like you failed 1 test of 34.
To (attempt 3):
my $cmd = 'pp --gui --icon C:\\mybuild\\PAR-Packer-1.002\\contrib\\aut
+omated_pp_test\\hi.ico -o ' . "$hello_executable $hello_pl_file";
Result:
t/20-pp.t ................ 31/34 Can't call method "remove" on an unde
+fined value at C:/Perl/site/lib/Win32/Exe.pm line 220.
# Failed test 'pp_gui_tests
# amsg572: sub pp_gui_tests cannot system pp --gui --icon C:\mybuild\P
+AR-Packer-1.002\contrib\automated_pp_test\hi.ico -o hello.exe hello.p
+l:No such file or directory:
# '
t/20-pp.t ................ 32/34 # at automated_pp_test.pl line 8448
+.
t/20-pp.t ................ 34/34 # Looks like you failed 1 test of 34.
So I pressed on anyway and did a 'make install' and that did not generate any errors :)
I had a look around and saw pp, pp.bat and pp.pm files still had date/timestamps in the past.
So I un-installed PERL and deleted the c:\perl folder and re-did all the dmakes (still needed to manually make par.exe and static.exe
What happened on the 3rd dmake is the following:
C:\mybuild\PAR-Packer-1.002>dmake test
dmake.exe: Warning: -- Found file corresponding to virtual target [mk
+tmpdir.h].
dmake.exe: Warning: -- Found file corresponding to virtual target [mk
+tmpdir.c].
dmake.exe: Warning: -- Found file corresponding to virtual target [ma
+in.c].
C:\Perl\bin\perl.exe run_with_inc.pl static.exe -I../myldr/.. -I../bli
+b/lib -q -B -O..\script\parl.exe
C:\Perl\bin\perl.exe run_with_inc.pl par.exe -I./myldr/.. -I../blib/li
+b -q -B -O..\script\parldyn.exe
C:\Perl\bin\perl.exe -e "chmod(oct('0600'), '..\blib\lib\PAR\StrippedP
+ARL\Static.pm');"
C:\Perl\bin\perl.exe encode_append.pl static.exe ..\blib\lib\PAR\Strip
+pedPARL\Static.pm
C:\Perl\bin\perl.exe -e "chmod(oct('0444'), '..\blib\lib\PAR\StrippedP
+ARL\Static.pm');"
C:\Perl\bin\perl.exe -e "chmod(oct('0600'), '..\blib\lib\PAR\StrippedP
+ARL\Dynamic.pm');"
C:\Perl\bin\perl.exe encode_append.pl par.exe ..\blib\lib\PAR\Stripped
+PARL\Dynamic.pm
C:\Perl\bin\perl.exe -e "chmod(oct('0444'), '..\blib\lib\PAR\StrippedP
+ARL\Dynamic.pm');"
Can't locate PAR/Heavy.pm in @INC (@INC contains: C:/Perl/site/lib C:/
+Perl/lib . ./myldr/.. ../blib/lib C:/Perl/site/lib C:/Perl/lib .) at
+-e line 525, <_FH> chunk 1.
C:\Perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "cp" -- script/par
+ldyn.exe b
lib\script\parldyn.exe
dmake.exe: Error: -- `script\parl.exe' not found, and can't be made
C:\mybuild\PAR-Packer-1.002>Can't locate PAR/Heavy.pm in @INC (@INC co
+ntains: C:/Perl/site/lib C:/Perl/lib . ../myldr/.. ../blib/lib .) at
+-e line 525, <_FH> chunk 1.
It just hangs at the above. Do you have any suggestions on these new errors?
Thanks
Richard.
|