Nmap Development mailing list archives
Re: Zenmap Build Guide
From: David Fifield <david () bamsoftware com>
Date: Tue, 9 Nov 2010 19:09:13 -0800
On Fri, Nov 05, 2010 at 06:24:13PM -0700, David Fifield wrote:
On Sat, Oct 30, 2010 at 11:11:15AM +0100, Rob Nicholls wrote:Is there any chance someone can look into updating the build guide? I'd offer to do it, but I've spent the last few days hitting my head against a brick wall trying to find a combination of third party binaries that work properly together (I've even tried Python 2.5 and 2.7 - along with modules built for those versions, although there isn't really any support for 2.7 so I had to give up trying to go forwards). I initially hit problems with "ImportError: No module named gio", which I think was introduced when David included it in setup.py in r20329. David's message says he's using GTK+ 2.18.7, but the build guide talks about 2.14 (which I had originally been using) and 2.16. After some digging around, it sounds like GTK+ 2.14 might be too old to contain gio so I tried moving to 2.16 (and some newer versions), with little success (I've tried to find newer win32 builds of the other packages too). In the few cases where I've managed to get Zenmap to compile, it either crashes immediately or (usually) starts, but will crash when trying to run a scan ("Error executing command 'module' object has no attribute 'STARF_USESHOWWINDOW'").I haven't tried starting a new build environment from scratch for a while, but there's nothing in the build instructions that looks inaccurate to me. Here are the versions I have installed: Windows XP SP3 gtk+-bundle_2.18.7-20100213_win32 Python 2.6.1 Cairo 1.8.8 pygtk-2.16.0-py2.6 pygobject-2.20.0-py2.6 pycairo-1.8.6-py2.6 py2exe-0.6.9-py2.6
I just updated the build guide and build scripts to refer to Python 2.7. The versions I tested are gtk+-bundle_2.22.0-20101016_win32.zip python-2.7.msi pygtk-2.22.0.win32-py2.7.exe pycairo-1.8.10.win32-py2.7.exe pygobject-2.26.0.win32-py2.7.exe py2exe-0.6.9.win32-py2.7.exe If you want to keep using Python 2.6, you have to change "python27" to "python26" in a few places. See r 20987 for the changes. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Zenmap Build Guide Rob Nicholls (Oct 30)
- Re: Zenmap Build Guide David Fifield (Nov 05)
- Re: Zenmap Build Guide David Fifield (Nov 09)
- Re: Zenmap Build Guide David Fifield (Nov 05)