newbie_pel_writer has asked for the wisdom of the Perl Monks concerning the following question:

Hello there.

I just installed ActivePerl 5.8.0 build 804. I installed some packages using 'ppm install ...' command, but was unable to install Test::Unit this way. Look on the logs:

==== cut here ====
C:\>ppm install Test::Unit
Searching for 'Test::Unit' returned no results. Try a broader search first.

C:\>ppm2 install Test::Unit
'Installing package 'Test-Unit...
Error installing package 'Test-Unit': Could not locate a PPD file for package Test-Unit
==== cut here ====
Previosly I used ActivePerl 5.6.1 build 633 and there was no such problem. 'ppm install Test::Unit' command succesfully instaled version 0.14 of the package, then. But the lates version of Test::Unit now is 0.24. I was unable install this version with 5.6.1 too. And I didn't find anything infomative in http://aspn.activestate.com/ASPN/CodeDoc/Test-Unit/Test/Unit.html and in http://aspn.activestate.com/ASPN/Modules/dist_html?dist_id=9719

Can somebody help me or say when any version of Test::Unit will be available for ActivePerl 5.8.0?

Thanks

Replies are listed 'Best First'.
Re: Test::Unit and PPM
by runrig (Abbot) on Dec 13, 2002 at 00:31 UTC
    Why not download Test::Unit from CPAN and install it without ppm? Install nmake.exe (from http://msdn.microsoft.com and you can install with (after downloading from CPAN and unzipping):
    perl Makefile.PL nmake nmake test nmake install
      I tried it. 'nmake install' ends with:
      t\try_examples....FAILED tests 1-4
      Failed 4/4 tests, 0.00% okay
      Failed Test      Stat Wstat Total Fail  Failed  List of Failed
      -------------------------------------------------------------------------------
      t\try_examples.t                4    4 100.00%  1-4
      Failed 1/3 test scripts, 66.67% okay. 4/83 subtests failed, 95.18% okay.
      NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x9'
      Stop.
      
        t\try_examples....FAILED tests 1-4

        Read the source for that test. Its expected to fail on Win32. Try 'nmake install' again. (It seems like you jumped straight to 'nmake install' without doing 'nmake' and 'nmake test' first, so it tried to do all three at once and failed at the test)

Re: Test::Unit and PPM
by CountZero (Bishop) on Dec 13, 2002 at 06:49 UTC

    As Perl 5.8 is a major upgrade from the previous version it seems that most (if not all) files in the PPM-repositories must be recompiled. ActiveState seems to have run into some trouble when doing that (other than the sheer size of the work), although the worst should be over by now.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      I can downgrade to 5.6.1 but I need Test::Unit version 0.24. With ActivePerl 5.6.1 build 663 I was able to install version 0.14 of the package, only.
        Then the only solution is to compile this package yourself out of the CPAN-files.

        CountZero

        "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law