configure error libpcap not found cygwin
here for a quick overview of the site Help Center Detailed answers to any questions
Winpcap Developer Pack
you might have Meta Discuss the workings and policies of pcap.h not found this site About Us Learn more about Stack Overflow the company Business Learn more about hiring tcpdump developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is aWireshark
community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up help installing libpcap on cygwin up vote 3 down vote favorite 2 i was trying to install libpcap under cygwin on windows 7 but i had this error: $ ./configure . . . . . configure: error: see the INSTALL for more info how can i solve this? i am using libpcap-1.0.0 which is the latest version. cygwin libpcap share|improve this question asked Mar 7 '10 at 12:41 scatman 4,997154982 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted I know this is a late reply, but I just went through the same install issues on Windows 7. On Windows, you should use Winpcap: http://www.winpcap.org/ share|improve this answer answered Sep 21 '10 at 18:21 warriorpostman 1,1101820 add a comment| up vote 6 down vote http://mathieu.carbou.free.fr/wiki/index.php?title=How_to_install_Winpcap_/_Libpcap_under_Cygwin libpcap develop pack can be found from http://www.winpcap.org/devel.htm steps in detail as follows: Setup Winpcap Download and unzip the pack. We will use for this example WpdPack_4_0_1.zip. Copy libraries like this: WpdPack\Lib\libpacket.a to cygwin\lib\ WpdPack\Lib\libwpcap.a to cygwin\lib\ Create a folder cygwin\usr\include\pcap\ Copy all headers from WpdPack\Include to cygwin\usr\include\winpcap\ Be sure you have installed Winpcap libraries and that they arDetected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Installing winpcap and configure it with cygwin Started by hisoka, Apr 05 2016 01:02 PM Please log in to reply 9 replies to this topic #1 hisoka hisoka Member Members 466 posts Posted 05 April 2016 - 01:02 PM When I put the ./configure command in my Cygwin terminal to compile a source code program , I http://stackoverflow.com/questions/2396251/help-installing-libpcap-on-cygwin got this error :ERROR! Libpcap library/headers not found.TCPDUMP/LIBPCAP public repository is a good place to fetch one if libpcap library is installed, use the --with-libpcap-* options to specify pathes to include and library files locations. So , because I have windows xp as an operating system , I downloaded winpcap from this link :WinPcap http://w3schools.invisionzone.com/index.php?showtopic=55117 Developer Resources I extracted it to Cygwin directory which is C:\cygwin , then followed this link to configure winpcap with cygwin :help installing libpcap on cygwin - Stack Overflow In the second link , someone talked about installing some libraries : " Be sure you have installed Winpcap libraries and that they are in your path by typing: which packet.dll which wpcap.dll because I do not have both dll , I downloaded both of them from this link :wpcap.dll download missing file - DllDump then put them in C:\WINDOWS\system32 .Moreover , I did exactly what second link said : Copy libraries like this: WpdPack\Lib\libpacket.a to cygwin\lib\ WpdPack\Lib\libwpcap.a to cygwin\lib\ Create a folder cygwin\usr\include\pcap\ Copy all headers from WpdPack\Include to cygwin\usr\include\winpcap\ Be sure you have installed Winpcap libraries and that they are in your path by typing: which packet.dll which wpcap.dll But when I followed the rest which is :Building example using Cygwin Open a cygwin prompt to WpdPack\Examples-pcap\basic_dump\ and execute:basic_dump:and tried to ex
What not found can I do to prevent this in the future? If you are on a personal connection, like at home, you configure error libpcap can run an anti-virus scan on your device to make sure it is not infected with malware. If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices. CloudFlare Ray ID: 2ece89847ffc2635 • Your IP: 23.94.75.126 • Performance & security by CloudFlare
recientesAdministrador de FicherosÍndiceConectarse> Cambios recientesAdministrador de FicherosÍndice Estás aquí: start » public » cygwin » libpcap Barra lateral FAQ Preguntas Frecuentes Indice public contacto faq Contacto Contacto Ultimos cambios Sidebar public:cygwin:libpcap Tabla de Contenidos How to install Winpcap / Libpcap under Cygwin For Cygwin Setup Winpcap Building example using Cygwin For MinGW Requirements Compiling Winpcap How to install Winpcap / Libpcap under Cygwin For Cygwin Setup Winpcap 1.- Download and unzip the pack. We will use for this example WpdPack_4_0_1.zip. 2.- Copy libraries like this: WpdPack\Lib\libpacket.a to cygwin\lib\ WpdPack\Lib\libwpcap.a to cygwin\lib\ 3.- Create a folder cygwin\usr\include\pcap\ 4.- Copy all headers from WpdPack\Include to cygwin\usr\include\winpcap\ 5.- Be sure you have installed Winpcap libraries and that they are in your path by typing: which Packet.dll which wpcap.dll For me they are in /cygdrive/c/WINDOWS/system32/ Building example using Cygwin basic_dump Open a cygwin prompt to WpdPack\Examples-pcap\basic_dump\ and execute: CFLAGS="-g -Wall -mno-cygwin -I /usr/include/pcap" LIBS="-lwpcap" PROG="basic_dump" gcc $CFLAGS -c $PROG.c gcc $CFLAGS -o $PROG.exe $PROG.o $LIBS ./$PROG.exe basic_dump_ex CFLAGS="-g -Wall -mno-cygwin -I /usr/include/pcap" LIBS="-lwpcap" PROG="basic_dump_ex" gcc $CFLAGS -c $PROG.c gcc $CFLAGS -o $PROG.exe $PROG.o $LIBS ./$PROG.exe iflist CFLAGS="-g -Wall -mno-cygwin -I /usr/include/pcap" LIBS="-lwpcap" PROG="iflist" gcc $CFLAGS -c $PROG.c gcc $CFLAGS -o $PROG.exe $PROG.o $LIBS ./$PROG.exe pcap_filter (and others) I think you can catch the pattern ;) Only replace PROG=… by the program name and it should compile. UDPdump CFLAGS="-g -Wall -mno-cygwin -I /usr/include/pcap" LIBS="-lwpcap -lwsock32" PROG="UDPdump" gcc $CFLAGS -c $PROG.c gcc $CFLAGS -o $PROG.exe $PROG.o $LIBS ./$PROG.exe You can test by doing a Time Synchronization with pool.ntp.org for example. For MinGW Requirements First install MinGW Download Winpcap sources 4.0.1 (if you want to compile) Download Airpcap developer pack (if you want to compile) Download Winpcap Developer Pack 4.0.1 (if you just want to install) Basic setup: Unpack Winpcap sources into D:\data\download\winpcap\ Unpack Airpcap dev. pack into D:\data\download\Airpcap_Devpack\ Compiling Winpcap If you are using the same MinGW environment as mine, it is possible that you need to apply the following patch before launching the com