You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kenneth Porter <sh...@sewingwitch.com> on 2004/07/13 16:53:44 UTC

Minimum Perl version for SA 3.0

I just attempted to install a preliminary Rawhide RPM for SA 3.0-pre1 on 
Red Hat 8 and got this error:

error: Failed dependencies:
        perl(:MODULE_COMPAT_5.8.0) is needed by spamassassin-3.0-2.pre1

The system has perl-5.8.0-88.3 installed. What's the minimum version of 
Perl required for the new SA?

Re: Minimum Perl version for SA 3.0

Posted by John Andersen <js...@pen.homeip.net>.
On Tuesday 13 July 2004 06:53 am, Kenneth Porter wrote:
> I just attempted to install a preliminary Rawhide RPM for SA 3.0-pre1 on
> Red Hat 8 and got this error:
>
> error: Failed dependencies:
>         perl(:MODULE_COMPAT_5.8.0) is needed by spamassassin-3.0-2.pre1
>
> The system has perl-5.8.0-88.3 installed. What's the minimum version of
> Perl required for the new SA?

Was that perl installed via rpm, or CPAN?
If from CPAN, the rpm database has no clue what perl is
on the machine.  

-- 
_____________________________________
John Andersen

Re: SURBL Kudos

Posted by Jeff Chan <je...@surbl.org>.
On Wednesday, July 14, 2004, 3:04:59 PM, Bret Miller wrote:
> it's reduced the average processing time
> for SA too, which I guess means my processor is too slow since you'd
> expect DNS queries to take longer than a few CPU-intensive rules.

Actually I'd expect cached DNS queries (including negative
caching of non-mathches) to be quite quick.

One nice thing about using the SURBL version of large SpamAssasin
rulesets (like sa-blaklist used as ws.surbl.org instead) is that
the large rulesets seem to use a lot of memory in SA.  Certainly
the memory required to cache some DNS hits is much less.

Jeff C.
-- 
Jeff Chan
mailto:jeffc@surbl.org
http://www.surbl.org/


RE: Upgrading URL (was SURBL Kudos)

Posted by Bret Miller <br...@wcg.org>.
> >Thanks to all those who have worked so hard to get the SURBL project
> >running. I installed it today on my Windows 2000 server with 
> ActivePerl
> >5.8.2 and SA 2.63. It complains about URI being one version 
> too old, but
> >still runs great. (I can't update URI because it's part of the
> >ActivePerl distro, so I'd have to update ActivePerl, which I'm not
> >inclined to do at the moment.)
> >  
> >
> just run ppm
> 
> then "upgrade Net::URI"

Which responds, "Error: package 'Net::URI' is not installed." probably
because it isn't a ppm-installed module, it's part of the ActivePerl
distro. I've tried just about everything with PPM to get it to upgrade,
but it simply doesn't. I haven't tried using CPAN or a manual install
yet. I'm just not sure how much trouble it's worth since it seems to be
working fine with the prior version.

Bret




Re: SURBL Kudos

Posted by Jesse Houwing <j....@rulesemporium.com>.
Bret Miller wrote:

>Thanks to all those who have worked so hard to get the SURBL project
>running. I installed it today on my Windows 2000 server with ActivePerl
>5.8.2 and SA 2.63. It complains about URI being one version too old, but
>still runs great. (I can't update URI because it's part of the
>ActivePerl distro, so I'd have to update ActivePerl, which I'm not
>inclined to do at the moment.)
>  
>
just run ppm

then "upgrade Net::URI"

jesse

>I'm generally pretty gun-shy about installing new modules since Windows
>has problems with so many of them, but this one works except for the
>open redirect detection, and it's reduced the average processing time
>for SA too, which I guess means my processor is too slow since you'd
>expect DNS queries to take longer than a few CPU-intensive rules.
>
>Bret
>  
>





SURBL Kudos

Posted by Bret Miller <br...@wcg.org>.
Thanks to all those who have worked so hard to get the SURBL project
running. I installed it today on my Windows 2000 server with ActivePerl
5.8.2 and SA 2.63. It complains about URI being one version too old, but
still runs great. (I can't update URI because it's part of the
ActivePerl distro, so I'd have to update ActivePerl, which I'm not
inclined to do at the moment.)

I'm generally pretty gun-shy about installing new modules since Windows
has problems with so many of them, but this one works except for the
open redirect detection, and it's reduced the average processing time
for SA too, which I guess means my processor is too slow since you'd
expect DNS queries to take longer than a few CPU-intensive rules.

Bret




Re: Minimum Perl version for SA 3.0

Posted by Kenneth Porter <sh...@sewingwitch.com>.
--On Tuesday, July 13, 2004 11:51 AM -0400 Theo Van Dinter 
<fe...@kluge.net> wrote:

> No, it's still 5.6.1.  The above is a very obvious Fedora RPM issue.

Sorry for the confusion, this is Red Hat 8.0, not Fedora. 3.0 installs fine 
on Fedora.

I think 8.0 was the last RH distro not to use the new Perl object tokens in 
the RPM DB, so the error is probably because the stock Perl in that distro 
lacked the new token that the newer rpmbuild looks for.

Probably the least-surprise solution is to rebuild the Perl RPM from source 
using the later rpmbuild and bump the release to allow an "update". Of 
course, one could also update to a newer Perl at the same time, but that's 
always risky for the enterprise folks.

Re: Minimum Perl version for SA 3.0

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, Jul 13, 2004 at 10:48:02AM -0500, Jack L. Stone wrote:
> >        perl(:MODULE_COMPAT_5.8.0) is needed by spamassassin-3.0-2.pre1
> 
> A few months ago, I was told by Theo that perl-5.6.1 was minimum needed.
> Has this changed...???

No, it's still 5.6.1.  The above is a very obvious Fedora RPM issue.

-- 
Randomly Generated Tagline:
"If you want to waste food, throw a vegetable." - The Drew Carey Show

Re: Minimum Perl version for SA 3.0

Posted by Matt Kettler <mk...@comcast.net>.
At 07:53 AM 7/13/04 -0700, Kenneth Porter wrote:
>I just attempted to install a preliminary Rawhide RPM for SA 3.0-pre1 on 
>Red Hat 8 and got this error:
>
>error: Failed dependencies:
>        perl(:MODULE_COMPAT_5.8.0) is needed by spamassassin-3.0-2.pre1
>
>The system has perl-5.8.0-88.3 installed. What's the minimum version of 
>Perl required for the new SA?

I strongly suspect the above error is simply an RPM-ish issue.

Let's face it, the RPM is telling you that you need perl 5.8.0, and you've 
got 5.8.0...  Somewhere RPM is confused about what version of perl you've 
got installed.

Try building from tarball, if for no other reason than to confirm that it's 
an issue with RPM not SA's lack of compatibility with your version of perl.



Re: Minimum Perl version for SA 3.0

Posted by "Jack L. Stone" <ja...@sage-american.com>.
At 07:53 AM 7.13.2004 -0700, Kenneth Porter wrote:
>I just attempted to install a preliminary Rawhide RPM for SA 3.0-pre1 on 
>Red Hat 8 and got this error:
>
>error: Failed dependencies:
>        perl(:MODULE_COMPAT_5.8.0) is needed by spamassassin-3.0-2.pre1
>
>The system has perl-5.8.0-88.3 installed. What's the minimum version of 
>Perl required for the new SA?
>

A few months ago, I was told by Theo that perl-5.6.1 was minimum needed.
Has this changed...???

I have not yet tried to install the 3.0-prel and prefer to wait for the
production release.

Am running FBSD-4.10 and not Linux.

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
jacks@sage-american.com