I have installed the developer pack now and i think i am very near to solve this problem:
C:\strawberry\cpan\build\Net-Pcap-0.16-A9_0Y2>perl Makefile.PL INC=-IC
+:/WpdPack/
Include "LIBS=-LC:/WpdPack/Lib -lwpcap"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Unable to patch socket.h
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap
can somebody please tell how to proceed further, if i try to install Net:Pcap through cpan i still get the same error.
CPAN.pm: Going to build S/SA/SAPER/Net-Pcap-0.16.tar.gz
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Unable to patch socket.h
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