By default, the libpcap distribution installs the library, but not the
header files. You either have to run 'make install-incl' or copy the
files over by hand. The files pcap.h, pcap-namedb.h, and net/bpf.h get
installed, but I'm not sure that pcap-namedb.h is required.
On Fri, 11 Sep 1998, Gerald Swann wrote:
> If your pcap.h has a line such as:
>
> #include <net/bpf.h>
>
> then you will need to make sure you have this directory (net) containing
> the file bpf.h in the directory where pcap.h is located.
>
> I ran into this on a Linux system.
>
> Gerald Swann
>
> --------------------------------------------
> from Marita Maestrelli:
>
> Hi
> There is a bug with solaris2.5 ?
> I am trying to install Ethereal-0.3.15, and when configuring i get this
> message:
> checking for pcap.h no
> configure: error: Header file pcap.h not found
>
> I have libpcap, and ntop run well
>
> System: Solaris2.5 - Ultra 1
>
> Does anyone Know anything about it?
>
> Thanks in advance,
>
> Marita Maestrelli
> CBPF - CAT
>
>
---------------------------------------------------------------------------
***** ***** Gerald Combs gerald@xxxxxxxxxx
*** *** Packet interrogator http://www.unicom.net
* * Unicom Communications, Inc. (913)327-5309
***** 7223 W. 95th St., Ste 325 (913)327-5376 Fax
*** Overland Park, KS 66212 (913)327-5375 Client Support
*
---------------------------------------------------------------------------