I am trying to compile the latest version of ethereal .ie. 0.9.5
I have successfully compiled/installed the latest version of libpcap 0.7.1
When I try to "./configure" ethereal it dies with...
checking for extraneous pcap header directories... not found
checking for net/bpf.h... no
configure: error: Header file net/bpf.h not found; if you installed libpcap
from source, did you also do "make install-incl"?
The bpf.h file is there in the /usr/local/include/net directory..
$ ls -ail /usr/local/include/net
total 32
149448 drwxr-xr-x 2 root other 512 Aug 15 13:23 .
116764 drwxr-xr-x 9 bin bin 512 Aug 15 14:09 ..
149451 -rw-r--r-- 1 root other 13586 Aug 15 13:23 bpf.h
When I installed libpcap I could only do a "make install" it did not
understand "make install-incl"
$ make install
[ -d /usr/local/lib ] || \
(mkdir -p /usr/local/lib; chmod 755 /usr/local/lib)
./install-sh -c -m 644 libpcap.a /usr/local/lib/libpcap.a
ranlib /usr/local/lib/libpcap.a
[ -d /usr/local/include ] || \
(mkdir -p /usr/local/include; chmod 755 /usr/local/include)
./install-sh -c -m 644 ./pcap.h /usr/local/include/pcap.h
./install-sh -c -m 644 ./pcap-namedb.h \
/usr/local/include/pcap-namedb.h
[ -d /usr/local/include/net ] || \
(mkdir -p /usr/local/include/net; chmod 755 /usr/local/include/net)
./install-sh -c -m 644 ./bpf/net/bpf.h \
/usr/local/include/net/bpf.h
[ -d /usr/local/man/man3 ] || \
(mkdir -p /usr/local/man/man3; chmod 755 /usr/local/man/man3)
./install-sh -c -m 644 ./pcap.3 \
/usr/local/man/man3/pcap.3
$ make install-incl
make: Fatal error: Don't know how to make target `install-incl'
How do I fix this ?
Glenn Andrews
Network Engineer
Lucent Technologies / GIO NERNO
gjandrews@xxxxxxxxxx <mailto:gjandrews@xxxxxxxxxx>