Mail-ClamAv / ClamAv
ajos1 at onion.demon.co.uk
ajos1 at onion.demon.co.uk
Wed Dec 19 12:51:30 GMT 2007
-
Julian Field wrote:
>>
>> Due to problems with it building the clamavmodule virus scanner, I have backed off to the previous version again. Sorry about that.
>>
For those interested... I spent hours (and hours) last week trying to get Mail-ClamAv to install... and in the end I managed to work out it failed for the following reason...
Mail-ClamAv-0.20 was built with ClamAv 0.90 in mind (0.91 works) ... The reason why Mail-ClamAv-0.20 will not install/compile with ClamAv-0.92... is that clamav.h (provided by clamav) has changed a lot between 0.90 (0.91) and 0.92 with some #DEFINES disappearing.
(If you need a quick hack, install in the following order: clamav-0.912, Mail-ClamAv-0.20 and then Clamav-0.92 ).
I sent the maintainer this message last week (and he was going to do something when 0.92 was released).
===================================
===================================
I am just writing to let you know that between clamav-0.91.2 and clamav-0.92rc2 there have been a number of changes to clamav.h ! These changes now stop Mail::ClamAv-0.20 from compiling.
Mainly... these 3 lines have disappeared (plus others...)
#define CL_ENCINIT -200 /* NodalCore initialization failed */
#define CL_ENCLOAD -201 /* error loading NodalCore database */
#define CL_ENCIO -202 /* general NodalCore I/O error */
Are you planning to do an update to: Mail-ClamAV-0.20 to take these changes into account?
Original error:
---------------
ClamAV.xs:326: error: 'CL_ENCINIT' undeclared (first use in this function)
ClamAV.xs:326: error: (Each undeclared identifier is reported only once
ClamAV.xs:326: error: for each function it appears in.)
ClamAV.xs:327: error: 'CL_ENCLOAD' undeclared (first use in this function)
ClamAV.xs:328: error: 'CL_ENCIO' undeclared (first use in this function)
ClamAV.xs:331: error: 'CL_DB_NCORE' undeclared (first use in this function)
make[1]: *** [ClamAV.o] Error 1
make[1]: Leaving directory `/root/servers/perl_ext/Mail-ClamAV-0.20/_Inline/buil
d/Mail/ClamAV'
A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
make
The build directory was:
/root/servers/perl_ext/Mail-ClamAV-0.20/_Inline/build/Mail/ClamAV
To debug the problem, cd to the build directory, and inspect the output files.
at /root/servers/perl_ext/Mail-ClamAV-0.20/blib/lib/Mail/ClamAV.pm line 178
BEGIN failed--compilation aborted at /root/servers/perl_ext/Mail-ClamAV-0.20/bli
b/lib/Mail/ClamAV.pm line 542.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 25
===================================
===================================
More information about the MailScanner
mailing list