Nmap Development mailing list archives
Re: [PATCH] RE: [PATCH] RE: Zenmap Build Guide
From: 'David Fifield' <david () bamsoftware com>
Date: Wed, 17 Nov 2010 14:04:15 -0800
On Wed, Nov 10, 2010 at 06:04:54PM -0000, Rob Nicholls wrote:
Sorry for the slow and rather lengthy reply, I hit an annoying issue that I think explains the comment in the Zenmap Build Guide about GTK+ 2.16 working on Windows 7 but not on XP. I don't think it's a GTK problem, I think it's a "built on Windows 7" problem, which I suspect is more of a py2exe problem! After playing with depends.exe and doing some investigative work I spotted that py2exe was including some of my Windows 7 DLLs, which XP didn't seem to like (and the error message logged to zenmap.exe.log wasn't very helpful). After I told py2exe to exclude four DLLs by editing setup.py (see attached patch) it now seems to run okay on XP and Vista (where I initially saw the same problem). When I tried it on a clean Vista (SP1) VM it initially displayed this Windows error message: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. Rather oddly, it seemed to work fine on a clean Windows 7 VM, so perhaps MS already include native support for the 2008 runtimes? I couldn't find anything online to prove that though. I then installed the 2008 SP1 (with ATL) redistributable hoping that Zenmap might be happy, and it was! I suspect either Python are wrong when they say the 2008 RTM version should be used, or (much more likely) the 2008 SP1 redistributable also installs 2008 RTM files at the same time (why else is Microsoft's installer more than twice as large as the older version?). I presume that means that Nmap's 2008 SP1 with ATL redistributable was sorting out our Zenmap issues without us realising (if we'd supplied a manifest and specific DLLs we probably would have seen it sooner). I'll do some more digging, but we probably need to re-include the 2008 redistributable (we could probably drop down to the 2008 with ATL fix redistributable, rather than 2008 SP1 with ATL, and halve the size of the vcredist.exe we need to supply) or go the less elegant route of including a manifest and the required DLLs with zenmap.exe.
I saw that you re-added the 2008 SP1 package. Thanks for that. That's probably the way to go for now. 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:
- [PATCH] RE: [PATCH] RE: Zenmap Build Guide Rob Nicholls (Nov 10)
- Re: [PATCH] RE: [PATCH] RE: Zenmap Build Guide 'David Fifield' (Nov 17)
- RE: [PATCH] RE: [PATCH] RE: Zenmap Build Guide Rob Nicholls (Nov 17)
- Re: [PATCH] RE: [PATCH] RE: Zenmap Build Guide 'David Fifield' (Nov 17)