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