Can not enable SpamAssassin

nhthai

Verified User
Joined
Oct 2, 2009
Messages
11
Manifying blib/man3/URI::Escape.3pm
Manifying blib/man3/URI::QueryParam.3pm
Manifying blib/man3/URI::Heuristic.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/URI/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
File already exists: Archive-Tar-1.48.tar.gz
Archive-Tar-1.48/
Archive-Tar-1.48/bin/
Archive-Tar-1.48/bin/ptar
Archive-Tar-1.48/bin/ptardiff
Archive-Tar-1.48/CHANGES
Archive-Tar-1.48/lib/
Archive-Tar-1.48/lib/Archive/
Archive-Tar-1.48/lib/Archive/Tar/
Archive-Tar-1.48/lib/Archive/Tar/Constant.pm
Archive-Tar-1.48/lib/Archive/Tar/File.pm
Archive-Tar-1.48/lib/Archive/Tar.pm
Archive-Tar-1.48/Makefile.PL
Archive-Tar-1.48/MANIFEST
Archive-Tar-1.48/META.yml
Archive-Tar-1.48/README
Archive-Tar-1.48/t/
Archive-Tar-1.48/t/01_use.t
Archive-Tar-1.48/t/02_methods.t
Archive-Tar-1.48/t/03_file.t
Archive-Tar-1.48/t/04_resolved_issues.t
Archive-Tar-1.48/t/05_iter.t
Archive-Tar-1.48/t/90_symlink.t
Archive-Tar-1.48/t/99_pod.t
Archive-Tar-1.48/t/src/
Archive-Tar-1.48/t/src/header/
Archive-Tar-1.48/t/src/header/signed.tar
Archive-Tar-1.48/t/src/linktest/
Archive-Tar-1.48/t/src/linktest/linktest_missing_dir.tar
Archive-Tar-1.48/t/src/linktest/linktest_with_dir.tar
Archive-Tar-1.48/t/src/long/
Archive-Tar-1.48/t/src/long/b
Archive-Tar-1.48/t/src/long/bar.tar
Archive-Tar-1.48/t/src/long/foo.tbz
Archive-Tar-1.48/t/src/long/foo.tgz
Archive-Tar-1.48/t/src/short/
Archive-Tar-1.48/t/src/short/b
Archive-Tar-1.48/t/src/short/bar.tar
Archive-Tar-1.48/t/src/short/foo.tbz
Archive-Tar-1.48/t/src/short/foo.tgz
You do not have IO::Compress::Bzip2 installed. This means you can not read or write bzip2 compr essed archives!
Note: you can disable this warning (and the prerequisite) by invoking Makefile.PL with '-n'

Archive::Tar comes with a utility called 'ptardiff' which lets you run diffs against tar archiv es.

However, this utility requires you to have Text::Diff installed.

To add Text::Diff as a prerequisite, please supply the '-d' option when invoking this Makefile. PL.

Warning: prerequisite Compress::Zlib 2.015 not found. We have 1.42.
Warning: prerequisite IO::Compress::Base 2.015 not found.
Warning: prerequisite IO::Compress::Bzip2 2.015 not found.
Warning: prerequisite IO::Compress::Gzip 2.015 not found.
Warning: prerequisite Package::Constants 0 not found.
Writing Makefile for Archive::Tar
cp bin/ptardiff blib/script/ptardiff
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ptardiff
cp bin/ptar blib/script/ptar
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ptar
Manifying blib/man1/ptardiff.1
Manifying blib/man1/ptar.1
Manifying blib/man3/Archive::Tar.3pm
Manifying blib/man3/Archive::Tar::File.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Archive/Tar/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
File already exists: Mail-SpamAssassin-3.3.1.tar.gz
NOTE: settings for "make test" are now controlled using "t/config.dist".
See that file if you wish to customise what tests are run, and how.

checking module dependencies and their versions...
Use of uninitialized value in concatenation (.) or string at lib/Mail/SpamAssassin/Util/Depende ncyInfo.pm line 324.

***************************************************************************
ERROR: the required Archive::Tar module is installed (),
but is below the minimum required version 1.23,
some functionality will not be available.

The "sa-update" program requires this module to access tar update
archive files.


