Skip Menu |

This queue is for tickets about the Net-Pcap CPAN distribution.

Report information
The Basics
Id: 45213
Status: new
Priority: 0/
Queue: Net-Pcap

People
Owner: Nobody in particular
Requestors: skendric [...] fhcrc.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: install error / libpcap-1.0.0
Date: Wed, 22 Apr 2009 06:47:46 -0700
To: bug-net-pcap [...] rt.cpan.org
From: Stuart Kendrick <skendric [...] fhcrc.org>
i'm having trouble installing Net::Pcap-0.16 under perl-5.10.0 with libpcap-1.0.0 [...] looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok Checking if your kit is complete... Looks good Writing Makefile for Net::Pcap /opt/vdops/bin/perl /opt/vdops/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /opt/v dops/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap Pcap.xs > Pcap.xsc && m v Pcap.xsc Pcap.c Running Mkbootstrap for Net::Pcap () chmod 644 Pcap.bs cp bin/pcapinfo blib/script/pcapinfo /opt/vdops/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pcapinfo cp Pcap.pm blib/lib/Net/Pcap.pm cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs cc -c -Wall -Wwrite-strings -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fP IC "-I/opt/vdops/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.c In file included from Pcap.xs:43: stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not availa ble, but will be emulated" In file included from Pcap.xs:43: stubs.inc:91: error: redefinition of ‘struct pcap_if’ stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not availab le" stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not avail able" stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is not avail able" stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not availab le" stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not availa ble" stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not av ailable" stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not avai lable" stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is not available" stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is not available" stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_descriptio n() is not available" stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap() is not av ailable" stubs.inc:277:2: warning: #warning "the function pcap_get_selectable_fd() is not available" stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not available " stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is not availa ble" stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not avai lable" stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not avail able" stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available " stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not ava ilable" stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available " stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not avai lable" stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not a vailable" stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not a vailable" stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is no t available" stubs.inc:499:2: warning: #warning "the function pcap_event() is not available" stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not avail able" Pcap.xs: In function ‘callback_wrapper’: Pcap.xs:57: warning: pointer targets in passing argument 2 of ‘Perl_newSVpv’ dif fer in signedness Pcap.xs:62: warning: value computed is not used Pcap.xs:63: warning: value computed is not used Pcap.xs:64: warning: value computed is not used Pcap.xs:65: warning: value computed is not used Pcap.xs: In function ‘XS_Net__Pcap_findalldevs_xs’: Pcap.xs:196: warning: value computed is not used Pcap.xs:199: warning: value computed is not used Pcap.xs:202: warning: value computed is not used Pcap.xs:220: warning: value computed is not used Pcap.xs:222: warning: value computed is not used Pcap.xs: In function ‘XS_Net__Pcap_next’: Pcap.xs:447: warning: value computed is not used Pcap.xs:448: warning: value computed is not used Pcap.xs:449: warning: value computed is not used Pcap.xs:450: warning: value computed is not used Pcap.xs: In function ‘XS_Net__Pcap_next_ex’: Pcap.xs:489: warning: value computed is not used Pcap.xs:490: warning: value computed is not used Pcap.xs:491: warning: value computed is not used Pcap.xs:492: warning: value computed is not used Pcap.xs:494: warning: pointer targets in passing argument 3 of ‘Perl_sv_setpvn’ differ in signedness Pcap.xs: In function ‘XS_Net__Pcap_dump’: Pcap.xs:553: warning: pointer targets in passing argument 3 of ‘pcap_dump’ diffe r in signedness Pcap.xs: In function ‘XS_Net__Pcap_stats’: Pcap.xs:742: warning: value computed is not used Pcap.xs:744: warning: value computed is not used Pcap.xs:746: warning: value computed is not used Pcap.xs: In function ‘XS_Net__Pcap_getevent’: Pcap.xs:951: warning: cast from pointer to integer of different size Pcap.xs: In function ‘XS_Net__Pcap_sendpacket’: Pcap.xs:963: warning: pointer targets in passing argument 2 of ‘pcap_sendpacket’ differ in signedness Pcap.c: In function ‘boot_Net__Pcap’: Pcap.c:2335: warning: initialization discards qualifiers from pointer target typ e make: *** [Pcap.o] Error 1 SAPER/Net-Pcap-0.16.tar.gz /usr/bin/make -j3 -j3 -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SAPER/Net-Pcap-0.16.tar.gz : make NO cpan[2]> --sk stuart kendrick fhcrc
From: skendric [...] fhcrc.org
i've replicated the problem using libpcap-0.9.4 and perl-5.8.8 (CentOS-5.3 for both efforts) --sk CPAN.pm: Going to build S/SA/SAPER/Net-Pcap-0.16.tar.gz looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok Checking if your kit is complete... Looks good Writing Makefile for Net::Pcap cp Pcap.pm blib/lib/Net/Pcap.pm /opt/vdops/bin/perl /opt/vdops/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /opt/vd ops/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Pcap.xs > Pcap.xsc && mv Pcap.xsc Pcap.c cc -c -Wall -Wwrite-strings -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fp ic "-I/opt/vdops/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DHAVE_BLANK - DHAVE_PCAP_LIB_VERSION Pcap.c In file included from Pcap.xs:43: stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not availa ble, but will be emulated" In file included from Pcap.xs:43: stubs.inc:91: error: redefinition of ‘struct pcap_if’ stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not availab le" stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not avail able" stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is not avail able" stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not availab le" stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not availa ble" stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not av ailable" stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not avai lable" stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is not available" stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is not available" stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_descriptio n() is not available" stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap() is not av ailable" stubs.inc:277:2: warning: #warning "the function pcap_get_selectable_fd() is not available" stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not available " stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is not availa ble" stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not avai lable" stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not avail able" stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available " stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not ava ilable" stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available " stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not avai lable" stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not a vailable" stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not a vailable" stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is no t available" stubs.inc:499:2: warning: #warning "the function pcap_event() is not available" stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not avail able" Pcap.xs: In function ‘callback_wrapper’: Pcap.xs:57: warning: pointer targets in passing argument 2 of ‘Perl_newSVpv’ dif fer in signedness Pcap.xs: In function ‘XS_Net__Pcap_next_ex’: Pcap.xs:494: warning: pointer targets in passing argument 3 of ‘Perl_sv_setpvn’ differ in signedness Pcap.xs: In function ‘XS_Net__Pcap_dump’: Pcap.xs:553: warning: pointer targets in passing argument 3 of ‘pcap_dump’ diffe r in signedness Pcap.c: In function ‘XS_Net__Pcap_dump_file’: Pcap.c:1083: warning: passing argument 2 of ‘Perl_newGVgen’ discards qualifiers from pointer target type Pcap.c:1085: warning: passing argument 3 of ‘Perl_do_open’ discards qualifiers f rom pointer target type Pcap.c: In function ‘XS_Net__Pcap_file’: Pcap.c:1428: warning: passing argument 2 of ‘Perl_newGVgen’ discards qualifiers from pointer target type Pcap.c:1430: warning: passing argument 3 of ‘Perl_do_open’ discards qualifiers f rom pointer target type Pcap.xs: In function ‘XS_Net__Pcap_getevent’: Pcap.xs:951: warning: cast from pointer to integer of different size Pcap.xs: In function ‘XS_Net__Pcap_sendpacket’: Pcap.xs:963: warning: pointer targets in passing argument 2 of ‘pcap_sendpacket’ differ in signedness Pcap.c: In function ‘boot_Net__Pcap’: Pcap.c:2050: warning: initialization discards qualifiers from pointer target typ e Pcap.c:2054: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2055: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2056: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2057: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2058: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2059: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2060: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2061: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2062: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2063: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2064: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2065: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2066: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2067: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2068: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2069: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2070: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2071: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2072: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2073: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2074: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2075: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2076: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2077: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2078: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2079: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2080: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2081: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2082: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2083: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2084: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2085: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2086: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2087: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2088: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2089: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2090: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2091: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2092: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2093: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2094: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2095: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2096: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2097: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2098: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2099: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2100: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2101: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2102: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2103: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2104: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2105: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2106: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type Pcap.c:2107: warning: passing argument 2 of ‘Perl_newXS’ discards qualifiers fro m pointer target type make: *** [Pcap.o] Error 1 SAPER/Net-Pcap-0.16.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SAPER/Net-Pcap-0.16.tar.gz : make NO cpan[2]>