Nmap Development mailing list archives

Re: compile nmap 4.03/4.10 on mac os x


From: Diman Todorov <diman () xover mud at>
Date: Mon, 26 Jun 2006 18:22:24 +0200

Today I compiled nmap 4.10, still with the same configure option.
And it failed again. However, after looking at Autoconf documents,
I found a solution for this problem. That is, configure nmap as
the following:

   ./configure --enable-shared --enable-static=libdnet


Hello,
I tried to reproduce this error today, without any success.

g++ -Lnbase -Lnsock/src/  -o nmap main.o nmap.o targets.o tcpip.o  
nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o  
scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o  
portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o  
service_scan.o NmapOutputTable.o MACLookup.o nmap_tty.o nmap_dns.o  
nmap_lua.o  -lnbase -lnsock libpcre/libpcre.a -lpcap -lssl -lcrypto  
libdnet-stripped/src/.libs/libdnet.a

This is the linking command which is produced by configure & make
my ssl lib is shared while libdnet is static :)

The '--enable-shared' option is not recognized by the configure  
script from
the nmap distribution tarball. The reason is that nmap currently is  
not using
libtool. I don't know what you mean when you say that your compiler is
Xcode 2.0 Xcode should use gcc/g++ behind the scenes, it is not a  
compiler
nor does it provide a proprietary compiler.

I have two advices for you:
* if you are going to compile nmap, do it on the command line and not  
in Xcode
read the INSTALL file in the nmap tarball for instructions
* upgrade your xcode to the current version (2.2)

regards
Diman



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: