welshkc has asked for the wisdom of the Perl Monks concerning the following question:

Net::Pcap will not pass the make tests and keeps stopping at the stats test. I have checked paths and updated libpcap without success. All the other tests pass. Has anyone else come across this problem?

Google didn't cough up any results and neither did a search here.
update: Fedora Core 3 and libpcap 8.3 are the versions.
Here is a snip of the output I get.

-----snip-----
perl ./07-stats.t
1..1
In process_pkt:
Bad statistics
not ok
root@fake t# pwd
/home/Net-Pcap-0.05/t
----snip-----

Replies are listed 'Best First'.
Re: Net::Pcap stats.t fail
by Joost (Canon) on Dec 28, 2004 at 23:34 UTC
    I don't know anything about Net::Pcap but IIRC make test actually runs the test scripts more or less like this:
    perl -Mblib t/07-stats.t
    Make sure you run make (without arguments) first. Does that still give the same error?

    update: if you've changed anything in the system (like installed a new library version), you need to re-run the whole install sequence:

    perl Makefile.pl make make test (sudo) make install
      I have done make and make install even tho the "make test"
      does not complete successful.
      This is pretty straight forward. I used "yum" to
      update libpcap and downloaded the most recent Net::Pcap
      "0.5". I then run "make" and "make install",
      this gets the pcap.pm file available for the tests to use
      during the "make test".

      Could someone more knowledgeable than I take a look
      at 07-stats.t and see what might be causing the errors?