Interesting.... I checked a linux machine here with libpcap-0.4a5.
When installing libpcap, ./configure creates a link from net to bpf/net,
but when 'make install-incl' is run, ginstall will create the files, but
not the directory which is supposed to contain bpf.h. If I create the
directory manually, then run make install-incl, the file is copied.
Gerald Swann
On Fri, 11 Sep 1998, Gerald Combs - Unicom Communications wrote:
> 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
> *
> ---------------------------------------------------------------------------
>