Compile nmap 7.7


i want to compile nmap 7.7. If i type ./configure it runs to the following error.

checking for ANSI ioctl definitions… no
configure: error: see the INSTALL for more info
configure: error: ./configure failed for libpcap

libpcap is installed.

Can anybody help or compile nmap 7.7

regards lorglas

Devel package?

ok, that was the problem.
but after make i get this error

g++ -c -I…/liblinear -I…/liblua -I…/libdnet-stripped/include -I…/libssh2/include -I…/libpcre -I/boot/system/lib//include -I…/nbase -I…/nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing -o netutil.o
/boot/home/Desktop/nmap/nmap-7.70/libnetutil/ net/if_arp.h: No such file or directory
Makefile:37: recipe for target ‘netutil.o’ failed
make[1]: *** [netutil.o] Error 1
make[1]: Leaving directory ‘/boot/home/Desktop/nmap/nmap-7.70/libnetutil’
Makefile:163: recipe for target ‘build-netutil’ failed
make: *** [build-netutil] Error 2

regards lorglas

Ask at irc or at haikuports. Or try to decypher the error message.

Nmap requires that the drivers be able to support tracing etc… I was looking at this also and I think perhaps only the FreeBSD drivers may support that if at all.

Obviously it doesn’t know anything about haiku specific driver interfaces.