tcpdump mailing list archives

Re: SCO libpcap


From: Guy Harris <guy () alum mit edu>
Date: Fri, 13 Jun 2008 11:21:26 -0700

sufei7099 wrote:
I add the #incude<sys/types.h> in file.h,

I.e., you changed /usr/include/sys/file.h to include <sys/types.h>?

Does /usr/include/sys/param.h include <sys/types.h> on your system?

then i make successfully. After i run make install, the result is :

# make install

                ...

        rm -f /usr/local/include/pcap-bpf.h
        rm -f /usr/local/include/pcap.h
        rm -f /usr/local/include/pcap-namedb.h
        cp pcap.h /usr/local/include
        cp pcap-bpf.h /usr/local/include
        cp pcap-namedb.h /usr/local/include

        ...

It meana i install the libpcap successfully. right?

Yes.

But when I run ./configure in snort directory, the result is :

        ...

checking for pcap_datalink in -lpcap... no
checking pfring.h usability... no
checking pfring.h presence... no
checking for pfring.h... no
checking for pfring_open in -lpfring... no
checking for pfring_open in -lpcap... no

   ERROR!  Libpcap library/headers (libpcap.a (or .so)/pcap.h)
   not found, go get it from http://www.tcpdump.org
   or use the --with-libpcap-* options, if you have it installed
   in unusual place.  Also check if your libpcap depends on another
   shared library that may be installed in an unusual place

Presumably snort wrote out a config.log file; what are the contents of that file?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: