LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 03:45 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
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, 08: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, 08:31 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
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, 08: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 08:42 AM.
 
Old 12-09-2004, 09: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 08:26 PM
Slack 10 Install fails - kernel errors cxobert Slackware 2 08-09-2004 03:34 PM
spamassassin fails after update blaroe Linux - Software 2 04-14-2004 12:02 PM
SpamAssassin won't install ectech Linux - Software 0 03-29-2004 01:50 PM
Slack 9.1 kernel 2.6.1 make install fails LoungeLizard Slackware 2 01-31-2004 06:39 PM


All times are GMT -5. The time now is 11:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration