In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Kevin W. Gagel) writes:
>I can't seem to get Net::DNS installed. After it runs its tests it reports:
>Failed 1/19 test scripts, 94.74% okay. 5/816 subtests failed, 99.39% okay.
>make: *** [test_dynamic] Error 2
>  /usr/bin/make test -- NOT OK
>Running make install
>  make test had returned bad status, won't install without force
>
>Lines earlier in the tests indicate problems at:
>Recurse.pm line 73
>Failed test (t/10-recurse.t at line 29)
>Failed test (t/10-recurse.t at line 35)
>Can't call method "answer" on an ndefined value at t/10-recurse.t line 36.
>
>Test returned status 255 (wstat 65280, 0xff00)
>DIED, FAILED tests 4-8
> Failed 5/8 tests, 37.50% okay
>
>How do I fix this?

You can force the install if you want to ignore the error:

perl -MCPAN -e 'force install Net::DNS'

Or you can take a look at the individual test for more
information:

perl -MCPAN -e shell
> look Net::DNS
% perl Makefile.PL
% make
% perl -Mblib t/10-recurse.t

It works for me.  Given that the line you reference in Recurse.pm
is

  warn "Server [".($self->nameservers)[0]."] did not give answers";

I suspect you had trouble reaching the root nameserver used in
the test.

-- 
Peter Scott
http://www.perldebugged.com/
*** NEW *** http://www.perlmedic.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to