Nmap Development mailing list archives

Re: compiling errors


From: David Henderson <dhenderson () digital-pipe com>
Date: Wed, 7 Aug 2013 07:59:47 -0400

Thanks for the tip Dave!  I've got it working now.

Thanks,
Dave


On Tue, Aug 6, 2013 at 3:25 PM, David Fifield <david () bamsoftware com> wrote:

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: