Ethereal-dev: Re: [ethereal-dev] Configure under Linux does not seem to work properly

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 22 Jul 1999 22:57:26 -0500
On Thu, Jul 22, 1999 at 09:39:26PM -0500, Richard Sharpe wrote:
> 
> 
> Hi,
> 
> I have a small problem with the latest source tree I pulled down.
> 
> Changes in packet-ip.h require <netinet/in.h>.  Unfortunately, configure is
> net setting HAVE_NETINET_IN_H.
> 
> This is under TurboLinux with Linux 2.2.9 ...
> 
> I don't have the time to look into it at present ...

It should be finding <netinet/in.h>, unless you don't have that header.

`grep netinet configure.in`:
AC_CHECK_HEADERS(sys/sockio.h sys/types.h netinet/in.h sys/socket.h net/if.h)

`grep NETINET config.h`:
#define HAVE_NETINET_IN_H 1

That's on RedHat 6.0, Linux 2.2.5.

Make sure netinet/in.h is in your configure.in file, then run 'autoconf' to 
generate a new configure script. Try "./configure" again and let us know.

--gilbert