Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dns error or module error?

1 view
Skip to first unread message

John Wilson

unread,
May 9, 2008, 3:40:13 PM5/9/08
to begi...@perl.org
Trying to install Net::SSLeay on Solaris 9 and I get the following
message in the output:

Use of uninitialized value in subroutine entry at
/m1/shared/perl/5.8.5-09/lib/5.8.5/sun4-solaris/Socket.pm line 373.

Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at
/m1/shared/perl/5.8.5-09/lib/5.8.5/sun4-solaris/Socket.pm line 373.

I've googled parts of this error and get some indication it might have
to do with dns problem, but as far as I know I have no dns problem. Any
advice?

Thanks,

John W.

Rob Dixon

unread,
May 9, 2008, 4:18:29 PM5/9/08
to begi...@perl.org, John Wilson

My first guess is that you have a bug in your script. Please would you publish
it, and say what version of Perl you are using?

If you are certain that your program is OK then perhaps you need to update the
modules that Net::SSLeay depends on. But I doubt if there is a problem with
Socket itself, especially as it has compiled with no errors.

Finally, please tell us more about how you have installed the module. Did you
use CPAN and get no errors from the test phase?

Take a look at

perldoc perlmodinstall

and see if that helps.

Rob

John Wilson

unread,
May 9, 2008, 4:33:18 PM5/9/08
to begi...@perl.org
Perl 5.8.5

The error isn't coming from a script - it's from the actual install
using cpan.

Really what I'm doing is installing IO::Socket::SSL. Right into the
install, cpan recognizes I don't have Net::SSLeay, so it goes ahead and
installs it first, and that's when I get this error, I think during the
make test command. I can publish the whole output if it helps...

0 new messages