[CentOS] perl-net-DNS question

Thu Dec 6 22:04:59 UTC 2007
Rogelio <scubacuda at gmail.com>

When trying to run a Perl program, I get this error (even though I have both
Perl and perl-net-dns installed via yum)
Can't locate Net/DNS.pm in @INC (@INC contains: /usr/lib/nagios/plugins
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at ./check_bl line 29.
BEGIN failed--compilation aborted at ./check_bl line 29.

When I ran "cpan" and "install Net::DNS", I get the following error. Any
ideas?

Removing previously used /root/.cpan/build/Net-IP-1.25

  CPAN.pm: Going to build M/MA/MANU/Net-IP-1.25.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Net::IP
Can't exec "v": No such file or directory at /usr/lib/perl5/5.8.5/CPAN.pm
line 4566.
  v  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running make for O/OL/OLAF/Net-DNS-0.61.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Net-DNS-0.61

  CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.61.tar.gz

Can't exec "v": No such file or directory at /usr/lib/perl5/5.8.5/CPAN.pm
line 4566.
  v  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20071206/39690b7d/attachment-0004.html>