mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Update build instructions and build scripts for Python 2.7.
This commit is contained in:
@@ -11,36 +11,26 @@ known-good versions.
|
|||||||
|
|
||||||
GTK+ All-in-one bundle
|
GTK+ All-in-one bundle
|
||||||
o http://www.gtk.org/download-windows.html
|
o http://www.gtk.org/download-windows.html
|
||||||
o Tested: gtk+=bundle_2.14.7-20090119_win32.zip
|
o Tested: gtk+-bundle_2.22.0-20101016_win32.zip
|
||||||
o Also tried the more recent gtk+-bundle_2.16.6-20091013_win32.zip,
|
|
||||||
but while that worked on Windows 7, I got DLL errors when I tried
|
|
||||||
to run Zenmap on Windows XP. It basically failed to load:
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "zenmap", line 89, in <module>
|
|
||||||
File "zenmapGUI\App.pyo", line 113, in <module>
|
|
||||||
File "gtk\__init__.pyo", line 48, in <module>
|
|
||||||
File "gtk\_gtk.pyo", line 12, in <module>
|
|
||||||
File "gtk\_gtk.pyo", line 10, in __load
|
|
||||||
ImportError: DLL load failed: The specified procedure could not be found.
|
|
||||||
Python
|
Python
|
||||||
o http://www.python.org/download
|
o http://www.python.org/download
|
||||||
o Tested: python-2.6.4.msi
|
o Tested: python-2.7.msi
|
||||||
PyGTK
|
PyGTK
|
||||||
o http://ftp.gnome.org/pub/gnome/binaries/win32/pygtk
|
o http://ftp.gnome.org/pub/gnome/binaries/win32/pygtk
|
||||||
o Tested: pygtk-2.12.1-3.win32-py2.6.exe
|
o Tested: pygtk-2.22.0.win32-py2.7.exe
|
||||||
PyCairo
|
PyCairo
|
||||||
o http://ftp.gnome.org/pub/gnome/binaries/win32/pycairo
|
o http://ftp.gnome.org/pub/gnome/binaries/win32/pycairo
|
||||||
o Tested: pycairo-1.4.12-2.win32-py2.6.exe
|
o Tested: pycairo-1.8.10.win32-py2.7.exe
|
||||||
PyGObject
|
PyGObject
|
||||||
o http://ftp.gnome.org/pub/gnome/binaries/win32/pygobject
|
o http://ftp.gnome.org/pub/gnome/binaries/win32/pygobject
|
||||||
o pygobject-2.14.2-2.win32-py2.6.exe
|
o pygobject-2.26.0.win32-py2.7.exe
|
||||||
Py2exe (0.6.9) - http://www.sourceforge.net/projects/py2exe
|
Py2exe (0.6.9) - http://www.sourceforge.net/projects/py2exe/files/
|
||||||
o py2exe-0.6.9.win32-py2.6.exe
|
o py2exe-0.6.9.win32-py2.7.exe
|
||||||
Be sure to grab the PyGTK, PyCairo, etc. for Python 2.6!
|
Be sure to grab the PyGTK, PyCairo, etc. for Python 2.7!
|
||||||
|
|
||||||
The GTK all-in-one bundle is a zip file. Unzip it into the directory
|
The GTK all-in-one bundle is a zip file. Unzip it into the directory
|
||||||
c:\GTK. The other components have installers-using the default
|
c:\GTK. The other components have installers-using the default
|
||||||
install directories is important, especially for Python (C:\Python26)
|
install directories is important, especially for Python (C:\Python27)
|
||||||
and GTK (C:\GTK). See Section IV if you must change the directories.
|
and GTK (C:\GTK). See Section IV if you must change the directories.
|
||||||
|
|
||||||
You may need to set your Windows $PATH so that it can find the GTK
|
You may need to set your Windows $PATH so that it can find the GTK
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ Section "Zenmap (GUI Frontend)" SecZenmap
|
|||||||
File ..\nmap-${VERSION}\zenmap.exe
|
File ..\nmap-${VERSION}\zenmap.exe
|
||||||
File ..\nmap-${VERSION}\ZENMAP_README
|
File ..\nmap-${VERSION}\ZENMAP_README
|
||||||
File ..\nmap-${VERSION}\COPYING_HIGWIDGETS
|
File ..\nmap-${VERSION}\COPYING_HIGWIDGETS
|
||||||
File ..\nmap-${VERSION}\python26.dll
|
File ..\nmap-${VERSION}\python27.dll
|
||||||
File /r ..\nmap-${VERSION}\share
|
File /r ..\nmap-${VERSION}\share
|
||||||
File /r ..\nmap-${VERSION}\py2exe
|
File /r ..\nmap-${VERSION}\py2exe
|
||||||
StrCpy $zenmapset "true"
|
StrCpy $zenmapset "true"
|
||||||
@@ -295,7 +295,7 @@ Section "Ndiff (Scan comparison tool)" SecNdiff
|
|||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
File ..\nmap-${VERSION}\ndiff.exe
|
File ..\nmap-${VERSION}\ndiff.exe
|
||||||
File ..\nmap-${VERSION}\NDIFF_README
|
File ..\nmap-${VERSION}\NDIFF_README
|
||||||
File ..\nmap-${VERSION}\python26.dll
|
File ..\nmap-${VERSION}\python27.dll
|
||||||
File /r ..\nmap-${VERSION}\py2exe
|
File /r ..\nmap-${VERSION}\py2exe
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
@@ -415,7 +415,7 @@ Section "Uninstall"
|
|||||||
Delete "$INSTDIR\winpcap-nmap*.exe"
|
Delete "$INSTDIR\winpcap-nmap*.exe"
|
||||||
Delete "$INSTDIR\zenmap.exe"
|
Delete "$INSTDIR\zenmap.exe"
|
||||||
Delete "$INSTDIR\ndiff.exe"
|
Delete "$INSTDIR\ndiff.exe"
|
||||||
Delete "$INSTDIR\python26.dll"
|
Delete "$INSTDIR\python27.dll"
|
||||||
Delete "$INSTDIR\NDIFF_README"
|
Delete "$INSTDIR\NDIFF_README"
|
||||||
Delete "$INSTDIR\ZENMAP_README"
|
Delete "$INSTDIR\ZENMAP_README"
|
||||||
Delete "$INSTDIR\COPYING_HIGWIDGETS"
|
Delete "$INSTDIR\COPYING_HIGWIDGETS"
|
||||||
|
|||||||
Reference in New Issue
Block a user