cannot install p5-Net-Pcap

Peter Pentchev roam at ringlet.net
Tue Jan 8 06:36:29 PST 2008


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.net    roam at cnsys.bg    roam at FreeBSD.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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080108/c798178e/attachment.pgp


More information about the freebsd-ports mailing list