blob: cebd5b823fa30a10acc5e511e6f9d14776d8e92f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
Building the Nmap Installer for Windows
=======================================
I. ZENMAP BUILD DEPENDENCIES
The dependencies of Zenmap are stored in Subversion in the directory
/nmap-mswin32-aux. This should be checked out in a sibling directory
to the 'nmap' source code directory you wish to build. See the file
Python-upgrade.txt there for more information.
II. OTHER REQUIREMENTS
You'll need Microsoft Visual C++ 2010 for compilation.
Directions for obtaining that are at:
https://nmap.org/install/inst-windows.html#inst-win-source.
You'll also need Cygwin installed in order to build the Nmap installer
(not required for normal compiling). You'll find it at
http://www.cygwin.com/.
And last, you'll need the Nullsoft Scriptable Install System installed.
You can download if from http://nsis.sourceforge.net/Download (Version
2.46 tested). Install in "C:\Program Files\NSIS" even if it offers
"C:\Program Files (x86)\NSIS".
III. BUILDING
With all of the requirements and dependencies installed, open up a
Cygwin shell and go to the mswin32 directory in the Nmap directory and
type "make". This may take several minutes, and will create an
executable installer and a zip archive (nmap-<version>-setup.exe and
nmap-<version>-win32.zip).
IV. INSTALLATION PATHS / PROBLEMS
If you have the dependencies of Zenmap installed in a directory other
than nmap-mswin32-aux, then you need to edit the copy_and_compile.bat
file under zenmap/install_scripts/windows and change the path variables.
|