spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Perl IO::Socket::INET6

Re: Perl IO::Socket::INET6

From: Mark Martinec <Mark.Martinec+sa_at_nospam>
Date: Wed Oct 06 2010 - 15:13:02 GMT
To: users@spamassassin.apache.org

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