On Thu, Mar 13, 2008 at 01:35:40PM +1100, Voytek Eymont wrote: > On Thu, March 13, 2008 12:55 pm, John Evans wrote: > > I'd use cpan as root and do this once in cpan: > > install Compress::Zlib > > If it asks for prerequesites to Compress::Zlib, allow cpan to install > > it. > > thanks, John, thanks, MrC > > -- > cpan> install Scalar::Util > Scalar::Util is up to date. > > but when I try ZLIB, I get: > > --- > <<lot of stuff scrolling off followed by>> > > .Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30. > t/08encoding......1/30 > # Failed test (t/08encoding.t at line 33) > # Tried to use 'Compress::Zlib'. > # Error: is only avaliable with the XS version at > /root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib.pm line 9 > # BEGIN failed--compilation aborted at t/08encoding.t line 33. > # Compilation failed in require at (eval 33) line 2. > # BEGIN failed--compilation aborted at (eval 33) line 2. > Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs" in > use at t/08encoding.t line 40. > Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at > t/08encoding.t line 40. > Execution of t/08encoding.t aborted due to compilation errors.
This sounds to me like your Compress::Zlib installation somehow got partially - but not completely - uninstalled. Specifically the error above (under t/08encoding.t) seems to be saying that the XS portion of the code is missing. CPAN is seeing it as installed "enough" that it doesn't try to reinstall it, but when it tries to run it as a test it fails. Try cpan> install Compress::Zlib with the "force" option (which I don't remember the syntax for at the moment.) -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED] President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/