Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh-3.2# cpan install Net::Pcap
- Going to read '/var/root/.cpan/Metadata'
- Database was generated on Mon, 30 Jan 2012 23:12:41 GMT
- Running install for module 'Net::Pcap'
- Running make for S/SA/SAPER/Net-Pcap-0.16.tar.gz
- Checksum for /var/root/.cpan/sources/authors/id/S/SA/SAPER/Net-Pcap-0.16.tar.gz ok
- 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/local/bin/perl /opt/local/lib/perl5/5.12.3/ExtUtils/xsubpp -typemap /opt/local/lib/perl5/5.12.3/ExtUtils/typemap -typemap typemap Pcap.xs > Pcap.xsc && mv Pcap.xsc Pcap.c
- /usr/bin/gcc-4.2 -c -Wall -Wwrite-strings -O3 -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAME_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK Pcap.c
- In file included from Pcap.xs:43:
- stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available"
- stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available"
- stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available"
- 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 available"
- 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 available"
- stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available"
- 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 available"
- stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not 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 available"
- Pcap.xs: In function ‘callback_wrapper’:
- Pcap.xs:57: warning: pointer targets in passing argument 2 of ‘Perl_newSVpv’ differ 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’ differ in signedness
- Pcap.c: In function ‘XS_Net__Pcap_strerror’:
- Pcap.c:1584: warning: assignment discards qualifiers from pointer target type
- 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
- Running Mkbootstrap for Net::Pcap ()
- chmod 644 Pcap.bs
- rm -f blib/arch/auto/Net/Pcap/Pcap.bundle
- LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.6 /usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup -fstack-protector Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.bundle \
- -lpcap \
- chmod 755 blib/arch/auto/Net/Pcap/Pcap.bundle
- cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs
- chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs
- cp bin/pcapinfo blib/script/pcapinfo
- /opt/local/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo
- Manifying blib/man1/pcapinfo.1pm
- Manifying blib/man3/Net::Pcap.3pm
- SAPER/Net-Pcap-0.16.tar.gz
- /usr/bin/make -- OK
- 'YAML' not installed, will not store persistent state
- Running make test
- PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
- t/00-load.t ................ 1/1 # Testing Net::Pcap 0.16 under Perl 5.012003
- t/00-load.t ................ ok
- t/01-api.t ................. ok
- t/02-lookup.t .............. ok
- t/03-openlive.t ............ 1/14
- # Failed test ' - $err must be set: '
- # at t/03-openlive.t line 68.
- # ''
- # doesn't match '/^(?:BIOCSETIF: )?this is not a device: Device not configured/'
- # Looks like you failed 1 test of 14.
- t/03-openlive.t ............ Dubious, test returned 1 (wstat 256, 0x100)
- Failed 1/14 subtests
- (less 4 skipped subtests: 9 okay)
- t/04-loop.t ................ 1/195
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement