Nmap Development mailing list archives

Re: compiling errors


From: David Fifield <david () bamsoftware com>
Date: Tue, 6 Aug 2013 12:25:29 -0700

On Mon, Aug 05, 2013 at 09:01:30AM -0400, David Henderson wrote:
Good morning gang, I'm trying to compile nmap 6.25 but am getting the
following error:

make[1]: Entering directory `/opt/staging/source/libnetutil'
g++ -c -I../liblinear -I/usr/include/lua -Ino/include -I../libpcre
-I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -g -O2
-Wall -fno-strict-aliasing netutil.cc -o netutil.o
In file included from netutil.cc:152:0:
netutil.h:110:18: fatal error: dnet.h: No such file or directory
compilation terminated.
make[1]: *** [netutil.o] Error 1
make[1]: Leaving directory `/opt/staging/source/libnetutil'
make: *** [netutil_build] Error 2


I'm using the following syntax to compile:

configure --without-libdnet --without-zenmap
make
make install

--without-libdnet won't work. You need to use --with-libdnet=included
(which is the default too).

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


Current thread: