Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Net::Pcap prob

by perlsyntax (Pilgrim)
on Jun 02, 2012 at 13:44 UTC ( [id://974014]=perlquestion: print w/replies, xml ) Need Help??

perlsyntax has asked for the wisdom of the Perl Monks concerning the following question:

I get this error message and i do got the libpcap-devel install and can't get to install from cpan here the error message
CPAN.pm: Building S/SA/SAPER/Net-Pcap-0.16.tar.gz looking for -lpcap... no - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to lack the pcap(3) library. If it is installed in a non-standard location, please try setting the +LIBS and INC values on the command line. Or get the sources and install the pcap library from http://www.tcpdum +p.org/ If you install the pcap library using a system package, make sure to a +lso install the corresponding -devel package, which contains the C headers + needed to compile this module. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No 'Makefile' created'YAML' not installed, will not store persistent s +tate SAPER/Net-Pcap-0.16.tar.gz /usr/local/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites

Replies are listed 'Best First'.
Re: Net::Pcap prob
by Corion (Patriarch) on Jun 02, 2012 at 13:47 UTC

    What part of the error message do you have a problem with?

    You appear to lack the pcap(3) library.

    Please read it and install the corresponding packages.

      I do got the libpcap-devel and libpcap-devel transitional package to so i not sure what going on here.

        The next line of the error message says:

        If it is installed in a non-standard location, please try setting the +LIBS and INC values on the command line.

        What part of this error message have you tried and how did it work for you?

        If you already tried the complete instructions of the error message, please say so, and describe your exact situation (OS, version, installed package, output) instead of letting me walk you through reading the error message.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-23 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found