in reply to Re: NetAddr-IP-4.007 compilation in Fedora fails miserably
in thread NetAddr-IP-4.007 compilation in Fedora fails miserably

ok you are right. I left out the details. I did the perl -w Makefile.pl inside the Net-Addr file. It does everything ok but the make test fails and has only a 9.02% success. here is a full error report and am really hoping it helps.
Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/imhoff.t 255 65280 3 6 200.00% 1-3 t/loops.t 255 65280 21 41 195.24% 1-21 t/masklen.t 2 512 ?? ?? % ?? t/new-store.t 1 256 7 3 42.86% 2 8-9 t/old-store.t 1 256 7 3 42.86% 2 8-9 t/over-arr.t 2 512 ?? ?? % ?? t/over-qq.t 2 512 ?? ?? % ?? t/relops.t 2 512 ?? ?? % ?? t/short.t 1 256 19 1 5.26% 1 t/v4-coalesce.t 255 65280 21 41 195.24% 1-21 t/v4-compact.t 2 512 ?? ?? % ?? t/v4-compplus.t 2 512 ?? ?? % ?? t/v4-hostenum.t 2 512 ?? ?? % ?? t/v4-re.t 255 65280 299 597 199.67% 1-299 t/v4-split-bulk.t 255 65280 ?? ?? % ?? t/v4-split-list.t 2 512 ?? ?? % ?? t/v4-sprefix.t 2 512 ?? ?? % ?? t/v4-xprefix.t 2 512 ?? ?? % ?? t/v6-re.t 255 65280 ?? ?? % ?? t/v6-split-bulk.t 255 65280 ?? ?? % ?? t/wildcard.t 2 512 ?? ?? % ?? 32 subtests skipped. Failed 21/21 test scripts, 0.00% okay. 343/377 subtests failed, 9.02% +okay. make: *** [test_dynamic] Error 2

Replies are listed 'Best First'.
Re^3: NetAddr-IP-4.007 compilation in Fedora fails miserably
by Corion (Patriarch) on Oct 11, 2007 at 07:43 UTC

    This looks pretty abysmal and doesn't match up with the CPAN Testers results for NetAddr::IP 4.007. Please make sure you have all prerequisites installed:

    perl Makefile.PL

    will list all modules which NetAddr::IP needs that are missing in your Perl distribution. You need to install these as well. The cpan tool will do that autmatically for you.

    If you are sure that you have all the right prerequisites installed already, you can run the tests in isolation or in verbose mode to see why they are failing:

    perl -Ilib -w t/wildcard.t

    will run a test stand-alone and

    make test TEST_VERBOSE=1

    will show you all tests and how they fail. Post the output of at least one of the two, preferrably only of one test program, because likely there is some fundamental failure with one of the underlying Perl modules.