ClamAV Module Failure

Randal, Phil prandal at HEREFORDSHIRE.GOV.UK
Wed Aug 11 12:07:34 IST 2004


MailScanner mailing list wrote:
> Hi!
>
>>> 2> reinstall Mail::ClamAV
>>
>> Yes from FreeBSD port but I think Mike Zanker may have found it. The
>> BSD ports tree has version 0.05, the latest version is 0.11. I wonder
>> if JP can submit 0.11 to a committer (As he is listed as the port
>> maintainer).
>
> You really NEED to install .11, else you can reinstall over
> and over, wont help :)
>
> Bye,
> Raymond.

I just tried to install Mail::ClamAV 0.11 on my Fedora Core 1 box and
got:

 Starting "make" Stage
make[1]: Entering directory
`/root/.cpan/build/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv
ClamAV.xsc ClamAV.c
gcc -c  -I/root/.cpan/build/Mail-ClamAV-0.11 -I/usr/local/include
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
-mcpu=i686   -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC
"-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE"   ClamAV.c
ClamAV.xs: In function `clamav_perl_constant':
ClamAV.xs:284: error: `CL_NUM_CHILDS' undeclared (first use in this
function)
ClamAV.xs:284: error: (Each undeclared identifier is reported only once
ClamAV.xs:284: error: for each function it appears in.)
ClamAV.xs:285: error: `CL_MIN_LENGTH' undeclared (first use in this
function)
make[1]: *** [ClamAV.o] Error 1
make[1]: Leaving directory
`/root/.cpan/build/Mail-ClamAV-0.11/_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:
/root/.cpan/build/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV

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

 at /root/.cpan/build/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 159
BEGIN failed--compilation aborted at
/root/.cpan/build/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 447.
Compilation failed in require.
BEGIN failed--compilation aborted.

Hmmm, 0.10 built OK.

Phil

----
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list