LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-13-2013, 10:26 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 456

Rep: Reputation: 30
Unhappy Spamassassin issue on slackware 9.1


I've been running with 9.1 forever and had an older version of Spamassassin running quite happly, though for some reason and I know not why I decided to upgrade it to current though I'm hitting issues, which I'll try and explain below in the hope that someone can offer some help.

I've updated through CPAN to 3.32 by using the following command:
Code:
cpan Mail::SpamAssassin
However, it wont run anymore, normally I use
Code:
spamd -c -d
This throws an error:
Code:
child process [29403] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2642.
sa-update wont run, showing:
Code:
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/i486-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i486-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl) at /usr/bin/sa-update line 81.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
done a bit of googling and thought about getting the LWP, tried:
Code:
perl -MCPAN -e 'install Bundle::LWP'
but this ended up telling me I needed Perl > 5.81 of which I have 5.8
So I guess part of my question is would getting a newer version work, would that through up more problems?

I'm wishing I have a "Rollback" button right now.

All help is appreciated as I sit here and watch my mailboxes fill up with offers of riches and body enhancements.
 
Old 03-14-2013, 08:41 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,613

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
You may be hard-pressed to find someone still running Slack 9.1 who can offer first-hand help. I think that version is almost a decade old; it was passe when I started with Linux in 2005.

If it were me and I wanted to stick with 9.1, I'd take a whirl at installing the version of PERL that SpamAssassin says it wants, after making the appropriate backups of my current PERL install.
 
Old 03-15-2013, 03:15 AM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 456

Original Poster
Rep: Reputation: 30
thanks for that, I am planning on trying this.

My issue is that its too much of a step/gamble for me to upgrade distribution and/or hardware here, as this is a working machine, though I do know that in time, I will have to make the change.

Anyway, as my install of Perl was through pkgtool and I'll have to do a compile/install for the >5.81 version, any pointers of backing up current just in case. Or do I simply remove package and do a compile/install?

Thanks
 
Old 03-18-2013, 10:18 AM   #4
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 456

Original Poster
Rep: Reputation: 30
Back working and for anyone interested, here is what I done.

I "borrowed" the perl 5.8.4 package from the Slackware 10.0 distribution and upgraded using:
Code:
upgradepkg old%new
then spent hours in Perl/CPAN hell

CPAN kept telling me that modules were fine/installed/complete, though things kept failing because of them.
Sometimes it would follow dependences, other times it wouldnt.
I basically went through the fails and installed each one but force with CPAN until eventually CPAN Mail::SpamAssassin worked.

Code:
spamassassin -V
SpamAssassin version 3.3.2
  running on Perl version 5.8.4
 
  


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
[SOLVED] Slackware 13.37 and SpamAssassin Lucifer4o Slackware 2 05-16-2011 11:37 PM
amavisd-new / spamassassin whitelist issue scheidel21 Linux - Server 5 10-19-2009 08:15 AM
CentOS Time Zone Issue & SpamAssassin? alfista Linux - Server 14 01-17-2008 07:10 PM
slackware: sendmail, clamAV, MIMEDefang, spamassassin aubrey-calm2 Linux - Newbie 4 03-09-2006 11:44 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
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