perl - can't install Net::Pcap module -


i trying install net::pacp module ,i followed below steps

1.$ perl makefile.pl inc=-i/opt/pcap/include libs='-l/opt/pcap/lib -lpcap' produces output as

looking -lpcap... yes checking pcap_lib_version() in -lpcap... yes detecting available functions... ok writing makefile net::pcap 

2.$ make step throwing error make: *** [pcap.o] error 1

can please me this

thank in advance.

i'm guessing you're using linux. in case can install version pre-packaged distribution.

on fedora/centos/rhel

$ sudo yum install perl-net-pcap 

on debian/ubuntu

$ sudo apt-get install libnet-pcap-perl 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -