Centos 5.2, MS, perl ClamAV module

Rick Cooper rcooper at dwford.com
Thu Nov 27 19:23:36 GMT 2008


If you look at the change log there were several changes to the libclamav
api. Any time you see that you know that the perl module will be broken

Rick 

 > -----Original Message-----
 > From: mailscanner-bounces at lists.mailscanner.info 
 > [mailto:mailscanner-bounces at lists.mailscanner.info] On 
 > Behalf Of David Lee
 > Sent: Thursday, November 27, 2008 2:40 PM
 > To: MailScanner discussion
 > Subject: Centos 5.2, MS, perl ClamAV module
 > 
 > 
 > I'm aware that the topic of the perl ClamAV module is a frequent one
 > (because of the unfortunate habit of the clamav software to 
 > change its 
 > interface on each minor release, requiring the perl module 
 > maintainer to 
 > do work).
 > 
 > I've just tried a fresh install (64 bit Intel) of Centos 
 > 5.2, MS-4.72.5-1
 > and install-Clam-SA-latest.tar.gz (install-Clam-0.94.1-SA-3.2.5).
 > 
 > "install-Clam-0.94.1-SA-3.2.5" successfully builds the 
 > clamav software 
 > itself (installing it into 
 > "/usr/local/{bin,lib64,etc,include}" (etc.)
 > 
 > It then tries to build the perl ClamAV module, which fails:
 >     ClamAV.xs:308: error: 'CL_EFSYNC' undeclared (first use 
 > in this function)
 >     ClamAV.xs:321: error: 'CL_ELOCKDB' undeclared (first use 
 > in this function)
 > 
 > Looking in the (just previously installed) 
 > "/usr/local/include/clamav.h"
 > shows that "CL_EFSYNC" is commented out, and that 
 > "CL_ELOCKDB" doesn't 
 > seem to exist at all.
 > 
 > So the two clam-related bits of 
 > "install-Clam-0.94.1-SA-3.2.5" would seem 
 > to be inconsistent.
 > 
 > Is the recommendation is that we no longer use the perl 
 > ClamAV module and 
 > instead use "clamd"?
 > 
 > If so, then are all the pieces in place to ensure that the 
 > "clamd" module 
 > is automatically invoked?  (The "chkconfig ..." and "service 
 > ... start"
 > or equivalents?)
 > 
 > 
 > -- 
 > 
 > :  David Lee                                I.T. Service          :
 > :  Senior Systems Programmer                Computer Centre       :
 > :  UNIX Team Leader                         Durham University     :
 > :                                           South Road            :
 > :  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
 > :  Phone: +44 191 334 2752                  U.K.                  :
 > -- 
 > 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! 
 > 
 > --
 > This message has been scanned for viruses and
 > dangerous content by MailScanner, and is
 > believed to be clean.
 > 
 > 


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




More information about the MailScanner mailing list