You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Masashi SAKURADA <ah...@na.rim.or.jp> on 2005/10/20 01:26:10 UTC

Argument "0.53_01" isn't numeric

Hello,

I've been getting this warning since up to SA 3.1.0 on FreeBSD
4.8-RELEASE-p22

Argument "0.53_01" isn't numeric in numeric lt (<) at/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Dns.pm line 588.

This may check version of Dns.pm. The file Dns.pm has no version
number itself. Could you tell me how to resolve this problem?

Regards,

------------------------------------------Masashi SAKURADA/AH0K/JR2GMC
E-mail: ah0k@na.rim.or.jp URL: http://www.ah0k.com/
GnuPG Key: "lynx -source http://www.ah0k.com/ah0k.asc | gpg --import"
PGP-fingerprint: 9332 0E9F 78AB E793 0E9F  84C6 FA74 3A11 3235 EC1E

Re: Argument "0.53_01" isn't numeric

Posted by Masashi SAKURADA <ah...@na.rim.or.jp>.
Hello Matt,

From: Matt Kettler <mk...@evi-inc.com>
Subject: Re: Argument "0.53_01" isn't numeric
Date: Thu, 20 Oct 2005 20:02:05 -0400

> Let's look at Dns.pm line 588:
> 
>       if ($Net::DNS::VERSION < 0.34) {
> 
> Hmm, looks like someone (the Net::DNS maintainer) made Net::DNS have a version
> number that's no longer a number, but a string.

Yes, it is.

> Net::DNS::VERSION "0.53_01" can't be numerically compared against a version
> number, but SpamAssassin needs to know if your version is newer than 0.34... ouch.

I found bsdpan-p5-Net-DNS has 0.53_01. After I removed it, p5-Net-DNS
has no problem.

Thank you.

------------------------------------------Masashi SAKURADA/AH0K/JR2GMC
E-mail: ah0k@na.rim.or.jp URL: http://www.ah0k.com/
GnuPG Key: "lynx -source http://www.ah0k.com/ah0k.asc | gpg --import"
PGP-fingerprint: 9332 0E9F 78AB E793 0E9F  84C6 FA74 3A11 3235 EC1E




Re: Argument "0.53_01" isn't numeric

Posted by Matt Kettler <mk...@evi-inc.com>.
Masashi SAKURADA wrote:
> Hello,
> 
> I've been getting this warning since up to SA 3.1.0 on FreeBSD
> 4.8-RELEASE-p22
> 
> Argument "0.53_01" isn't numeric in numeric lt (<) at/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Dns.pm line 588.
> 

Let's look at Dns.pm line 588:

      if ($Net::DNS::VERSION < 0.34) {

Hmm, looks like someone (the Net::DNS maintainer) made Net::DNS have a version
number that's no longer a number, but a string.

Net::DNS::VERSION "0.53_01" can't be numerically compared against a version
number, but SpamAssassin needs to know if your version is newer than 0.34... ouch.

Re: Argument "0.53_01" isn't numeric

Posted by Masashi SAKURADA <ah...@na.rim.or.jp>.
Hello,

From: Michael Monnerie <m....@zmi.at>
Subject: Re: Argument "0.53_01" isn't numeric
Date: Thu, 20 Oct 2005 16:39:41 +0200

> On Donnerstag, 20. Oktober 2005 01:26 Masashi SAKURADA wrote:
> > This may check version of Dns.pm. The file Dns.pm has no version
> > number itself. Could you tell me how to resolve this problem?
> 
> cpan -i Net::DNS
> 
> will install the newest version (0.53).

Thank you, Michael. You gave me a good suggestion. As I'm using
FreeBSD, bsdpan-Net-DNS-0.53_01 caused me the problem. I did

# pkg_delete bsdpan-Net-DNS-0.53_01
# portupgrade p5-Net-DNS

Regards,

------------------------------------------Masashi SAKURADA/AH0K/JR2GMC
E-mail: ah0k@na.rim.or.jp URL: http://www.ah0k.com/
GnuPG Key: "lynx -source http://www.ah0k.com/ah0k.asc | gpg --import"
PGP-fingerprint: 9332 0E9F 78AB E793 0E9F  84C6 FA74 3A11 3235 EC1E





Re: Argument "0.53_01" isn't numeric

Posted by Michael Monnerie <m....@zmi.at>.
On Donnerstag, 20. Oktober 2005 01:26 Masashi SAKURADA wrote:
> This may check version of Dns.pm. The file Dns.pm has no version
> number itself. Could you tell me how to resolve this problem?

cpan -i Net::DNS

will install the newest version (0.53).

mfg zmi
-- 
// Michael Monnerie, Ing.BSc  ---   it-management Michael Monnerie
// http://zmi.at           Tel: 0660/4156531          Linux 2.6.11
// PGP Key:   "lynx -source http://zmi.at/zmi2.asc | gpg --import"
// Fingerprint: EB93 ED8A 1DCD BB6C F952  F7F4 3911 B933 7054 5879
// Keyserver: www.keyserver.net                 Key-ID: 0x70545879