***************************************************************************
NOTE: the optional Digest::SHA module is not installed.

The Digest::SHA module is required by the DKIM plugin.


***************************************************************************
NOTE: the optional IP::Country module is not installed.

Used by the RelayCountry plugin (not enabled by default) to determine
the domain country codes of each relay in the path of an email.


***************************************************************************
NOTE: the optional Razor2 module is not installed,
minimum required version is 2.61.

Used to check message signatures against Vipul's Razor collaborative
filtering network. Razor has a large number of dependencies on CPAN
modules. Feel free to skip installing it, if this makes you nervous;
SpamAssassin will still work well without it.

More info on installing and using Razor can be found
at http://wiki.apache.org/spamassassin/InstallingRazor .


***************************************************************************
NOTE: the optional Net::Ident module is not installed.

If you plan to use the --auth-ident option to spamd, you will need
to install this module.


***************************************************************************
NOTE: the optional IO::Socket::INET6 module is not installed.

This is required if the first nameserver listed in your IP
configuration or /etc/resolv.conf file is available only via an
IPv6 address. Also used by a DCC plugin to access dccifd over network.


***************************************************************************
NOTE: the optional Mail::DKIM module is not installed,
minimum required version is 0.31, recommended version is 0.37 or higher.

If this module is installed and the DKIM plugin is enabled,
SpamAssassin will perform DKIM signature verification when DKIM-Signature
header fields are present in the message headers, and check ADSP rules
(e.g. anti-phishing) when a mail message does not contain a valid author
domain signature. Version 0.37 or later is needed to fully support ADSP.


***************************************************************************
NOTE: the optional DBI module is not installed.

If you intend to use SpamAssassin with an SQL database backend for
user configuration data, Bayes storage, or other storage, you will need
to have these installed; both the basic DBI module and the DBD driver for
your database.


***************************************************************************
NOTE: the optional LWP::UserAgent module is not installed.

The "sa-update" program requires this module to make HTTP requests.


***************************************************************************
NOTE: the optional HTTP::Date module is not installed.

The "sa-update" program requires this module to make HTTP
If-Modified-Since GET requests.


***************************************************************************
NOTE: the optional Encode::Detect module is not installed.

If you plan to use the normalize_charset config setting to detect
charsets and convert them into Unicode, you will need to install
this module.

REQUIRED module out of date: Archive::Tar
optional module missing: Digest::SHA
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: Mail::DKIM
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Encode::Detect

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.


run:
/usr/bin/spamd -d -c -m 15

[root@server scripts]#
I did take so much times for this. Pls, help me.
 
It appears you're either not noticing the errors, warnings, or notes, in all the output you've quoted, or you don't have any idea how/where to start fixing them.

Unfortunately the DirectAdmin forums aren't the place to learn how to be a systems administrator.

If you need SpamAssassin and you don't know how to update your server to support it, then I'd suggest you hire someone to install it for you. In fact, since you'll probably run into other issues, I'd suggest you hire someone to manage your server for you.

I'd also suggest you either get a good book on systems administration and put a Linux or FreeBSD server on your local desktop so you can start learning, or else take a class on Linux or FreeBSD systems administration, depending on how you best learn, and your choice of OS.

Jeff
 
For one, it says you have not got bzip2 installed. I think it is best, if this is a production environment, you hire somebody like Jeff or myself to get you going. You can then always toy around on another box to get a grip on things.
 
Hi tomtom901
Thank your info. I have checked my system. bzip2 installed !. About other waring , i have also checked, but they're installed too !.

Hi Jeff : I disagree with your answer. I'm not an idiot that can not install the system.
I am VietNamese. My English is very limited so I could hardly describe what I think. Anyway, thank you very much
 
I disagree with your answer. I'm not an idiot that can not install the system.
I am VietNamese. My English is very limited so I could hardly describe what I think. Anyway, thank you very much
You're welcome. Actually your english seems quite good.

I accept your disagreement with my answer. I apologize if my tone seemed to be accusatory, but actually I was trying to be helpful. I read every thread on DirectAdmin forums and I try to be as succinct as possible.

Since you didn't mention those specific errors and warnings, but only posted them, I could only assume that you didn't understand them.

Jeff
 
Back
Top