Failing to install IPTables::IPv4 perl module

Failing to install IPTables::IPv4 perl module

am 30.06.2005 20:10:12 von esieens

Hello all,

I'm running the following command:
cpan -i IPTables::IPv4

and it compiles ok but fails during the tests phase - see output below.

I've installed other perl modules that way without any problem (LWP and
net::ip).

Any idea what could be wrong? COuld I just ignore these error messages
and force the install?

Thanks,
David

Just asnaphot of the error I'm getting:

Name "main::chains" used only once: possible typo at t/56speed.t line
76.
t/56speed...................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/59numberproto.............Useless use of a variable in void context
at /root/
cpan/build/IPTables-IPv4-0.98/blib/lib/IPTables/IPv4.pm line 5.
t/59numberproto.............dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/99restore_ruleset.........Useless use of a variable in void context
at /root/
cpan/build/IPTables-IPv4-0.98/blib/lib/IPTables/IPv4.pm line 5.
Name "main::rules" used only once: possible typo at
t/99restore_ruleset.t line
2.
skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/01simple_manip.t 1 256 14 27 192.86% 1-14
t/03admin.t 1 256 45 89 197.78% 1-45
t/03modules.t 1 256 11 21 190.91% 1-11
t/04append.t 1 256 20 39 195.00% 1-20
t/05insert.t 1 256 28 55 196.43% 1-28
t/07flush.t 1 256 9 17 188.89% 1-9
t/08replace.t 1 256 10 19 190.00% 1-10
t/14badtarget.t 1 256 7 13 185.71% 1-7
t/15manyrules.t 1 256 29 57 196.55% 1-29
t/16manyrules2.t 1 256 20 39 195.00% 1-20
t/18rename.t 1 256 17 33 194.12% 1-17
t/19listports.t 1 256 7 13 185.71% 1-7
t/24delete.t 1 256 19 37 194.74% 1-19
t/56speed.t 1 256 7 13 185.71% 1-7
t/59numberproto.t 1 256 2 3 150.00% 1-2
2 tests skipped.
Failed 15/17 test scripts, 11.76% okay. 245/245 subtests failed, 0.00%
okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK

Re: Failing to install IPTables::IPv4 perl module

am 01.07.2005 07:15:56 von esieens

I got it working without any pbm on another machine with pretty much
same SLES 9 distrib installed. Obviously there is something different
on my first machine. Any idea?

Re: Failing to install IPTables::IPv4 perl module

am 01.07.2005 09:57:04 von Sisyphus

wrote in message
news:1120155012.541288.121750@f14g2000cwb.googlegroups.com.. .
> Hello all,
>
> I'm running the following command:
> cpan -i IPTables::IPv4
>
> and it compiles ok but fails during the tests phase - see output below.
>
> I've installed other perl modules that way without any problem (LWP and
> net::ip).
>
> Any idea what could be wrong? COuld I just ignore these error messages
> and force the install?
>

No - it's failed every single test (except the 2 test scripts that were
skipped). There's something fundamentally wrong here - and it's possibly not
too hard to work out, by examining the actual tests that are being run.
Start by trying to work out what could be causing test 1 in each of those
scripts to fail. It's quite likely the same test each time - and possibly
tests something basic like trying to load the module you've just attempted
to build.

Cheers,
Rob