LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   prerequisite Digest::SHA1 0 not found for SpamAssassin (https://www.linuxquestions.org/questions/slackware-14/prerequisite-digest-sha1-0-not-found-for-spamassassin-341899/)

NetRAVEN5000 07-10-2005 01:57 PM

prerequisite Digest::SHA1 0 not found for SpamAssassin
 
I've got Slackware 10.1, and I'm trying to install SpamAssassin. It says that I do this:

[unzip/untar the archive]
cd Mail-SpamAssassin-*
perl Makefile.PL
[option: add -DSPAMC_SSL to $CFLAGS to build an SSL-enabled spamc]
make
make install [as root]

When I do "perl Makefile.PL", after answering some configuration questions, it succeeds but it gives me the following warning:

Warning: prerequisite Digest::SHA1 0 not found.

Then "make" gives me an error. What can I do about this?

killerbob 07-10-2005 02:34 PM

Install it with CPAN... there's probably other dependancies that will fail, and CPAN will check for dependancies. Consider it like emerge (the real one) for Perl.

Quote:

Using CPAN via CPAN.pm:

perl -MCPAN -e shell [as root]
o conf prerequisites_policy ask
install Mail::SpamAssassin
quit

That's how I've installed in twice, and that's how I upgrade it whenever they release a new version.

EDIT: I should note, you don't need to download *anything* to use CPAN. It'll download the current version automatically from the Perl CPAN archives. That includes both SpamAssassin proper, and any dependancies.

solvnetguru 03-13-2006 09:40 PM

Webmin server administration is a miracle worker for this stuff

webmin.com

Alien_Hominid 03-14-2006 01:45 AM

Maybe this will help: http://slackbasics.org/html/spamassassin.html


All times are GMT -5. The time now is 10:21 AM.