On Mon, Jun 30, 2003 at 08:46:59AM +0200, Biot Olivier wrote:
> > -----Original Message-----
> > From: Guy Harris
> >
> > On Fri, Jun 27, 2003 at 01:10:44PM +0200, Biot Olivier wrote:
> > > I'm incapable of compiling tethereal under cygwin.
> >
> > Is HAVE_LIBPCAP defined in "config.h"?
>
> it isn't. Do I really *NEED* pcap (I disabled it).
Currently, yes, because the capture-from-pipe stuff is compiled in
regardless of whether you are building on Win32 or not and regardless of
whether you have *pcap or not.
If we leave it out when building for Win32, or leave it out when
building for Win32 without libpcap, or possibly get rid of the stuff
that leaves some definitions for capture-from-pipe out when building on
Win32, we might be able to eliminate that requirement.
> $ grep -i pcap config.h
> /* Define to use libpcap library */
> /* #undef HAVE_LIBPCAP */
> /* Define if libpcap version is known */
> /* #undef HAVE_PCAP_VERSION */
>
> > If not, do you have WinPcap installed, complete with the developer's
> > kit?
> >
> > If so, and if "config.h" was built by the configure script,
> > then either
> > there's a problem with the configure script on Cygwin that
> > causes it not
> > to find WinPcap, or you need to use "--with-pcap=<directory>"
> > to tell it
> > in which directory to look for WinPcap libraries and headers.
>
> I now installed the WinPcap developer's pack, and tried the following:
> a. --with-pcap=DIR
> b. manualy copying the header files to the /usr/include[/net] directory,
> and the libs to /usr/lib or /lib
> c. Same as b. but with a symlink from libwpcap --> libpcap
> d. Compiling winpcap from source
>
> Neither works.
What does the build do instead of working?