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. # Looks like you planned 30 tests but only ran 2. # Looks like your test died just after 2. t/08encoding...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 29/30 subtests t/14gzopen........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/14gzopen........1/251 # Failed test (t/14gzopen.t at line 25) # 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/14gzopen.t line 25. # Compilation failed in require at (eval 33) line 2. # BEGIN failed--compilation aborted at (eval 33) line 2. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 49. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 53. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 56. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 59. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 66. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 94. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 97. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 100. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 104. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 111. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 111. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 117. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 118. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 480. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 481. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 499. Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 502. Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs" in use at t/14gzopen.t line 38. Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/14gzopen.t line 38. Bareword "Z_FINISH" not allowed while "strict subs" in use at t/14gzopen.t line 98. Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/14gzopen.t line 110. Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/14gzopen.t line 111. Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/14gzopen.t line 446. Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/14gzopen.t line 461. Execution of t/14gzopen.t aborted due to compilation errors. # Looks like you planned 251 tests but only ran 3. # Looks like your test died just after 3. t/14gzopen........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 249/251 subtests t/99pod...........ok Test Summary Report ------------------- t/000prereq.t (Wstat: 1024 Tests: 7 Failed: 4) Failed tests: 2-4, 6 Non-zero exit status: 4 t/01version.t (Wstat: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 3 tests but ran 2. t/03zlib-v1.t (Wstat: 65280 Tests: 4 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 402 tests but ran 4. t/05examples.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/06gzsetp.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/08encoding.t (Wstat: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 30 tests but ran 2. t/14gzopen.t (Wstat: 65280 Tests: 3 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 251 tests but ran 3. Files=8, Tests=19, 2 wallclock secs ( 0.07 usr 0.02 sys + 2.03 cusr 0.26 csys = 2.38 CPU) Result: FAIL Failed 7/8 test programs. 8/19 subtests failed. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan> --- -- Voytek ------------------------------------------------------------------------- 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/