OT: Installing Mail-ClamAV-0.20 fails...

Doc Schneider doc at maddoc.net
Wed May 9 21:31:56 IST 2007


ajos1 at onion.demon.co.uk wrote:
> -
> 
> Anyone have ideas on this one... I have googled the errors... and see alot of mentions of this error and that the original author needs to fix them... but no solutions!
> 
> It does the same for Mail-ClamAV-0.13 .
> 
> Thanks in advance-o.
> 
> My "Inline" version is 0.44 .
> Perl is: Perl: 5.008008 (5.8.8)
> 
> Installing Perl Module  - Mail-ClamAV-0.20
> ------------------------------------------
> 
> CPAN: File::HomeDir loaded ok (v0.64)
> CPAN: Storable loaded ok (v2.16)
> Going to read /root/.cpan/Metadata
>   Database was generated on Tue, 08 May 2007 05:10:52 GMT
> Running install for module 'Mail::ClamAV'
> Running make for S/SA/SABECK/Mail-ClamAV-0.20.tar.gz
> CPAN: Digest::SHA loaded ok (v5.44)
> CPAN: Compress::Zlib loaded ok (v2.004)
> Checksum for /root/.cpan/sources/authors/id/S/SA/SABECK/Mail-ClamAV-0.20.tar.gz ok
> Mail-ClamAV-0.20/
> Mail-ClamAV-0.20/t/
> Mail-ClamAV-0.20/t/eicarcom2.zip
> Mail-ClamAV-0.20/t/Mail-ClamAV.t
> Mail-ClamAV-0.20/t/virus.eml
> Mail-ClamAV-0.20/Inline/
> Mail-ClamAV-0.20/Inline/MakeMaker.pm
> Mail-ClamAV-0.20/META.yml
> Mail-ClamAV-0.20/config.pl
> Mail-ClamAV-0.20/Changes
> Mail-ClamAV-0.20/MANIFEST
> Mail-ClamAV-0.20/ClamAV.pm
> Mail-ClamAV-0.20/INSTALL
> Mail-ClamAV-0.20/Makefile.PL
> Mail-ClamAV-0.20/README
> CPAN: File::Temp loaded ok (v0.18)
> 
>   CPAN.pm: Going to build S/SA/SABECK/Mail-ClamAV-0.20.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Mail::ClamAV
> CPAN: YAML loaded ok (v0.62)
> cp ClamAV.pm blib/lib/Mail/ClamAV.pm
> /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.20 blib/arch
> Starting Build Prepocess Stage
> Finished Build Prepocess Stage
> 
> Starting Build Parse Stage
> Finished Build Parse Stage
> 
> Starting Build Glue 1 Stage
> Finished Build Glue 1 Stage
> 
> Starting Build Glue 2 Stage
> Finished Build Glue 2 Stage
> 
> Starting Build Glue 3 Stage
> Finished Build Glue 3 Stage
> 
> Starting Build Compile Stage
>   Starting "perl Makefile.PL" Stage
> Writing Makefile for Mail::ClamAV
>   Finished "perl Makefile.PL" Stage
> 
>   Starting "make" Stage
> make[1]: Entering directory `/root/.cpan/build/Mail-ClamAV-0.20-Cd7OP6/_Inline/build/Mail/ClamAV'
> /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/root/.cpan/build/Mail-ClamAV-0.20-Cd7OP6 -I/usr/local/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 -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   ClamAV.c
> ClamAV.xs: In function 'clamav_perl_new':
> ClamAV.xs:53: warning: implicit declaration of function 'cl_loaddbdir'
> ClamAV.xs:56: warning: implicit declaration of function 'cl_loaddb'
> ClamAV.xs: In function 'clamav_perl__scanfd':
> ClamAV.xs:202: warning: unused variable 'items'
> ClamAV.xs:197: warning: unused variable 'len'
> ClamAV.xs: In function 'clamav_perl__scanfile':
> ClamAV.xs:239: warning: unused variable 'items'
> ClamAV.xs:233: warning: unused variable 'len'
> ClamAV.xs: In function 'clamav_perl_constant':
> ClamAV.xs:350: error: 'CL_SCAN_ALGORITHMIC' undeclared (first use in this function)
> ClamAV.xs:350: error: (Each undeclared identifier is reported only once
> ClamAV.xs:350: error: for each function it appears in.)
> make[1]: *** [ClamAV.o] Error 1
> make[1]: Leaving directory `/root/.cpan/build/Mail-ClamAV-0.20-Cd7OP6/_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.20-Cd7OP6/_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.20-Cd7OP6/blib/lib/Mail/ClamAV.pm line 178
> BEGIN failed--compilation aborted at /root/.cpan/build/Mail-ClamAV-0.20-Cd7OP6/blib/lib/Mail/ClamAV.pm line 542.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> make: *** [ClamAV.inl] Error 25
>   SABECK/Mail-ClamAV-0.20.tar.gz
>   /usr/bin/make -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> 
> ==
> =====================================================================
> =
> = "It is obvious the Treasurer is rolling in money," said Wayne
> =  Swan, treasury spokesman for the opposition Labor Party. "It has
> =  been raining gold bars thanks to the mining boom."
> =
> =  Need help dealing with Parking Tickets, Bailiffs, Capita or NTL...
> =  Call...    +44 8457 90 90 90    http://www.samaritans.org/
> =
> =====================================================================

After installing Clamav-0.90.2 make sure you check your /etc/ld.so.conf
has the path to the new libraries. then run 'ldconfig'

I ran into this one quite a bit.

-- 
-Doc
Lincoln, NE.
http://www.genealogyforyou.com/
http://www.cairnproductions.com/



More information about the MailScanner mailing list