RE: dns error or module error?



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...

-----Original Message-----
From: Rob Dixon [mailto:rob.dixon@xxxxxxx]
Sent: Friday, May 09, 2008 3:18 PM
To: beginners@xxxxxxxx
Cc: John Wilson
Subject: Re: dns error or module error?

John Wilson wrote:

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?

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
.



Relevant Pages

  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)
  • RE: Installing DBD::File via CPAN
    ... Subject: Installing DBD::File via CPAN ... This is Perl 5.8.7 ... ReadLine support available (try 'install Bundle::CPAN') ...
    (perl.dbi.users)
  • Installing DBD::File via CPAN
    ... This is Perl 5.8.7 ... cpan shell -- CPAN exploration and modules installation ... ReadLine support available (try 'install Bundle::CPAN') ...
    (perl.dbi.users)
  • RE: Installing DBD::File via CPAN
    ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
    (perl.dbi.users)
  • Re: Need help installing WWW-Search-Ebay-2.193 Module...
    ... One of the O'Reilly Books has a script that calls this ... perl Makefile.PL ... you may need to find and install command-line versions of tar and gzip ... > ActivePerl for Linux under Cygwin ...
    (comp.lang.perl.misc)