Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Can't build Nmap --with-libpcap=path/to/libpcap
From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 11 Dec 2013 13:56:43 -0600

On 12/11/2013 12:46 PM, olli hauer wrote:
Hi Dan,

I've just done a simple ./configure with libpcap-1.5.2 and in the generated Makefile the following line can be found.

...
# Pathname of directory to install the include files
includedir = ${prefix}/include
...
install: install-shared install-archive pcap-config
         [ -d $(DESTDIR)$(libdir) ] || \
             (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
         [ -d $(DESTDIR)$(includedir) ] || \
             (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir))
         [ -d $(DESTDIR)$(includedir)/pcap ] || \
             (mkdir -p $(DESTDIR)$(includedir)/pcap; chmod 755 $(DESTDIR)$(includedir)/pcap)

Can you check your parameters for libpcap, specially the generated Makefile.

olli,

Thanks for clearing this up for me. I had not considered the "make install" step, and that the intent of the --with-libcap=/path configuration was for the case where libpcap's DESTDIR was not one of the system's search paths.

Now I can continue testing!

Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]