Package Details: perl-net-pcap 0.18-2

Git Clone URL: https://aur.archlinux.org/perl-net-pcap.git (read-only)
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.000097
First Submitted: 2010-02-19 05:46
Last Updated: 2018-08-08 07:04

Latest Comments

sheda commented on 2018-11-30 10:58

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

I had no problem compiling it in a clean chroot.

dahankzter commented on 2018-08-23 06:00

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) {
                   ^~~~~~~~~~~~~~~~

Anonymous comment on 2012-05-07 13:21

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.......

Anonymous comment on 2012-04-24 22:16

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. :(

Anonymous comment on 2012-03-23 00:13

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 :)