----- Original Message Follows ----- Date: 7 Jul 2004 14:36:00 -0000 > In article <[EMAIL PROTECTED]>, > >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 Thanks for your reply Peter. I just got it working this morning. I'd upgraded perl from 5.8.0 to 5.8.4 and there seemed to be remnants on the system for 8.0. now that they are all gone I did a make clean and re-installed 5.8.4 from scratch and tried the install Net::DNS again. It worked just fine.
==================== Kevin W. Gagel Network Administrator (250) 561-5848 local 448 (250) 562-2131 local 448 -------------------------------------------------------------- The College of New Caledonia, Visit us at http://www.cnc.bc.ca Virus scanning is done on all incoming and outgoing email. -------------------------------------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>