Subject: | Doesn't build against ClamAV 0.9X |
make fails with
cc -c -I/root/.cpan/build/Mail-ClamAV-0.20-cWhBb9 -I/usr/local/include
-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g
-DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c
ClamAV.xs: In function 'clamav_perl_constant':
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
http://wiki.clamav.net/Main/UpgradeNotes090 refers to API changes that
appear applicable to Mail::ClamAV, notably the removal of cl_loaddb.