LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2004, 08:39 PM   #1
solvnetguru
LQ Newbie
 
Registered: Dec 2004
Location: wisc
Distribution: Slack and FreeBSD
Posts: 25

Rep: Reputation: 15
Spamassassin install fails in Slack 10.0


Trying to install spamassassin in my clean install of Slack 10.0 but it fails in Makefile.PL because it can't find the required parser 3.24 and SHA1 0 .

Any reason these are missing from the initial install? I understand that the parser is to extract html in the emails, but I don't know what the SHA1 is. And worse, newbie problem of how to implement them or where to get them.

Any help folks?

DAn
 
Old 12-09-2004, 02:45 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,158
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
You must install first Digest-SHA1 and HTML-Parser (for this you also need HTML-Tagset-3.03)
You can d/l the from cpan (http://search.cpan.org/).
 
Old 12-09-2004, 07:19 AM   #3
solvnetguru
LQ Newbie
 
Registered: Dec 2004
Location: wisc
Distribution: Slack and FreeBSD
Posts: 25

Original Poster
Rep: Reputation: 15
This is the newbie part, How do I install them. When I do a CPAN search i get a whole bunch of info about but nothing as a to do.

Do I cut and paste the source and save it as the previosly named PM file? If so then what do I do with it? Copy it to a specific directory? I understand that this is the only way to learn UNIX, so instead of asking for the fish I'm asking how to fish.
 
Old 12-09-2004, 07:31 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,158
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Well, cpan is a little tricky. So here are the links to d/l the modules:
http://search.cpan.org/CPAN/authors/...A1-2.10.tar.gz
http://search.cpan.org/CPAN/authors/...et-3.03.tar.gz
http://search.cpan.org/CPAN/authors/...er-3.43.tar.gz
After extracting each one of them of them enter into the respective directory and run:
Code:
perl Makefile.PL
When done, with no errors hopefully, enter the directory of spamassassin and do a "perl Makefile.PL" again.
 
Old 12-09-2004, 07:40 AM   #5
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
You have to configure your perl as root. It will ask you questions and most of the times the defaults are fine. After that you are able to install packages from the CPAN archive. Please read the instructions on your screen carefully.
Code:
perl - e shell -MCPAN
After a lot of questions you will see a prompt:
Code:
cpan>
Update the CPAN package by typing:
Code:
cpan> install Bundle::CPAN
It will install all kinds of things. Ater that install the modules you need to install your modules:
Code:
cpan> install Digest::SHA1
cpan> install HTML::Parser
cpan>exit
This is one way of doing it, there are others.

Last edited by rotvogel; 12-09-2004 at 07:42 AM.
 
Old 12-09-2004, 08:42 AM   #6
solvnetguru
LQ Newbie
 
Registered: Dec 2004
Location: wisc
Distribution: Slack and FreeBSD
Posts: 25

Original Poster
Rep: Reputation: 15
Cool, thanks for the links to the tarballs, that's what i was originally looking for.

WebMin has a PERL mod install module that installs the tarballs altho I could have done the Makefile.PLs myself too

One note tho, you need to install the HTML tags BEFORE installing the parser, otherwise the parser fails on install,

kudos
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 9.1/10.1 fails to mount CDROM brianko Slackware 3 06-05-2005 07:26 PM
Slack 10 Install fails - kernel errors cxobert Slackware 2 08-09-2004 02:34 PM
spamassassin fails after update blaroe Linux - Software 2 04-14-2004 11:02 AM
SpamAssassin won't install ectech Linux - Software 0 03-29-2004 12:50 PM
Slack 9.1 kernel 2.6.1 make install fails LoungeLizard Slackware 2 01-31-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration