Wireshark-dev: Re: [Wireshark-dev] OMG Still it doesn't compile!

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 27 Oct 2006 10:10:01 -0700
Andrew.Martin@xxxxxxxxxxxxxxxxxxxxxx wrote:
I've tried using cygwin, and cant get past the ./configure command. It
keeps complaining that it cant find libpcap, where and how do I install
this libpcap?

On Windows, it's called WinPcap (WinPcap is a port of libpcap to Windows). See the information at the bottom of

	http://wiki.wireshark.org/Development/CygwinGCC

after you've read everything else on that page, including the part that says

Using GCC might be quite difficult and the built binaries will only run in a cygwin environment using an X server, so they are not standalone Win32 applications.

If, however, you're using MSVC++ rather than Cygwin's GCC, as suggested by:


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Ulf Lamping
Sent: 26 October 2006 21:37
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] OMG Still it doesn't compile!

Andrew.Martin@xxxxxxxxxxxxxxxxxxxxxx wrote:
This is insane, I've had so much trouble trying to get wireshark to compile. My latest error is this, I appreciate it if you could show me the way! Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'config.h.win32'
Stop.

then *DO NOT USE THE CONFIGURE SCRIPT*. The configure script is for use on UN*X, and sort of works with Cygwin too when building under GCC, but it is most definitely *NOT* intended for use with MSVC++.

We require Cygwin not for its use as a full-blown pretend-it's-UN*X environment; we require it for some of its tools. Thus, the way you build on Windows with MSVC++ is *NOT* the way you build it on UN*X, even though you have Cygwin installed.