[PLUG] What to do when perl module installation fails
David Fleck
david.fleck at mchsi.com
Thu Sep 14 01:14:37 UTC 2017
On Wed, 2017-09-13 at 05:44 -0700, Rich Shepard wrote:
> Is there a way to trace the reason for the failure? In the past
> MCCPAN has
> told me there's an updated version available and how to upgrade, so I
> do
> that first. Nothing about that this time.
>
> Finding the reason for the failure and fixing it is my preference.
> Are
> there references or tools for non-perl coders to do this?
It's been about a decade since I delved into writing perl module tests,
so I'm afraid I don't have much insight to offer here. You could
attempt to contact the maintainers of the Net::DNS package ("Net::DNS
is maintained at NLnet Labs (www.nlnetlabs.nl) by Willem Toorop.") for
assistance.
I tried installing Net::DNS on my laptop, but it installed without
errors. It seems like your problem is in the file ~/.cpan/build/Net-
DNS-1.12-0/t/08-IPv4.t, but I don't see anything in your output that
indicates what specifically might have happened. The version that
installed for me from CPAN was a later one (1.12), which has a
different number of tests indicated for that test file, 91 for me vs.
77 for you.
FYI, my output for that portion of the test suite looks like this:
t/08-IPv4.t ................... 81/91 # non-existent \
'bogus.example.com.' resolved: 198.105.254.63 198.105.244.63
t/08-IPv4.t ................... ok
Sorry I can't be of more help here. Testing is great and all that, but
failing mysteriously isn't a whole lot better than no test at all,
IMHO.
--
David Fleck <david.fleck at mchsi.com>
More information about the PLUG
mailing list