You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jari Fredriksson <ja...@iki.fi> on 2014/06/10 21:02:24 UTC

ClamAV.pm not found

I need a hand with my perl. This has worked, but for some reason no more.

sa-learn says:

defined(@array) is deprecated at /etc/mail/spamassassin/EmailBL.pm line 321.
	(Maybe you should just omit the defined()?)
plugin: failed to parse plugin /etc/mail/spamassassin/clamav.pm: Can't locate File/Scan/ClamAV.pm in @INC (you may need to install the File::Scan::ClamAV module) (@INC contains: lib /usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl) at /etc/mail/spamassassin/clamav.pm line 14.
BEGIN failed--compilation aborted at /etc/mail/spamassassin/clamav.pm line 14.
Compilation failed in require at /usr/local/share/perl/5.14.2/Mail/SpamAssassin/PluginHandler.pm line 108.

-------------------

jarif@whirlwind:~$ locate ClamAV.pm
/usr/local/share/perl/5.10.1/File/Scan/ClamAV.pm
/usr/local/share/perl/5.14.2/File/Scan/ClamAV.pm

The file is there. Why can't it be found?

-------------------


jarif@whirlwind:~$ head /usr/local/share/perl/5.14.2/File/Scan/ClamAV.pm
# $Id: ClamAV.pm,v 1.91 2009/02/07 12:43:13 jamtur Exp $
# Author: Colin Faber cfaber@fpsn.net, James Turnbull
james@lovedthanlost.net

package File::Scan::ClamAV;
use strict;
use warnings;
use vars qw($VERSION);
use File::Find qw(find);
use IO::Socket;


-- 
jarif.bit



Re: ClamAV.pm not found

Posted by Benny Pedersen <me...@junc.eu>.
On 10. jun. 2014 21.02.24 CEST, Jari Fredriksson <ja...@iki.fi> wrote:

>jarif@whirlwind:~$ locate ClamAV.pm
>/usr/local/share/perl/5.10.1/File/Scan/ClamAV.pm
>/usr/local/share/perl/5.14.2/File/Scan/ClamAV.pm
>
>The file is there. Why can't it be found?

If it was gentoo i would run perl-cleaner all

As i see it it miss fot 5.18 ?