I am getting below error while installing. From where can i download library for -lwpcap.
cpan> install Net::Pcap
Database was generated on Tue, 05 Oct 2010 22:14:34 GMT
Running install for module 'Net::Pcap'
Running make for S/SA/SAPER/Net-Pcap-0.16.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\S\SA\SAPER\Net-Pcap
+-0.16.tar.
gz ok
Scanning cache C:\strawberry\cpan\build for sizes
......................................................................
+......DONE
CPAN.pm: Going to build S/SA/SAPER/Net-Pcap-0.16.tar.gz
socket.h patched... ok
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... no
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You appear to lack the WinPcap developer pack.
If it is installed in a non-standard location, please try setting the
+LIBS
and INC values on the command line. For instance, if you have unziped
+ the
developer's pack in C:\WpdPack, you should execute:
perl Makefile.PL INC=-IC:/WpdPack/Include "LIBS=-LC:/WpdPack/Lib -
+lwpcap"
Or get and install the WinPcap developer's pack from
http://www.winpcap.org/install/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
detecting available functions... ok
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lwpcap
Writing Makefile for Net::Pcap
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|