LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Spam Assassin & sendmail (https://www.linuxquestions.org/questions/slackware-14/spam-assassin-and-sendmail-303709/)

paul_mat 03-19-2005 07:07 PM

Spam Assassin & sendmail
 
hi there,

i'm trying to install Spam Assassin on my slackware 10.0 box and i've looked in the net and it seams to simple, but i keep getting these error messages and i've typed in the error messages on the net and got no where either, so i'm wondering if someone here can help me out

i type perl Makefile.PL

root@linuxserver:/home/Mail-SpamAssassin-3.0.2# perl Makefile.PL
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system]

Check network rules during 'make test' (test scripts may fail due to
network problems)? (y/n) [n]

Run SQL-based Auto-whitelist tests during 'make test' (additional
information required) (y/n) [n]

Run Bayes SQL storage tests during 'make test' (additional
information required)? (y/n) [n]

Warning: prerequisite Digest::SHA1 0 not found.
Warning: prerequisite HTML::Parser 3.24 not found.
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.17
root@linuxserver:/home/Mail-SpamAssassin-3.0.2#


then then i type make

root@linuxserver:/home/Mail-SpamAssassin-3.0.2# make
/usr/bin/perl5.8.6 spamc/configure.pl --prefix="/usr" --sysconfdir="/etc/mail/spamassassin" --datadir="/usr/share/spamassassin" --enable-ssl="no"
cd spamc
/usr/bin/perl version.h.pl
version.h.pl: creating version.h
spamc/configure.pl: version.h.pl: Failed to get the version from Mail::SpamAssassin.
Please use the --with-version= switch to specify it manually.

The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate Digest/SHA1.pm in @INC (@INC contains: ../lib /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
Compilation failed in require at version.h.pl line 27.
make: *** [spamc/Makefile] Error 2


dose anyone know whats going on?

kodon 03-19-2005 08:15 PM

just install it using CPAN
as describe in the INSTALL file

killerbob 03-19-2005 08:38 PM

Check the readme... there's a few perl libraries you need to install for spamassassin. In total, it's about 1mb in size between them, and they're all on cpan.org.

Digest::SHA1 is one of them. That's why you're getting this error.


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