Nmap Development mailing list archives

Re: --with-libpcre=included


From: David Fifield <david () bamsoftware com>
Date: Wed, 29 Sep 2010 10:13:27 -0600

On Wed, Sep 29, 2010 at 11:23:26AM +0100, Nuno Gonçalves wrote:
I just noticed a error message on the configure step:

configure: error: pcap type not determined when cross-compiling; use
--with-pcap=...
configure: error: ./configure failed for libpcap

Is it "--with-pcap=*" or "--with-libpcap=*"?

They are two separate options.

--with-libpcap is defined in nmap/configure.ac. It controls where to
look for a libpcap installation. It expects a directory.

--with-pcap is defined in nmap/libpcap/configure.in. It controls which
capture engine is built into libpcap. It expects a string like "bpf",
"pf", "linux", or "dlpi".

You probably have to find a way to force --with-pcap=linux (in the
configuration step for libpcap, not for Nmap) when you are
cross-compiling.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: