[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [Qube2] BW Whois Error



I have installed the BW Whois Perl script on my Qube2 and am running into a
Perl error whenever I run it.

The error message is 

[admin@vanecek admin]$ whois
Can't locate Errno.pm in @INC (@INC contains:
/usr/lib/perl5/mips-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/mips-linux /usr/lib/perl5/site_perl .) at
/home/local/bin/whois line 268.
BEGIN failed--compilation aborted at /home/local/bin/whois line 268.
[admin@vanecek admin]$ 

The script around 268 is 

unless($rs) {
  use Errno;
  my $errno = 0 + $!;
  error "host $host not found\n" if $!{EINVAL};
  error "unable to connect to $host ($errno: $!)\n" unless $rs;
  }

The Qube2 has an Errno.ph in its Perl library, but no Errno.pm.

The BW Whois script is the latest version. I have emailed the author, but have
not had a reply. What is wrong and how do I fix it?

Thanks.

Mike.