Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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

by syphilis (Chancellor)
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


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 ?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863892]
[thao4]: Hi all, I am new in perl. I need do somthing in perl: exemple: - search a patern "CADRE 1.1 CPU" in one file.txt - incremente +30 lines from the line with the patern found - replace the patern "Model Regle" by "Heath Rule A" in this new line (30 line
[marto]: good morning all
[hippo]: Welcome. Tell me, have you read perlintro? That's a great place to start.
[thao4]: I seach to do that since a week but I can't found the answer in google. Thank for your help
[Eily]: hello thao4 (and hello all :D), you should [id://http:// 479#post|open a question on Seekers of Perl Wisdom], be sure to include whatever you have tried that didn't work, or only does the job partially
[thao4]: yes, I do a little perl since some years but not fréquently, I can correct the triggers in Clearcase of IBM, but write the code : no
[Eily]: meh, such good link ...
[Eily]: here
[Eily]: still not xD there

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2018-02-21 09:48 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (276 votes). Check out past polls.