Subject: | Mail::ClamAV 0.12 fails make test on fedora core @ |
Running fedora core 2 perl 5.8.3 clamav 0.80
uname -a output : Linux ccfsrv01.ccfford.com 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686 i386 GNU/Linux
perl -v output: This is perl, v5.8.3 built for i386-linux-thread-multi
install (from source or cpan)
"make" completes without error or warnings but "make test" fails from test 1.
Ouput from make install:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Mail-ClamAV....# Failed test (t/Mail-ClamAV.t at line 9)
# Tried to use 'Mail::ClamAV'.
# Error: Had problems bootstrapping Inline module 'Mail::ClamAV'
#
# Can't load '/root/.cpan/build/Mail-ClamAV-0.12/blib/arch/auto/Mail/ClamAV/ClamAV.so' for module Mail::ClamAV: libclamav.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
# at /usr/lib/perl5/vendor_perl/5.8.3/Inline.pm line 500
#
#
# at /root/.cpan/build/Mail-ClamAV-0.12/blib/lib/Mail/ClamAV.pm line 159
# BEGIN failed--compilation aborted at /root/.cpan/build/Mail-ClamAV-0.12/blib/lib/Mail/ClamAV.pm line 498.
# Compilation failed in require at (eval 1) line 2.
t/Mail-ClamAV....NOK 1"all" is not defined in %Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line 11
Can't continue after import errors at t/Mail-ClamAV.t line 11
# Looks like you planned 13 tests but only ran 1.
t/Mail-ClamAV....dubious
Test returned status 13 (wstat 3328, 0xd00)
Scalar found where operator expected at (eval 154) line 1, near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Mail-ClamAV.t 13 3328 13 25 192.31% 1-13
Failed 1/1 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
libclamav.so.1 is in fact in /usr/local/lib and all required packages are up todate as of this morning. Only had this issue with the Fedora boxes and it happens on four different Fedora Core 2 installations