I restored my VM back to it's original snapshot and installed the module you 
uploaded to your website but it's giving me problems. Here's what I get:


[r...@mailgate ~]# rpm -ivh ./perl-NetAddr-IP-4.004-2.el5.src.rpm
warning: ./perl-NetAddr-IP-4.004-2.el5.src.rpm: Header V3 DSA signature: NOKEY, 
                                                                                
                 key ID 217521f6
   1:perl-NetAddr-IP        warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]

[r...@mailgate ~]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
Can't locate NetAddr/IP.pm in @INC (@INC contains: 
/usr/lib/perl5/site_perl/5.8.                                                   
                                              8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_per                          
                                                                       l 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor  
                                                                                
               _perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.8/i386-linux-thread-mu                                       
                                                          lti 
/usr/lib/perl5/5.8.8 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


Am I doing something wrong?

-----Original Message-----
From: R P Herrold [mailto:herr...@owlriver.com]
Sent: Wednesday, March 17, 2010 1:42 PM
To: Kaleb Hosie
Cc: users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

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