Ethereal-users: Re: [ethereal-users] ./configure problem -- Header file net/bpf.h not found
On Thu, 12 Aug 1999, Gilbert Ramirez wrote:
> > 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
On my slackware box, the libpcap configure worked (it didn't fail on the
ANSI ioctl check), but the make install-incl failed when it tried to copy
net/bpf.h ... it worked fine after I created the /usr/include/pcap/net
directory. I'll have to drop a note to the libpcap maintainers that the
install-incl should check if the net directory exists, and create it if it
doesn't.
Once I got the libpcap stuff installed, the ethereal configure works fine,
and is building as I write this.
I'll have to wait until I get home to try it on my Red Hat box. I don't
understand why it wouldn't find ANSI ioctl, though ...
Thanx
RichD
--
rdemanow@xxxxxxxxxxx (finger for PGP public key)
http://www.wasatch.com/~rdemanow/
-------------------------------------------------------------------------
"I may disagree with what you have to say, but I will defend, to the
death, your right to say it." -- Voltaire