Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Need help compiling Net::Pcap on Ubuntu 8.04

by bpa (Novice)
on Jul 21, 2008 at 22:10 UTC ( #699169=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-s
    +trict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE
    +_OFFSET_BITS=64 -O2   -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" -fPIC 
    +"-I/usr/lib/perl/5.8/CORE"  -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHA
    +VE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAM
    +E_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK
    +_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP
    +_DUMP_FOPEN -DHAVE_PCAP_DUMP_FTELL -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCA
    +P_FOPEN_OFFLINE -DHAVE_PCAP_FREEALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAV
    +E_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_INJECT -DHAVE_PCAP_LIB_VERSION -
    +DHAVE_PCAP_LIST_DATALINKS -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OPEN_DEAD -
    +DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETDIRECTION -DHAVE_PCAP_SETNONBLOC
    +K -DHAVE_PCAP_SET_DATALINK Pcap.c
    In file included from Pcap.xs:43:
    ...
    Manifying blib/man1/pcapinfo.1p
    Manifying blib/man3/Net::Pcap.3pm
    
  2. or download this
    Net-Pcap-0.14$ sudo make
    cp Pcap.pm blib/lib/Net/Pcap.pm
    ...
    /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pcapi
    +nfo
    Manifying blib/man1/pcapinfo.1p
    Manifying blib/man3/Net::Pcap.3pm
    
  3. or download this
    Warning: prerequisite Net::Pcap 0.12 not found. We have 0.04.
    Warning: prerequisite Net::Write 1.00 not found.
    
  4. or download this
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
    +arness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00-load...........# Testing Net::Pcap 0.14 under Perl 5.008008
    ...
    DIED. FAILED test 13
        Failed 1/14 tests, 92.86% okay
    t/04-loop...........ok 1/195
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://699169]
Approved by alexm
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2023-09-26 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?