I have sa 3.0.2 and perl 5.8.6 running happily on six different servers right now.
After installing 5.8.6, you need to make sure that your cpan module installations and Makefile commands are being done under 5.8.6. Unless you explicitly removed the earlier version of Perl, you risk calling the older executable. I found that my 5.6 perl lived in /usr/bin and my 5.8 perl lived in /usr/local/bin.
I kept both versions during testing, and called cpan explicitly by running /usr/local/bin/perl -MCPAN -e shell.
Likewise, if I needed to configure a make file, I called perl explicitly by typing /usr/local/bin/perl Makefile.PL.
For spamassassin, I found that installing 3.0.2 via cpan worked the best.
RO
Keith Whyte wrote:
Louis LeBlanc wrote:
On 01/03/05 08:28 PM, Keith Whyte sat at the `puter and typed:Thanks Lou, but i think once again the point has been missed here. it's the same with all the previous posts about this issue.
make test fails horribly
with:
Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is deprecated at ../blib/lib/Mail/SpamAssassin/Bayes.pm line 987.
and
Can't locate auto/Digest/SHA1/sha1_hex.al in @INC
If you were on FreeBSD you'd simply install the p5-Digest-SHA1 port,
which would get all it's dependencies.
It's NOT a question of installing Digest::SHA1.
It's NOT a question of missing dependencies.
If you're running Linux, you might have to get the RPM forI'm running Linux. A base slackware system that, oh, back in the days it came to life was Slackware 7.1
Digest::SHA1, and it's dependency RPMs and install them however it's
done with Linux these days.
I don't do "rpm"s. I install from source. for perl modules, I use CPAN.
By the way, I tried installing an earlier version of Digest::SHA1, same error.
Has anybody out there got SA 3.0.2 and perl 5.8.6 running happily?
Thanks, Keith.