Skip Menu |

This queue is for tickets about the Net-DNS-ZoneFile CPAN distribution.

Report information
The Basics
Id: 17113
Status: resolved
Priority: 0/
Queue: Net-DNS-ZoneFile

People
Owner: Nobody in particular
Requestors: chris [...] mysociety.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: (no value)



Subject: all tests fail
: chris@bitter ~/tmp \$; snarf http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Net-DNS-ZoneFile-1.04.tar.gz http://cpan.dfk-systems.com/authors/id/L/LU/LUISMUNOZ/Net-DNS-ZoneFile-1.04.tar.gz (7K) Net-DNS-ZoneFile-1.04.ta [######################################################################################################] 7K | 17.43K/st 7795 bytes transferred in 0.44 sec (17.42k/sec) : chris@bitter ~/tmp \$; tar xzf Net-DNS-ZoneFile-1.04.tar.gz : chris@bitter ~/tmp \$; cd Net-DNS-ZoneFile-1.04 : chris@bitter ~/tmp/Net-DNS-ZoneFile-1.04 \$; perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::DNS::ZoneFile : chris@bitter ~/tmp/Net-DNS-ZoneFile-1.04 \$; make Manifying blib/man3/Net::DNS::ZoneFile.3pm : chris@bitter ~/tmp/Net-DNS-ZoneFile-1.04 \$; make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.......Can't locate Net/DNS/ZoneFile.pm in @INC (@INC contains: /home/chris/tmp/Net-DNS-ZoneFile-1.04/blib/lib /home/chris/tmp/Net-DNS-ZoneFile-1.04/blib/arch /home/chris/software/useful/perllib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at t/00-load.t line 11. BEGIN failed--compilation aborted at t/00-load.t line 11. t/00-load.......dubious ... and much more in the same vein. perl is 5.8.4 from debian; all the listed prerequisites are installed. After building the module, for some reason ZoneFile.pm is not copied into blib/lib. I'm not really sure why this doesn't work -- it's ok under 5.6.x -- but it could be solved by creating a lib/Net/DNS directory, sticking ZoneFile.pm in there in the distribution, and altering the references to ZoneFile.pm in Makefile.PL and MANIFEST, as with the following patch: --- MANIFEST.orig 2006-01-17 19:05:09.000000000 +0000 +++ MANIFEST 2006-01-17 19:04:21.000000000 +0000 @@ -1,7 +1,7 @@ MANIFEST Makefile.PL README -ZoneFile.pm +lib/Net/DNS/ZoneFile.pm pm_to_blib t/00-load.t t/comment.t --- Makefile.PL.orig 2006-01-17 18:59:34.000000000 +0000 +++ Makefile.PL 2006-01-17 18:59:56.000000000 +0000 @@ -4,7 +4,7 @@ WriteMakefile( 'NAME' => 'Net::DNS::ZoneFile', - 'VERSION_FROM' => 'ZoneFile.pm', # finds $VERSION + 'VERSION_FROM' => 'lib/Net/DNS/ZoneFile.pm', # finds $VERSION 'PREREQ_PM' => { Net::DNS::RR => 0, Test::More => 0, and moving the module itself.
Hi Chris, Net::DNS::ZoneFile is now part of Net::DNS. I am almost certain you problem is resolved with the Net::DNS 0.71 release. Thanks for reporting and sorry it took so long for you to get an answer (7 years!) -- Willem