Bug in install-Clam-0.95.1-SA-3.2.5 ?

Remco Barendse mailscanner at barendse.to
Sat May 16 11:46:57 IST 2009


My SpamAssassin stopped working, when doing :
spamassassin -D -t -p /etc/MailScanner/spam.assassin.prefs.conf

it just hangs after :
[5501] dbg: dns: no ipv6
[5501] dbg: dns: is Net::DNS::Resolver available? yes
[5501] dbg: dns: Net::DNS version: 0.65

So i tried updating the SA package. However when i run ./install.sh on a 
CentOS 4.7 box Mail-ClamAV-0.22 doesn't build, it uses the wrong path for 
a start. I untarred the tarball to /tmp/install-Clam-0.95.1-SA-3.2.5 which 
means that Mail-ClamAV is here :
/tmp/install-Clam-0.95.1-SA-3.2.5/perl-tar/Mail-ClamAV-0.22

but as per the output below it expects it to be /tmp/Mail-ClamAV-0.22

Simply copying the folder to /tmp didn't help.

I'm running CentOS 4.7 with clamav 0.95.1



/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.8/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv 
ClamAV.xsc ClamAV.c
gcc -c  -I/tmp/Mail-ClamAV-0.22 -I/usr/include -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 
-DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC 
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   ClamAV.c
ClamAV.xs:33: error: field `limits' has incomplete type
ClamAV.xs: In function `clamav_perl__scanfd':
ClamAV.xs:206: error: too many arguments to function `cl_scandesc'
ClamAV.xs: In function `clamav_perl__scanfile':
ClamAV.xs:247: error: too many arguments to function `cl_scanfile'
ClamAV.xs: In function `clamav_perl_constant':
ClamAV.xs:298: error: `CL_ERAR' undeclared (first use in this function)
ClamAV.xs:298: error: (Each undeclared identifier is reported only once
ClamAV.xs:298: error: for each function it appears in.)
ClamAV.xs:299: error: `CL_EZIP' undeclared (first use in this function)
ClamAV.xs:300: error: `CL_EGZIP' undeclared (first use in this function)
ClamAV.xs:301: error: `CL_EBZIP' undeclared (first use in this function)
ClamAV.xs:302: error: `CL_EOLE2' undeclared (first use in this function)
ClamAV.xs:303: error: `CL_EMSCOMP' undeclared (first use in this function)
ClamAV.xs:304: error: `CL_EMSCAB' undeclared (first use in this function)
ClamAV.xs:311: error: `CL_EPATSHORT' undeclared (first use in this 
function)
ClamAV.xs:314: error: `CL_ECVDEXTR' undeclared (first use in this 
function)
ClamAV.xs:315: error: `CL_EMD5' undeclared (first use in this function)
ClamAV.xs:316: error: `CL_EDSIG' undeclared (first use in this function)
ClamAV.xs:317: error: `CL_EIO' undeclared (first use in this function)
ClamAV.xs:319: error: `CL_ESUPPORT' undeclared (first use in this 
function)
ClamAV.xs:329: error: `CL_DB_ACONLY' undeclared (first use in this 
function)
ClamAV.xs:354: error: `CL_RAW' undeclared (first use in this function)
ClamAV.xs:355: error: `CL_ARCHIVE' undeclared (first use in this function)
ClamAV.xs:356: error: `CL_MAIL' undeclared (first use in this function)
ClamAV.xs:357: error: `CL_OLE2' undeclared (first use in this function)
ClamAV.xs:358: error: `CL_ENCRYPTED' undeclared (first use in this 
function)
make[1]: *** [ClamAV.o] Error 1
make[1]: Leaving directory 
`/tmp/Mail-ClamAV-0.22/_Inline/build/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:
/tmp/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV

To debug the problem, cd to the build directory, and inspect the output 
files.

  at /tmp/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 175
BEGIN failed--compilation aborted at 
/tmp/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 534.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 25




More information about the MailScanner mailing list