Hi,

As you found in prior post, the t/10-parl-generation tests will always
fail if you are installing using the downloadable PAR dist.

So, you should run all the tests, and provided that only the
t/10-parl-generation tests fail, you can happily proceed to 'nmake install'.

The correct way to handle this is to skip all the t/10-parl-generation
tests if installing using the downloadable PAR dist.

Regards

Mark



emfee wrote:
> I have installed perl v5.10.0 build for MSWin32-x86-multi-thread for
> ActiveState:
>
> Binary build 1001 [283495] provided by ActiveState
> http://www.ActiveState.com
> Built Dec 18 2007 08:46:15
>
> As there are no ppm packages for PAR::Packer in ppm4.activestate.com I
> have been trying to build it from the sources.
> Doing so, I did succeed for Module-ScanDeps-0.81, PAR-0.977,
> PAR-Dist-0.25 but PAR-Packer-0.977 did give problems.
> nmake did run without errors, but nmake test did give an error:
>
> t/10-parl-generation....ok 1/31
> #   Failed test 'Found the static build of parl in myldr'
> #   at t/10-parl-generation.t line 26.
> t/10-parl-generation....NOK 4/31# Looks like you failed 1 test of 31.
> t/10-parl-generation....dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 4
>        Failed 1/31 tests, 96.77% okay (less 27 skipped tests: 3 okay,
> 9.68%)
>
> Debugging this I changed line 26 of 10-parl-generation.t to:
>
> ok(-f $static, 'Found the static build of parl in myldr (static' .
> $Config{_exe} . ' in '. $myldr . ')');
>
> and now the error became:
>
> t/10-parl-generation....ok 1/31
> t/10-parl-generation....NOK 4/31#   Failed test 'Found the static
> build of parl in myldr (static.exe in
> C:\Perl\sources\PAR-Packer-0.977\myldr)'
> #   at t/10-parl-generation.t line 26.
> # Looks like you failed 1 test of 31.
>
> (Makefile.PL is in C:\Perl\sources\PAR-Packer-0.977)
>
> Indeed: in C:\Perl\sources\PAR-Packer-0.977\myldr there is no
> static.exe. Furthermore, there is a par.exe in myldr but with size 0
> bytes.
>
> I found Mark Dootson wrote Tue, 21 Aug 2007 07:04:59 -0700 on this list:
>
>> The t/10-parl-generation tests will always fail if you are installing
>> using the downloadable PAR dist.
>> (PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par), so that
>> failure can be ignored.
>
>
> I saw indeed "perl Makefile.PL" getting a .par from www.cpan.org
>
> Fetching 'PAR-Packer-0.977-MSWin32-x86-multi-thread-5.10.0.par' from
> www.cpan.org... done!
>
> but I am not sure if I indeed can just ignore this error as the
> 10-parl-generation.t script "says":
>
> if (not -f $static) {
>    SKIP: {
>        skip "No static parl found. Test script cannot continue!",
> TEST_NO()-4;
>    }
>    exit();
> }
>
> so the remainder of the tests in 10-parl-generation.t will not be
> executed.
>
> Not good to skip the other tests I think and also par.exe being 0
> bytes is suspicious.
> Anybody any idea how to solve this correctly? I am missing the
> background on how this is supposed to work.
>
> Thanks!
>
> Mike.


Reply via email to