LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 06-28-2004, 02:04 PM   #1
shimmyt
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Spamassassin Perl errors


Well I have evolution and I was trying to get it to work with SpamAssassin to filter out spam. (BTW I have Slackware 10 installed fresh from the isos). Anyway I followed the directions in the install file, and installed it through CPAN:

cpan> o conf prerequisites_policy ask
prerequisites_policy ask

cpan> install Mail::SpamAssassin
CPAN: Storable loaded ok
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/...details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Mon, 28 Jun 2004 17:36:05 GMT
HTTP:ate not available
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Mail::SpamAssassin is up to date.

Now when I try to run "spamassassin -h" I get this message:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't locate HTML/Parser.pm in @INC (@INC contains: lib /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl) at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/HTML.pm line 7.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 42.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/bin/spamassassin line 66.

I have Perl 5.8.4 installed and I tried using the "export LANG=us_en" trick but that didn't work. Any help would be greatly appreciated.
 
Old 06-28-2004, 03:20 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 58
Try typing:
LANG=C

Then load CPAN with:
perl -eshell -MCPAN

At the "cpan>" prompt run:
install HTML::Parser

Then try spamassin again.
 
Old 06-29-2004, 07:49 AM   #3
shimmyt
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Yup that did it thank you. BTW I didn't even have to do the LANG=C. I just left it at the boot default.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl errors Brennan Linux From Scratch 5 09-29-2005 12:59 PM
Perl Script Program (need) : SpamAssassin-ClamAV-Procmail-Howto cyberjames Slackware 8 01-27-2005 11:53 AM
PERL update -> broke Spamassassin froedi Linux - Software 0 01-23-2005 08:08 AM
SpamAssassin Error "spamd: no response to STREAM cmd, Success" and other errors PlorkZ Linux - Software 1 11-18-2004 04:16 PM
perl-Mail-SpamAssassin ziggie216 Linux - Software 0 01-05-2004 02:10 PM


All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration