Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Error while installing Net::Pcap on Windows Strawberry Perl

by syphilis (Canon)
on Oct 07, 2010 at 01:14 UTC ( #863892=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Error while installing Net::Pcap on Windows Strawberry Perl
in thread Error while installing Net::Pcap on Windows Strawberry Perl

I think winpcap is already installed in my system

Then it's installed in a location that's not being found by default. You need to follow the advice offered by the error message regarding If it is installed in a non-standard location
First, cd to the Net::Pcap build directory and run dmake realclean. Then run, as suggested:

perl Makefile.PL INC=-IC:/WpdPack/Include "LIBS=-IC:/WpdPack/Lib -lwpc +ap"
You'll need to modify the INC and LIBS paths specified in that command so that they point to the location of the wpcap headers and library on your machine.
Then run dmake test followed by dmake install

Cheers,
Rob

UPDATE: Give that a try, though I'm now not so sure that's what's needed. I've just noticed this in the message you posted:
socket.h patched... ok looking for -lwpcap... yes checking for pcap_lib_version() in -lwpcap... no
So, at some point, wpcap is being found, but that library doesn't provide a pcap_lib_version(). Is your version of that library a recent one ?


Comment on Re^3: Error while installing Net::Pcap on Windows Strawberry Perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-10-25 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls