Ethereal-dev: Re: [ethereal-dev] small problem building ethereal on red-hat 61

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: Wed, 24 Nov 1999 09:31:30 -0600
On Wed, Nov 24, 1999 at 06:30:07AM -0600, peter Torvals wrote:
> 
> 
> Hi,
> 
> Just tried to build the last CVS version of ethereal on a
> redhat 6.1 system.
> Everything went just fine except on little thing:
> autogen.sh didn't find net/bpf.h. I think the reason is that

configure (which autogen.sh) runs should look in /usr/include/pcap

We've had this problem before with other people using redhat.
I use redhat 6.0 at work, my bpf.h file is in /usr/include/pcap/net/bpf.h,
and it works fine for me. Go figure...

Please run:
	./configure | tee c.out

And look at c.out. During the configuration for ethereal (not wiretap),
I get these lines:

checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... found --  -L/usr/include/pcap added to LIBS and CFLAGS
checking for net/bpf.h... (cached) yes
checking for pcap.h... (cached) yes


What does your "checking for extraneous pcap header directories..."
line say?

--gilbert