You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andy Biddle <an...@the-space.net> on 2004/09/30 16:47:35 UTC

SpamAssassin 3.0 and sa-learn problem.

I recently sent out a request for help regarding always getting
"autolearn=unavailable" messages.  When I try to train it with sa-learn, I
get:

Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is
deprecated at
/usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Bayes.pm line 983.
Learned from 0 message(s) (1 message(s) examined).
Can't locate auto/Digest/SHA1/sha1_hex.al in @INC (@INC contains: lib
/usr/local/lib/perl5/site_perl/5.8.2
/usr/local/lib/perl5/site_perl/5.8.2/mach
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach
/usr/local/lib/perl5/5.8.2) at
/usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Bayes.pm line 983

SHA1 is installed and up to date.  SpamAssassin was installed via CPAN.
My system is FreeBSD...

Assuming no one jumps up and points out specifically how to fix this, I'm
considering just wiping out my installation and rebuilding. Am I correct
in thinking that if this is probably just something wrong with my
installation?

Is there a good way to blow away SpamAssassin and everything it requires?
If I use CPAN to re-install SpamAssassin, shouldn't it re-install anything
it then requires?

Sorry, can't figure out why I'm having dependancy issues and I really want
to get this fixed.  Ugh.


Re: SpamAssassin 3.0 and sa-learn problem.

Posted by Andy Biddle <an...@the-space.net>.
I've done a CPAN "force install Digest::SHA1" and get the same issue...

On Thu, 30 Sep 2004, Theo Van Dinter wrote:

> On Thu, Sep 30, 2004 at 07:47:35AM -0700, Andy Biddle wrote:
> > Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is
> > deprecated at
> > /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Bayes.pm line 983.
> > Learned from 0 message(s) (1 message(s) examined).
> > Can't locate auto/Digest/SHA1/sha1_hex.al in @INC (@INC contains: lib
>
> This indicates that your Digest::SHA1 installation is botched.
>
> > SHA1 is installed and up to date.
>
> I'd blow away what you have and reinstall the module.
>
> --
> Randomly Generated Tagline:
> DOS: n., A small annoying boot virus that causes random spontaneous system
>       crashes, usually just before saving a massive project.  Easily cured by
>       UNIX.  See also MS-DOS, IBM-DOS, DR-DOS.
>  (from David Vicker's .plan)
>

Re: SpamAssassin 3.0 and sa-learn problem.

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Sep 30, 2004 at 07:47:35AM -0700, Andy Biddle wrote:
> Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is
> deprecated at
> /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Bayes.pm line 983.
> Learned from 0 message(s) (1 message(s) examined).
> Can't locate auto/Digest/SHA1/sha1_hex.al in @INC (@INC contains: lib

This indicates that your Digest::SHA1 installation is botched.

> SHA1 is installed and up to date.

I'd blow away what you have and reinstall the module.

-- 
Randomly Generated Tagline:
DOS: n., A small annoying boot virus that causes random spontaneous system
      crashes, usually just before saving a massive project.  Easily cured by
      UNIX.  See also MS-DOS, IBM-DOS, DR-DOS.
 (from David Vicker's .plan)