John,

> Just installed spamassassin on a gentoo box with perl 5.12.
> 
> sa-update gives:
> > Constant subroutine IO::Socket::INET6::AF_INET6 redefined at
> > /usr/lib64/perl5/5.12.2/Exporter.pm line 64.
> >  at /usr/lib64/perl5/vendor_perl/5.12.2/IO/Socket/INET6.pm line 16
> > Prototype mismatch: sub IO::Socket::INET6::AF_INET6 () vs none at
> > /usr/lib64/perl5/5.12.2/Exporter.pm line 64.
> >  at /usr/lib64/perl5/vendor_perl/5.12.2/IO/Socket/INET6.pm line 16
> > Constant subroutine IO::Socket::INET6::PF_INET6 redefined at
> > /usr/lib64/perl5/5.12.2/Exporter.pm line 64.
> >  at /usr/lib64/perl5/vendor_perl/5.12.2/IO/Socket/INET6.pm line 16
> > Prototype mismatch: sub IO::Socket::INET6::PF_INET6 () vs none at
> > /usr/lib64/perl5/5.12.2/Exporter.pm line 64.
> >  at /usr/lib64/perl5/vendor_perl/5.12.2/IO/Socket/INET6.pm line 16
> 
> This is with IO::Socket::INET6 v2.51. IPv6 is enabled in kernel but not
> specifically configured yet.
> 
> Should I start by updating to a more recent version of the module, or
> should I be looking elsewhere?

Updating to a recent version of IO::Socket::INET6 would probably
solve the issue and would be advised anyway - the 2.51 is pretty
ancient, from October 2004.  Or deinstall it altogether if
IPv6 is not currently in use on your host.

  Mark

Reply via email to