Undefined subroutine &Net::Pcapdump
koitsu at FreeBSD.org
Wed Jan 2 12:38:00 PST 2008
On Wed, Jan 02, 2008 at 03:06:22PM -0500, Piotr wrote:
> I've updated my ports tree and sinfp on my freeBSD 6.2, but still get the
> following error:
> # sinfp -i host -C -V -p 443
> P1: B10113 F0x12 W5840 O0204ffff M1460
> P2: B10113 F0x12 W5792 O0204ffff0402080affffffff4445414401030300 M1460
> P3: B00000 F0 W0 O0 M0
> IPv4: Linux 2.4.x, 2.6.x
> Undefined subroutine &Net::Pcapdump called at
> /usr/local/lib/perl5/site_perl/5.8.8/Net/Packet/Dump.pm line 561.
> what's wrong ?
It looks as if the Net::Packet::Dump perl module is trying to call
function Net::Pcapdump (which would be another perl module).
The source to Net::Packet::Dump, for 3.25, is here:
I see no reference to Net::Pcapdump in that code. So I'm not sure how
it's getting called; I'd have to install ports/net/p5-Net-Packet and
For what it's worth, there is a perl module called Net::Pcap (in ports
as ports/net/p5-Net-Pcap) that interfaces with the C library libpcap.
That perl module has a function called Net::Pcap::dump(), which is
probably what Net::Packet::Dump should be attempting to call.
ports/net/p5-Net-Packet has a dependency on ports/net/p5-Net-Pcap, so
that isn't the problem. I'm thinking the problem might be related to
ports/net/p5-Net-Pcap being out-of-date (0.15 is not the newest).
Looking at the CPAN Changelog for the module, I see there's a major
bugfix in 0.16 which could explain what's happening:
- [BUGFIX] A typo prevented the new function names from working.
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-ports