Failing to install IPTables::IPv4 perl module



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

.



Relevant Pages

  • SUMMARY: Packaging Perl Modules on Solaris...
    ... then untar your tar file and copy all *.pm files in one of this directories. ... This works great for pure perl modules, ... with 'make -n install' in the source directory. ... I then used the ".packlist" files for each module to create the package ...
    (SunManagers)
  • problem with instalaion of DBD::mysql
    ... i installed mysql database via Mysql-serever-5.1.10-0.i386.rpm also via ... But i could not install DBD::mysql thru cpan. ... Perhaps a required shared library or dll isn't installed where expected ... FAILED tests 4-5 ...
    (perl.beginners)
  • Attempting to install DBD
    ... I am attempting to install DBD-mysql-2.9003 on a Solaris 2.8 machine. ... ql/mysql.so' for modul. ... Perhaps a required shared library or dll isn't installed where expected ... FAILED tests 4-5 ...
    (perl.dbi.users)
  • Re: Is Windows XP Pro naturally buggy?
    ... the drivers are certified as having Microsoft Publisher certifcates. ... Indeed when Win XP installed I didn't have to install any ... throwing up different error messages nearly every time. ...
    (microsoft.public.windowsxp.help_and_support)
  • Trying to install DBD::MySQL on raq3 - Failed 17/18 test scripts, 5.56% okay. 727/730 subtests faile
    ... I'm trying to install DBD-mysql-2.9004. ... Perhaps a required shared library or dll isn't installed where expected ... FAILED tests 4-5 ... t/20createdrop.....install_driverfailed: Can't load ...
    (perl.dbi.users)