Advertisement
Guest User

Net-Pcap Mac OS

a guest
Jan 31st, 2012
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6.02 KB | None | 0 0
  1. sh-3.2# cpan install Net::Pcap
  2. Going to read '/var/root/.cpan/Metadata'
  3.   Database was generated on Mon, 30 Jan 2012 23:12:41 GMT
  4. Running install for module 'Net::Pcap'
  5. Running make for S/SA/SAPER/Net-Pcap-0.16.tar.gz
  6. Checksum for /var/root/.cpan/sources/authors/id/S/SA/SAPER/Net-Pcap-0.16.tar.gz ok
  7.  
  8.   CPAN.pm: Going to build S/SA/SAPER/Net-Pcap-0.16.tar.gz
  9.  
  10. looking for -lpcap... yes
  11. checking for pcap_lib_version() in -lpcap... yes
  12. detecting available functions... ok
  13. Checking if your kit is complete...
  14. Looks good
  15. Writing Makefile for Net::Pcap
  16. cp Pcap.pm blib/lib/Net/Pcap.pm
  17. /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
  18. /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
  19. In file included from Pcap.xs:43:
  20. stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available"
  21. stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available"
  22. stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available"
  23. stubs.inc:352:2: warning: #warning "the function pcap_open() is not available"
  24. stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available"
  25. stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not available"
  26. stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available"
  27. stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not available"
  28. stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available"
  29. stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available"
  30. stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not available"
  31. stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not available"
  32. stubs.inc:499:2: warning: #warning "the function pcap_event() is not available"
  33. stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not available"
  34. Pcap.xs: In function ‘callback_wrapper’:
  35. Pcap.xs:57: warning: pointer targets in passing argument 2 of ‘Perl_newSVpv’ differ in signedness
  36. Pcap.xs:62: warning: value computed is not used
  37. Pcap.xs:63: warning: value computed is not used
  38. Pcap.xs:64: warning: value computed is not used
  39. Pcap.xs:65: warning: value computed is not used
  40. Pcap.xs: In function ‘XS_Net__Pcap_findalldevs_xs’:
  41. Pcap.xs:196: warning: value computed is not used
  42. Pcap.xs:199: warning: value computed is not used
  43. Pcap.xs:202: warning: value computed is not used
  44. Pcap.xs:220: warning: value computed is not used
  45. Pcap.xs:222: warning: value computed is not used
  46. Pcap.xs: In function ‘XS_Net__Pcap_next’:
  47. Pcap.xs:447: warning: value computed is not used
  48. Pcap.xs:448: warning: value computed is not used
  49. Pcap.xs:449: warning: value computed is not used
  50. Pcap.xs:450: warning: value computed is not used
  51. Pcap.xs: In function ‘XS_Net__Pcap_next_ex’:
  52. Pcap.xs:489: warning: value computed is not used
  53. Pcap.xs:490: warning: value computed is not used
  54. Pcap.xs:491: warning: value computed is not used
  55. Pcap.xs:492: warning: value computed is not used
  56. Pcap.xs:494: warning: pointer targets in passing argument 3 of ‘Perl_sv_setpvn’ differ in signedness
  57. Pcap.xs: In function ‘XS_Net__Pcap_dump’:
  58. Pcap.xs:553: warning: pointer targets in passing argument 3 of ‘pcap_dump’ differ in signedness
  59. Pcap.c: In function ‘XS_Net__Pcap_strerror’:
  60. Pcap.c:1584: warning: assignment discards qualifiers from pointer target type
  61. Pcap.xs: In function ‘XS_Net__Pcap_stats’:
  62. Pcap.xs:742: warning: value computed is not used
  63. Pcap.xs:744: warning: value computed is not used
  64. Pcap.xs:746: warning: value computed is not used
  65. Pcap.xs: In function ‘XS_Net__Pcap_getevent’:
  66. Pcap.xs:951: warning: cast from pointer to integer of different size
  67. Pcap.xs: In function ‘XS_Net__Pcap_sendpacket’:
  68. Pcap.xs:963: warning: pointer targets in passing argument 2 of ‘pcap_sendpacket’ differ in signedness
  69. Running Mkbootstrap for Net::Pcap ()
  70. chmod 644 Pcap.bs
  71. rm -f blib/arch/auto/Net/Pcap/Pcap.bundle
  72. 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     \
  73.        -lpcap   \
  74.      
  75. chmod 755 blib/arch/auto/Net/Pcap/Pcap.bundle
  76. cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs
  77. chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs
  78. cp bin/pcapinfo blib/script/pcapinfo
  79. /opt/local/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo
  80. Manifying blib/man1/pcapinfo.1pm
  81. Manifying blib/man3/Net::Pcap.3pm
  82.  SAPER/Net-Pcap-0.16.tar.gz
  83.  /usr/bin/make -- OK
  84. 'YAML' not installed, will not store persistent state
  85. Running make test
  86. PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
  87. t/00-load.t ................ 1/1 # Testing Net::Pcap 0.16 under Perl 5.012003
  88. t/00-load.t ................ ok  
  89. t/01-api.t ................. ok      
  90. t/02-lookup.t .............. ok    
  91. t/03-openlive.t ............ 1/14
  92. #   Failed test ' - $err must be set: '
  93. #   at t/03-openlive.t line 68.
  94. #                   ''
  95. #     doesn't match '/^(?:BIOCSETIF: )?this is not a device: Device not configured/'
  96. # Looks like you failed 1 test of 14.
  97. t/03-openlive.t ............ Dubious, test returned 1 (wstat 256, 0x100)
  98. Failed 1/14 subtests
  99.     (less 4 skipped subtests: 9 okay)
  100. t/04-loop.t ................ 1/195
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement