On 06/10/10 16:00, John Wilcock wrote:
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?

John.


Hi John,

I just came across a similar issue today triggered by updating to perl-NetAddr-IP-4.033-1.el5.rf.x86_64 from rpmforge on CentOS 5. For reference, I started a thread here:

http://lists.rpmforge.net/pipermail/users/2010-October/003324.html

I'm not using IPv6 so I simply uninstalled perl-IO-Socket-INET6 which solved the issue for me.

Versions involved:
spamassassin-3.3.1-3.el5.rf.x86_64
perl-5.8.8-32.el5_5.2.x86_64
perl-IO-Socket-INET6-2.51-2.fc6.noarch

I note we both have IO::Socket::INET6 v2.51. If you need IO::Socket::INET6 then I would certainly try updating it.

Hope that helps.

Reply via email to