2012-07-19 1 views
4

나는 Windows에서 Net::Pcap를 설치하려고하지만, 다음과 같은 오류 메시지가 있습니다 : 나는이 문제를 해결하려면 어떻게Windows 7에서 Net :: Pcap for Strawberry Perl을 어떻게 설치합니까?

c:\P P> cpan 
cpan> install Net::Pcap 

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

를? WinPcap 개발자 팩을 설치하지 않았습니다. 하지만 Wireshark를 설치했습니다.

+2

그래서 WinPcap 개발자 팩이 필요합니다. http://www.winpcap.org/install/에서 구하십시오. "pack"에는 필요한 라이브러리가 들어 있습니다. – jm666

답변

2

CPAN 설치 진단 당신은

그들은 또한

에서 다운로드하는 방법을 알려 또는 얻을은 WinPcap 개발자 팩이 부족한 것으로 보인다

아주 명확하게 문제를 설명 WinPcap 개발자 팩을
http://www.winpcap.org/devel.htm

에서 설치하십시오.
+0

- 위의 링크를 사용하여 다시 설치했지만 동일한 오류가 발생합니다. –

+0

링크가 - http://www.winpcap.org/devel.htm으로 변경되었습니다. –

관련 문제