develooper Front page | perl.perl5.porters | Postings from September 2000

[ID 20000914.001] IO::Socket::INET constructor failing in Perl5.6.0 on AIX 4.2.1

Thread Next
From:
Greg Nowicki
Date:
September 14, 2000 14:33
Subject:
[ID 20000914.001] IO::Socket::INET constructor failing in Perl5.6.0 on AIX 4.2.1
Message ID:
39C14416.F1CA81CE@mikon.com
I am trying to install Perl 5.6.0 on an AIX 4.2.1 machine.  I built with
the platform defaults and did not see any errors with the make.  But, three
of the test scripts fail, lib/io_multihomed.t, lib/io_sock.t, and
lib/io_udp.t, with an error status of 6.  Running them individually with
the -w flag yielded nothing new.  I stepped through them with the perl
debugger and found that they never returned from the IO::Socket::INET
constructor.  Specifically, they all died on the statement

IO::Socket::INET::_sock_info(../lib/IO/Socket/INET.pm:44):
44:         if (@proto = ( $proto =~ m,\D,
45:                     ? getprotobyname($proto)
46:                     : getprotobynumber($proto))
47:         ) {
  DB<1>

I suspect a brain-dead compiler but would like to work around it since it
seems that I am so close.  I am running xlC v4.4 and have already run into
a known problem with that version of the compiler and the Apache source.  I
searched the list archive and saw some traffic about the compiler but not
my particular problem.

I am not sure where to go from here.  I have ordered xlC v5.0 and will try
again when it gets here.  I can not update the O/S now but could apply some
patches.



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About