Mail::ClamAV 0.20 patched to build with ClamAV 0.92

Stein, Mr. Fred FStein at thehill.org
Thu Dec 20 12:56:11 GMT 2007


Julian,
It installed, but the make test had this error.
Centos 4.6
MailScanner 4.66.4.3

[root at clyde Mail-ClamAV-0.20]# 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....NOK 2                                                       
#   Failed test 'Constants'
#   at t/Mail-ClamAV.t line 90.
t/Mail-ClamAV....ok 3/10# Looks like you failed 1 test of 10.                
t/Mail-ClamAV....dubious                                                     
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/10 tests, 90.00% okay
Failed Test     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Mail-ClamAV.t    1   256    10    1  10.00%  2
Failed 1/1 test scripts, 0.00% okay. 1/10 subtests failed, 90.00% okay.
make: *** [test_dynamic] Error 1

Fred Stein 
Network Administrator 
The Hill School 
717 E. High Street
Pottstown, PA  19464
fstein at thehill.org 
www.thehill.org



-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian Field
Sent: Wednesday, December 19, 2007 6:07 PM
To: MailScanner discussion
Subject: Mail::ClamAV 0.20 patched to build with ClamAV 0.92

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have produced a patched version of this Perl module which should 
successfully build with ClamAV 0.92 installed.

So to upgrade a test system, download the newest ClamAV+SpamAssassin 
package (including ClamAV 0.92) from
http://www.mailscanner.info/files/4/install-Clam-0.92-SA-3.2.3.tar.gz
Unpack and install it as normal. The installation of Mail::ClamAV will 
fail, that is to be expected.

Now download
http://www.mailscanner.info/files/4/Mail-ClamAV-0.20.JKF.tar.gz

Unpack and install it with
tar xzf Mail-ClamAV-0.20.JKF.tar.gz
cd Mail-ClamAV-0.20
perl Makefile.PL
make
make test
make install

If you're in luck today, that will successfully build, test and install.

Now you should be in business, with a new ClamAV and a working 
"clamavmodule" virus scanner.

Please tell me how you get on with this.
All my mods are in the "JKF" subdirectory of the Mail-ClamAV-0.20 directory.

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 867)
Comment: Use Thunderbird's Enigmail add-on to verify this message
Charset: ISO-8859-1

wj8DBQFHaaQwEfZZRxQVtlQRAvyFAJ9ZeIasjfAL+v1JgKumuivxEtj9MACcCaAO
iRLkF5LjaOAj4aZ2J7+B+IM=
=SzdS
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list