LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2011, 11:45 PM   #1
rizwan65
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
Problem installing spamassassin CentOS 5.5


Hi every body
I am facing problem installing spamassassin on my CentOS - Direct Admin VPS
The installation ended with the following error

Quote:
REQUIRED module out of date: Archive::Tar
optional module missing: Digest::SHA
optional module missing: Mail::SPF
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: Mail:KIM
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP:ate
optional module missing: Encode:etect

warning: some functionality may not be available,
please read the above report before continuing!

make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Cannot find /usr/bin/sa-update after install. Check for errors above.
Cannot find /usr/bin/spamd. Check above for errors or missing perl modules.
If needed, use cpan to install the missing modules, eg:
cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail:KIM LWP::UserAgent HTTP:ate Encode:etect

press enter to answer [yes] if it asks you to install dependencies (it will prepend them to the queue)
I tried installing missing modules as follows
Quote:
PERL_MM_USE_DEFAULT=1 cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail:KIM LWP::UserAgent HTTP:ate Encode:etect
But while istalling modules the following error occurs
Quote:
The module LWP::UserAgent isn't available on CPAN.

Either the module has not yet been uploaded to CPAN, or it is
temporary unavailable. Please contact the author to find out
more about the status. Try 'i LWP::UserAgent'.
Running install for module HTTP:ate

The module HTTP:ate isn't available on CPAN.

Either the module has not yet been uploaded to CPAN, or it is
temporary unavailable. Please contact the author to find out
more about the status. Try 'i HTTP:ate'.
Running install for module Encode:etect

The module Encode:etect isn't available on CPAN.

Either the module has not yet been uploaded to CPAN, or it is
temporary unavailable. Please contact the author to find out
more about the status. Try 'i Encode:etect'.
I need your help on how to install these modules

Regards
Rizwan
 
Old 01-15-2011, 12:19 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
HTTP:ate and Encode:etect are wrong: See how they don't fit the pattern with only one colon and the second set of characters not making sense. It feels like you copied from a forum post that turned :D into smilies. Install HTTP::Date and Encode::Detect instead.

LWP::UserAgent exists so I don't know why you wouldn't be able to find it. Maybe you need to use a different mirror.
Code:
$ perl -MCPAN -e shell
cpan> o conf urllist shift http://mirrors1.kernel.org/cpan/
cpan> o conf commit

Last edited by AlucardZero; 01-15-2011 at 11:01 AM. Reason: Enode -> Encode
 
Old 01-15-2011, 12:28 AM   #3
rizwan65
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
AlucardZero: You are right I have copy/pasted from the forum I already posted
Anyways
Actually I am fairly newby in linux so I dont know you to change mirror and where
If you can explain I will be thankful
Regards
Rizwan
 
Old 01-15-2011, 01:04 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Welcome to LQ.

How about # 'yum install spamassassin' : Will provide version 3.2.5.

The current stable "latest" is version 3.3.1.
Which version are you trying to install ? ?
3.3.1 does not ask for the selection of perl modules, shown in post #1.
( The most are just optional.)

Also : Perl modules can be installed with yum. This is for spamassassin-3.3.1 :
# yum install perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-Mail-DKIM

..

Last edited by knudfl; 01-15-2011 at 01:10 AM.
 
Old 01-15-2011, 11:00 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
Originally Posted by rizwan65 View Post
Actually I am fairly newby in linux so I dont know you to change mirror and where
I have given you the steps in my previous post.
 
  


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
Spamassassin Installation on Centos 5.3 blackcat9 Linux - Software 3 06-26-2009 04:19 PM
LXer: ClamAv and Spamassassin on CentOS 5 Postfix LXer Syndicated Linux News 0 01-19-2009 01:41 PM
CentOS Time Zone Issue & SpamAssassin? alfista Linux - Server 14 01-17-2008 08:10 PM
Centos 4.4, Spamassassin and ClamAV JediKnight2 Linux - Software 1 03-11-2007 10:09 AM
Problem installing SpamAssassin on SuSE 9.1 TongueTied SUSE / openSUSE 4 09-09-2005 05:21 AM


All times are GMT -5. The time now is 12:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration