Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: carlosp on March 15, 2004, 01:19:55 PM

Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: carlosp on March 15, 2004, 01:19:55 PM
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:

Quote
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.

Quote
[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
Quote
[server@server Mail-SpamAssassin-2.63]# ln -s /bin/bash /bin/sh
ln: /bin/sh': File exists


I notice this though
Quote
[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
Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: Anonymous on March 16, 2004, 08:08:19 AM
no Help?? Geez .. guess i'll look again tomorrow.
Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: okepc on March 16, 2004, 09:29:11 AM
You need the dev tools for your e-smith version.
Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: okepc on March 16, 2004, 09:30:53 AM
http://mirror.contribs.org/smeserver/contribs/saco/contrib/devtools_SME6.0/
Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: mbachmann on March 16, 2004, 03:54:50 PM
Follow Swert's howto: http://sme.swerts-knudsen.dk/. Repeating other members advices: installing maketools is a sercurity risk. Don't do.
Title: SpamAssassin: Can't install latest 2.63 and errors incl.
Post by: Anonymous on March 24, 2004, 03:19:08 PM
Quote from: "mbachmann"
Follow Swert's howto: http://sme.swerts-knudsen.dk/. Repeating other members advices: installing maketools is a sercurity risk. Don't do.


This seems to work. I'll check up on it thx. :)

Carlos