Package Details: perl-net-pcap 0.20-1.2

Git Clone URL: https://aur.archlinux.org/perl-net-pcap.git (read-only, click to copy)
Package Base: perl-net-pcap
Description: Perl/CPAN Module Net::Pcap
Upstream URL: https://metacpan.org/release/Net-Pcap
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 21
Popularity: 0.000000
First Submitted: 2010-02-19 05:46 (UTC)
Last Updated: 2023-08-07 19:48 (UTC)

Latest Comments

hlein commented on 2019-01-20 01:24 (UTC)

There are patches to Net::Pcap that allow it to compile against libpcap-1.9.0, see:

https://bugzilla.redhat.com/show_bug.cgi?id=1612860 https://bugs.gentoo.org/661726

Note, I'm not an Arch user, but I borrow enough patches from you for Gentoo things, that I figured I should return the favor ;)

sheda commented on 2018-11-30 10:58 (UTC) (edited on 2018-11-30 10:58 (UTC) by sheda)

What is a "clean chroot"? Right now, just after the following commands, I still get the "redefinition of" compilation errors:

git clone <https://aur.archlinux.org/perl-net-pcap.git>
cd perl-net-pcap
makepkg -sri

bidulock commented on 2018-08-23 22:39 (UTC)

I had no problem compiling it in a clean chroot.

dahankzter commented on 2018-08-23 06:00 (UTC) (edited on 2018-08-23 06:01 (UTC) by dahankzter)

This doesn't compile now. It complains about redeclaring several structs.

stubs.inc:519:8: error: redefinition of ‘struct pcap_samp’
 struct pcap_samp {
        ^~~~~~~~~
In file included from /usr/include/pcap.h:43,
                 from Pcap.xs:32:
/usr/include/pcap/pcap.h:914:8: note: originally defined here
 struct pcap_samp
        ^~~~~~~~~
In file included from Pcap.xs:43:
stubs.inc:524:19: error: conflicting types for ‘pcap_setsampling’
 struct pcap_samp *pcap_setsampling(pcap_t *p);
                   ^~~~~~~~~~~~~~~~
In file included from /usr/include/pcap.h:43,
                 from Pcap.xs:32:
/usr/include/pcap/pcap.h:931:28: note: previous declaration of ‘pcap_setsampling’ was here
 PCAP_API struct pcap_samp *pcap_setsampling(pcap_t *p);
                            ^~~~~~~~~~~~~~~~
In file included from Pcap.xs:43:
stubs.inc:525:19: error: conflicting types for ‘pcap_setsampling’
 struct pcap_samp *pcap_setsampling(pcap_t *p) {
                   ^~~~~~~~~~~~~~~~

<deleted-account> commented on 2012-05-07 13:21 (UTC)

Hi All, I am getting a error similar to this. If put a command to execute a file which initiates the capturing of packets where the transmission of packets will be stored in a file named as pcap. [root@localhost /]# ~/caliper/lib/gulp -i nf2c0 > 1.pcap /root/caliper/lib/gulp: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory Indeed there is an advanced version of libpcap.so.0.9.4 installed but still shows error on same place. I am stuck at this point for a long period.Help me to sort out this issue. Many a Thanks.......

<deleted-account> commented on 2012-04-24 22:16 (UTC)

I'm getting the same issues as "dna" did about the pcap library not being installed. libpcap IS installed, and adding "LIB=/usr/lib/libpcap.so INC=/usr/include/" to the make line in the PKGBUILD did not help me. It's still complaining. :(

<deleted-account> commented on 2012-03-23 00:13 (UTC)

Failed to compile on my system. make complains about libpcap not installed. I double checked and libpcap was installed correctly. lib at /usr/lib/libpcap.so and headers at /usr/include/ I had to set LIB and INC parameters to compile it : make LIB=/usr/lib/libpcap.so INC=/usr/include/ The weird thing is that after successfully building the package and reversing the PKGBUILD, I was unable to reproduce the error. I guess something screwed up on my side. So I post that anyway, maybe that will help someone :)