Hi
I use SME Server V6 and am trying to install SpamAssassin 2.63.
First, as far as I know SpamAssassin 2.53 comes with SME V6, but reading up on spamassassin.org it says you can upgrade by using perl.
Installing or Upgrading SpamAssassin
------------------------------------
The easiest way to do this is using CPAN.pm, like so:
perl -MCPAN -e shell [as root]
o conf prerequisites_policy ask
install Mail::SpamAssassin
quit
------------------------------------
When I do this though I get the following:
cd spamd; ./configure --prefix="/usr" --sysconfdir="/etc" --datadir="/usr/share/spamassassin" --enable-ssl="no"
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See config.log' for more details.
make: *** [spamd/binaries.mk] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
So I d/l SA 2.63 zip and copied it to my home dir and tried to install it manually but get the following.
[server@server Mail-SpamAssassin-2.63]# make
cp spamd/spamd blib/script/spamd
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/spamd
cp sa-learn blib/script/sa-learn
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/sa-learn
cd spamd; ./configure --prefix="/root/sausr" --sysconfdir="/root/saetc" --datadir="/root/sausr/share/spamassassin" --enable-ssl="no"
/bin/sh: ./configure: /bin/sh: bad interpreter: Permission denied
make: *** [spamd/binaries.mk] Error 126
[server@server Mail-SpamAssassin-2.63]# make install
cd spamd; ./configure --prefix="/root/sausr" --sysconfdir="/root/saetc" --datadir="/root/sausr/share/spamassassin" --enable-ssl="no"
/bin/sh: ./configure: /bin/sh: bad interpreter: Permission denied
make: *** [spamd/binaries.mk] Error 126
I type this in and it shows it is linked
[server@server Mail-SpamAssassin-2.63]# ln -s /bin/bash /bin/sh
ln: /bin/sh': File exists
I notice this though
[server@server Mail-SpamAssassin-2.63]# /bin/bash ./configure
Please run 'perl Makefile.PL' instead of 'configure'.
So how do I get the 'perl Makefile.PL' to replace './configure' ??
or
How do I install SpamAssassin 2.63 ?
Thanks
Carlos