On Wed, 17 Mar 2010, Kaleb Hosie wrote:

I do have a test VM so I thought I would go ahead and try out 3.3.0 for now. I 
ran into a bit of an issue with the NetAddr::IP module. I've installed it but 
when I try to install the built RPM file it gives me this error:

error: Failed dependencies:
       perl(NetAddr::IP) >= 4.000 is needed by 
perl-Mail-SpamAssassin-3.3.0-1.i386

[r...@mailgate i386]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
4.027

I've searched google and it seems that I'm not the first to have this problem 
but I can't seem to find a solution. Have any of you run into this problem?

I gather all dependencies for the latest and greatest. The SPPM package for that comes from EPEL a bit ago and will build under CentOS 5 -- see:
        ftp://ftp.owlriver.com/pub/mirror/ORC/spamassassin/

I see Red Hat bleeding have moved on:
        ./mirror/redhat/rawhide/SRPMS/perl-NetAddr-IP-4.027-2.fc13.src.rpm

I note this banner during the rebuild of the latter:

Versions before 3.25 recognized by default IP addresses as returned by inet_aton. This is no longer the default. To enable this behavior again, the module must be use()d as

    use NetAddr::IP ':aton';

Versions before 4.08 recognized the above syntax. This behavior is fundamentally broken, is DEPRECATED and WILL BE REMOVED in version 5.0 Use this method to create new objects from 'aton's

    $ip = new_from_aton NetAddr::IP(inet_aton('1.2.3.4'))

Checking if your kit is complete...
...
------------------- quote ends

I'll rebuilt under CentOS 5 to remove the SRPM md5sum incompatability, and have pushed that perl-NetAddr-IP-4.027-2 ou. The later version will appear on my mirror tomorrow in that same directory.

-- Russ herrold

Reply via email to