Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Lasse Christiansen on October 29, 2003, 07:27:51 PM

Title: Installing SpamAssassin on 5.5 (Perl problem)
Post by: Lasse Christiansen on October 29, 2003, 07:27:51 PM
I tried installing Spamassassin using the directions and RPM's from http://sme.swerts-knudsen.dk/howtos/howto_17.htm

Although i know that this is for 5.6 and i'm running 5.5 (is there an easy way to upgrade from 5.5 to 5.6 without breaking any existing configs ??).

The problems is that the perl-mail-spamassassin install complains about

error: failed dependencies:
        perl(HTML::Parser) is needed by perl-Mail-SpamAssassin-2.60-1

Even though i've downloaded it from CPAN and installed it. I even copied it from /usr/lib/perl5/5.6.1/HTML to the directory /usr/lib/perl5/5.6.0/i386-linux

Can anyone give me any hints on how to make it work on 5.5 (without to many troubles).

Regards
Lasse
Title: Re: Installing SpamAssassin on 5.5 (Perl problem)
Post by: Dan Brown on October 29, 2003, 07:40:19 PM
RPM doesn't have any way of knowing about software you installed from CPAN (or in any other way than from an RPM).  If that's your only error, you should be able to safely use the --nodeps flag to install this.  You'd be better off, though, installing an RPM of html::parser.
Title: Re: Installing SpamAssassin on 5.5 (Perl problem)
Post by: Ray Mitchell on October 30, 2003, 03:56:35 AM
You might want to try this version which is integrated into sme v5.5

http://mirror.contribs.org/smeserver/contribs/jprice/beta/e-smith-spamassassin/

Regs
Ray