xuancong6000
Verified User
- Joined
- Oct 12, 2012
- Messages
- 79
I try to enable spamassassin from this link: http://help.directadmin.com/item.php?id=36 but I can't
It had an error:
could you help me fix it thanks
It had an error:
Code:
[root@server ~]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./spam.sh
File already exists: Mail-SpamAssassin-3.3.2.tar.gz
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 8.
BEGIN failed--compilation aborted at Makefile.PL line 8.
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::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI
Press enter to answer [yes] if it asks you to install dependencies (it will prepend them to the queue)
Answer no if it asks: Are you ready for manual configuration? [yes] no
[root@server scripts]# export PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
[root@server scripts]# cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI
-bash: cpan: command not found