[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot install p5-Net-Pcap



On Sat, Jan 05, 2008 at 09:19:13PM -0500, Piotr wrote:
> 
> I've installed the newest libpcap-0.9.7_1, but I'm still getting errors:
> 
> # pkg_info | grep libpcap
> libpcap-0.9.7_1     Ubiquitous network traffic capture library
> 
[snip]
> In file included from Pcap.xs:43:
> stubs.inc:91: error: redefinition of `struct pcap_if'

And all this time, *this* is the actual error that is breaking the build.
Not the warnings; they are just that - only warnings.  But this is
a real problem.

Unfortunately, I cannot right now understand why this would break;
it seems to be somehow related to a HAVE_PCAP_FINDALLDEVS define.
For some reason, the Makefile.PL configuration stage did not detect
the pcap_findalldevs() function in your pcap library.  Can you post
the contents of the Makefile in the Net-Pcap-0.15/ work directory?

G'luck,
Peter

-- 
Peter Pentchev	roam_(_at_)_ringlet_(_dot_)_net    roam_(_at_)_cnsys_(_dot_)_bg    roam_(_at_)_FreeBSD_(_dot_)_org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.

Attachment: pgpdLziy2O5DZ.pgp
Description: PGP signature


Visit your host, monkey.org