I've previously used RDJ to keep my SA rules up-to-date but have got the impression I should be using sa-update instead.

My first step was to run "sa-update && service spamassassin restart" but this gave the following error:

   IO::Zlib version 1.04 required--this is only version 1.01 at
   /usr/bin/sa-update line 82.
   BEGIN failed--compilation aborted at /usr/bin/sa-update line 82.

My next action was to use CPAN to update IO::Zlib but this also failed:

   cpan[1]> upgrade  IO::Zlib
   CPAN: Storable loaded ok (v2.09)
   Going to read /root/.cpan/Metadata
     Database was generated on Sat, 10 May 2008 05:29:47 GMT

   Package namespace         installed    latest  in CPAN file
IO::Zlib 1.01 1.09 TOMHUGHES/IO-Zlib-1.09.tar.gz
   Running install for module 'IO::Zlib'
   Running make for T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz
   CPAN: Digest::SHA loaded ok (v5.45)
   CPAN: Compress::Zlib loaded ok (v1.33)
   Checksum for
   /root/.cpan/sources/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz ok
   Scanning cache /root/.cpan/build for sizes
   
............................................................................DONE
   IO-Zlib-1.09/
   IO-Zlib-1.09/Makefile.PL
   IO-Zlib-1.09/META.yml
   IO-Zlib-1.09/t/
   IO-Zlib-1.09/t/basic.t
   IO-Zlib-1.09/t/getline.t
   IO-Zlib-1.09/t/import.t
   IO-Zlib-1.09/t/tied.t
   IO-Zlib-1.09/t/getc.t
   IO-Zlib-1.09/t/large.t
   IO-Zlib-1.09/t/uncomp1.t
   IO-Zlib-1.09/t/external.t
   IO-Zlib-1.09/t/uncomp2.t
   IO-Zlib-1.09/SIGNATURE
   IO-Zlib-1.09/ChangeLog
   IO-Zlib-1.09/README
   IO-Zlib-1.09/MANIFEST
   IO-Zlib-1.09/Zlib.pm
   CPAN: File::Temp loaded ok (v0.18)
   CPAN: YAML loaded ok (v0.66)

     CPAN.pm: Going to build T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz

   Checking if your kit is complete...
   Looks good
   Writing Makefile for IO::Zlib
   cp Zlib.pm blib/lib/IO/Zlib.pm
   Manifying blib/man3/IO::Zlib.3pm
     TOMHUGHES/IO-Zlib-1.09.tar.gz
     /usr/bin/make -- OK
   Running make test
   PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
   "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
   t/basic.......ok
   t/external....ok
   t/getc........ok
   t/getline.....ok
   t/import......ok
   t/large.......ok
   t/tied........ok
   t/uncomp1.....FAILED test 5
           Failed 1/10 tests, 90.00% okay
   t/uncomp2.....FAILED test 5
           Failed 1/10 tests, 90.00% okay
   Failed Test Stat Wstat Total Fail  List of Failed
   
-------------------------------------------------------------------------------
   t/uncomp1.t               10    1  5
   t/uncomp2.t               10    1  5
   Failed 2/9 test scripts. 2/122 subtests failed.
Files=9, Tests=122, 1 wallclock secs ( 0.79 cusr + 0.29 csys = 1.08 CPU)
   Failed 2/9 test programs. 2/122 subtests failed.
   make: *** [test_dynamic] Error 255
     TOMHUGHES/IO-Zlib-1.09.tar.gz
     /usr/bin/make test -- NOT OK
   //hint// to see the cpan-testers results for installing this module,
   try:
     reports TOMHUGHES/IO-Zlib-1.09.tar.gz
   Running make install
     make test had returned bad status, won't install without force
   Failed during this command:
    TOMHUGHES/IO-Zlib-1.09.tar.gz                : make_test NO

   cpan[2]>

Can anyone suggest what I should do next?

Thanks,
Geoff

Reply via email to