Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Need help compiling Net::Pcap on Ubuntu 8.04

by bpa (Novice)
on Jul 21, 2008 at 23:16 UTC ( #699181=note: 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:
    ...
    /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pcapi
    +nfo
    Manifying blib/man1/pcapinfo.1p
    Manifying blib/man3/Net::Pcap.3pm
    
  2. or download this
    Warning: prerequisite Net::Pcap 0.12 not found. We have 0.04.
    
  3. or download this
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -ldnet
    Writing Makefile for Net::Libdnet
    
  4. or download this
    cp Libdnet.pm blib/lib/Net/Libdnet.pm
    AutoSplitting blib/lib/Net/Libdnet.pm (blib/lib/auto/Net/Libdnet)
    ...
    Libdnet.xs:717: error: invalid application of ‘sizeof’ to incomplete t
    +ype ‘struct addr’ 
    Libdnet.xs:726: warning: assignment makes pointer from integer without
    + a cast
    make: *** [Libdnet.o] Error 1
    
  5. or download this
    WARNING: LICENSE is not a known parameter.
    Warning: prerequisite Net::Libdnet 0 not found.
    ...
    Warning: prerequisite Net::Write 1.00 not found.
    'LICENSE' is not a known MakeMaker parameter name.
    Writing Makefile for Net::Packet
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://699181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-10-04 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?