I'm trying to set up FuzzyOCR as a plug-in to SpamAssassin. Wrote to the
author several days ago but have not received a response. The errors I'm
seeing appear to be perl issues or OS issues, not specifically related to
the application.

  Here is the error message I see:

plugin: failed to parse plugin /etc/mail/spamassassin/FuzzyOcr.pm: Can't
locate FuzzyOcr/Logging.pm in @INC (@INC contains: /etc/mail/spamassassin
/usr/lib/perl5/site_perl/5.8.8/i486-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/5.8.8/i486-linux /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl) at /etc/mail/spamassassin/FuzzyOcr.pm line 24.
BEGIN failed--compilation aborted at /etc/mail/spamassassin/FuzzyOcr.pm line
24.

plugin: failed to create instance of plugin FuzzyOcr: Can't locate object
method "new" via package "FuzzyOcr" at (eval 30) line 1.

  I changed the perms on FuzzyOcr.pm and Logging.pm to 755. I don't
understand why perl failed to parse the plugin
/etc/mail/spamassassin/FuzzyOcr.pm since a copy of that module is in that
directory. Further, FuzzyOcr/Logging.pm is also in /etc/mail/spamassassin.
The error at line 24 is:

use FuzzyOcr::Logging qw(debuglog errorlog warnlog infolog);

  Since I don't know perl, I'm lost here.

Rich

Are you using SpamAssassin version 3.1.4 or newer? If not, you need to.
What version of FuzzyOcr?
Are you trying to load the plugin from more than one place - in other words if you are trying to load it via an entry in v310.pre, comment that out and instead use the supplied loadplugin entry in FuzzyOcr.cf.

Gary V

_________________________________________________________________
The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/?icid=nctagline2

Reply via email to