Subject: | Failed test on Strawberry Perl 5.10.0.1 on Windows XP |
When I tried to install PAR::Packer on my machine running Strawberry
Perl 5.10.0.1 on Windows XP Service Pack 2 I got a failed test.
The test report is the following:
t/00-pod..................skipped: Set environment variable
PERL_TEST_POD=1 to test POD
t/10-parl-generation......ok
t/20-pp...................ok
t/30-current_exec.........# Please wait
t/30-current_exec.........2/4
# Failed test 'Found the same file via PATH and full path'
# at t/30-current_exec.t line 52.
# got: ''
# expected: '0 =
C:\strawberry\cpan\build\PAR-Packer-0.979-NGhOHT\t\test-10.exec
# PAR_PROGNAME =
C:\strawberry\cpan\build\PAR-Packer-0.979-NGhOHT\t\test-10.exec
# PAR_TEMP =
C:/strawberry/cpan/build/PAR-Packer-0.979-NGhOHT/t-tmp\par-blandino\cache-997dd4c5d1d3e300d6776324d5dc9ad79
ce8fc92
# exec =
t/30-current_exec.........3/4 # '
# Looks like you failed 1 test of 4.
t/30-current_exec......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
(less 1 skipped subtest: 2 okay)
Test Summary Report
-------------------
t/30-current_exec.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=4, Tests=69, 302 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CPU)
Result: FAIL
Failed 1/4 test programs. 1/69 subtests failed.
dmake.EXE: Error code 129, while making 'test_dynamic'
SMUELLER/PAR-Packer-0.979.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SMUELLER/PAR-Packer-0.979.tar.gz
Failed during this command:
SMUELLER/PAR-Packer-0.979.tar.gz : make_test NO
Forcing the installation apparently solves the problem, because the pp
command is available. But if you use pp to build a Windows executable
and you move it to a machine without any Perl installed, when you try to
run it, you get an error message stating that perl510.dll is missing.
this is true also if you issue a command as simple as pp -e "print
'Hello World';" -o hello.exe
Below is the content of my PATH environment variable
C:\oracle\product\11.1.0\client_1;C:\oracle\ora92\bin;C:\Programmi\Oracle\jre\1.3.1\bin;
C:\Programmi\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
c:\Programmi\MicrosoftSQLServer\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;
C:\strawberry\c\bin;C:\strawberry\perl\bin;C:\strawberry\c\bin;C:\strawberry\perl\bin;C:\strawberry\c\bin;C:\strawberry\perl\bin