From 5f603cbf27fa8d819382002a74e215fdec456c0f Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 30 May 2012 21:55:03 +0000 Subject: [PATCH] Update the Mac OS X source install instructions -- downloading Xcode is a bit different now, and you now often have to install the command-line tools too --- docs/nmap-install.xml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml index 8f6ddd6ab..e2299eb1e 100644 --- a/docs/nmap-install.xml +++ b/docs/nmap-install.xml @@ -1048,32 +1048,16 @@ on other platforms once a proper build environment is in place. Compile Nmap from source code Compiling Nmap on Mac OS X requires -Xcode,Xcode +Xcode,Xcode Apple's developer tools that include GCC and the rest of the usual build system. Xcode is not installed by default, but is available as an optional install on the Mac OS X installation discs. If you do not have -the installation discs or if you want a newer version, you can download -Xcode free of charge by following these steps. +the installation discs or if you want a newer version, you can download +Xcode free of charge. - -Apple restricts downloads of Xcode to members of the -Apple Developer Connection.Apple Developer Connection -Browse to - and fill out some forms to -create an account. Skip to the next step if you already have an -account. -Return to and -log in with your account credentials. -Hit the Download link and then choose -Developer Tools. -Download and install the most recent -Xcode. - +Xcode installations don't always include the command line tools. You can install them by opening Xcode from the Applications folder, opening Preferencechoosing the Download header icon and clicking the Install button next to Command Line Tools. -These exact steps may change, but it is hoped that this general -approach will continue to work. - -Once you have installed Xcode, follow the compilation instructions found in . Note that on some older versions of Mac OS X, you may have to replace the command ./configure with ./configure CPP=/usr/bin/cpp. +Once you have installed Xcode and the command-line tools, follow the compilation instructions found in . Note that on some older versions of Mac OS X, you may have to replace the command ./configure with ./configure CPP=/usr/bin/cpp.