Strange Perl problem

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,632
Location
A Coruña, Spain
Hi everyone,

yesterday i had upgraded all CPAN modules and everything seems has worked fine, but today ive noticed an error on custombuild doing ./build versions and here is the error:

Code:
Apr 14 10:08:06.765 [1281] error: Can't locate IO/Socket/INET6.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm line 75.
Latest version of SpamAssassin: 3.3.1
Installed version of SpamAssassin: 3.3.1

Ive chedk and my IO::Socket::INET6 and IO::Socket::SSL are up2date, so, i cant figure out what should be the problem.

By the way, ipv6 support is set as "off" on the system.

Any suggestion?

Thanks everyone

Regards
 
Made a mistake, IO::Socket:INET6 is not instaleld and installation give error:

Code:
Test Summary Report
-------------------
t/blocking.t        (Wstat: 24832 Tests: 0 Failed: 0)
  Non-zero exit status: 97
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/host6.t           (Wstat: 24832 Tests: 0 Failed: 0)
  Non-zero exit status: 97
  Parse errors: No plan found in TAP output
t/io_sock6.t        (Wstat: 24832 Tests: 0 Failed: 0)
  Non-zero exit status: 97
  Parse errors: Bad plan.  You planned 20 tests but ran 0.
Files=9, Tests=9,  2 wallclock secs ( 0.03 usr  0.01 sys +  0.24 cusr  0.03 csys =  0.31 CPU)
Result: FAIL
Failed 3/9 test programs. 0/9 subtests failed.
  SHLOMIF/IO-Socket-INET6-2.67.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports SHLOMIF/IO-Socket-INET6-2.67.tar.gz
Running Build install
  make test had returned bad status, won't install without force

Im going to investigate on this, if anyone got ideas i will appreciate.

Regards
 
Ok definitly the problem is that system is not able to mange ipv6 cause ive disabled it...

Code:
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'IO-Socket-INET6' version '2.67'
Building IO-Socket-INET6
  SHLOMIF/IO-Socket-INET6-2.67.tar.gz
  ./Build -- OK
CPAN: YAML loaded ok (v0.72)
Running Build test
t/blocking.t .......... IO::Socket::INET6: socket: Famiglia dell'indirizzo non gestita dal protocollo at t/blocking.t line 34.
# Looks like your test exited with 97 before it could output anything.
t/blocking.t .......... Dubious, test returned 97 (wstat 24832, 0x6100)
Failed 2/2 subtests
t/configure6.t ........ ok
t/host6.t ............. IO::Socket::INET6: socket: Famiglia dell'indirizzo non gestita dal protocollo at t/host6.t line 35.
t/host6.t ............. Dubious, test returned 97 (wstat 24832, 0x6100)
No subtests run
t/io_multihomed6.t .... skipped: localhost does not resolve to both 127.0.0.1 and ::1
t/io_sock6.t .......... IO::Socket::INET6: socket: Famiglia dell'indirizzo non gestita dal protocollo at t/io_sock6.t line 47.
t/io_sock6.t .......... Dubious, test returned 97 (wstat 24832, 0x6100)
Failed 20/20 subtests
t/io_udp6.t ........... ok
t/listen_port_only.t .. skipped: failed to create inet6 listener
t/pod-coverage.t ...... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod.t ............... ok

So the question is, why now is necessary?
 
Code:
[root@home ~]# yum search INET6 | grep INET6
================================ Matched: INET6 ================================
perl-IO-Socket-INET6.noarch : Perl Object interface for AF_INET|AF_INET6 domain
 
well i made yum search IO-Socket-INET6 cause i know perl modules use - instead of :: (like in cpan), just forget they use perl- in front of every package :D

Do you suggest always to use yum for perl modules instead of cpan?

Regards
 
As you wish or prefer. If you want the latest versions of modules, then you might want to use CPAN. Versions in yum REPOs might be a bit older.
 
Back
Top