./build update_versions returns perl errors

I tried all of those commands and try as I may, I can't clear up this perl comment before spam assassin reports its version number:

# ./build versions

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
at /usr/share/perl5/IO/Socket/INET6.pm line 21
Latest version of SpamAssassin: 3.3.2
Installed version of SpamAssassin: 3.3.2

Any other thoughts on how to clear this up?

Thanks!

Ansel
 
Sorry to bump this thread.

Centos 6.3 64-bit, spamassassin installed.

But I did everything suggested in this and some other threads.
Still get this warning on /build update_versions:
Code:
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21

I installed everything via cpan and via yum which was mentioned on the spamassassin help file of directadmin!
For cpan I needed to force install:
cpan -force install IO::Socket::INET6

Still gives this error notice. Does anyone have a clue?
 
Use this way:
Code:
yum -y install spamassassin
yum -y erase spamassassin
cd /usr/local/directadmin/custombuild
./build spamassassin

Regards
 
Hi Sellerone.

Thank you, but unfortunately that does not help. On the end of the ./build spamassassin it has this error again:
Code:
chmod 755 /usr/share/spamassassin
Running sa-update.
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21
Starting SpamAssassin.
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21

It is a spamassassin issue. Because this error also occurs when doing a "spamassassin --lint":
spamassassin --lint
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
at /usr/share/perl5/IO/Socket/INET6.pm line 21
 
Last edited:
LoL... I fixed it... came across a solution somewhere else.

Now I removed IO-Socket-INET6 again and the problem was fixed.:)
yum remove perl-IO-Socket-INET6 did the trick.
 
I am also getting this problem when installing spamassassin on a new centos 6.4 64bit server:

Code:
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21
Latest version of SpamAssassin: 3.3.2
Installed version of SpamAssassin: 3.3.2

It did not help to do:
Code:
yum remove perl-IO-Socket-INET6

So I installed it again.

Any ideas?
 
It's fixed now. I fixed it by running:
Code:
yum remove perl-IO-Socket-INET6

And then reinstalled all the following in cpan:
Code:
cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI

What I first did when I got the problem, was that I installed spammassassin in yum, and then removed spamassassin in yum, then I installed spamassassin in custombuild and got the problem, then i installed all the perl-modules in command above using cpan, but still had the proplem installing spamassassin in custombuilld, then i did:

Code:
yum remove perl-IO-Socket-INET6
And then reinstalled all the perl modules in above command in cpan, then I could install spamassassin in custombuild without problems.
 
Yep, correct. I disabled ipv6 but you can indeed better use the Cpan modules for Spamassassin.
Yum doesn't even have them all if you also want razor2 to work etc.
 
Back
Top