Ethereal-users: Re: [ethereal-users] ./configure problem -- Header file net/bpf.h not found

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, 12 Aug 1999 00:30:15 -0500
On Thu, Aug 12, 1999 at 12:00:19AM -0500, Richard Demanowski wrote:
> 
> 
> OK, I got the libpcap source (libpcap-4.0.tar.gz), but when I try to do a
> ./configure for it on my RedHat box, I get the error "checking for ANSI
> ioctl definitions ... no <newline> configure: error: see the INSTALL for
> more details."

If configure is failing, something much more basic is missing or
misconfigured.  What RPMs do you have installed for egcs and glibc?

('rpm -qa | grep egcs', 'rpm -qa | grep glibc' ... there might be
better ways to search, but I'm a new RedHat user, so I'm no RPM-expert).
 
> The ethereal INSTALL file seems to think that there *is* a libpcap-devel
> rpm file.  If so, where can I find it?

There might have been for RH 5.x. I have a RH 6.0 box, and the only libpcap
related file I have is libpcap-0.4-10.rpm. I checked via
'rpm -qa | grep pcap'

With that installed, my /usr/include/pcap has the appropriate headers.

'ls -lR /usr/include/pcap':
/usr/include/pcap:
total 10
drwxr-xr-x   2 root     root         1024 Jun 22 15:29 net
-r--r--r--   1 root     root         3161 Mar 21 23:15 pcap-namedb.h
-r--r--r--   1 root     root         4912 Mar 21 23:15 pcap.h

/usr/include/pcap/net:
total 9
-r--r--r--   1 root     root         8447 Mar 21 23:15 bpf.h


Does 'ls -lR /usr/include/pcap' show something similar on your machine?

--gilbert