Nmap Development mailing list archives
RE: Compiling Zenmap on Windows
From: "Rob Nicholls" <robert () robnicholls co uk>
Date: Mon, 4 Apr 2011 17:30:18 +0100
I've compared it to my win_install.log file and for some reason yours gets as far as finding the DLLs and then doesn't say it's trying to create the binaries: Yours says: *** finding dlls needed *** Created the missing file dist\py2exe\etc\gtk-2.0\gtkrc Mine says: *** finding dlls needed *** *** create binaries *** *** byte compile python files *** writing byte-compilation script 'c:\users\robert\appdata\local\temp\tmpbodso2.py' C:\Python27\python.exe -OO c:\users\robert\appdata\local\temp\tmpbodso2.py byte-compiling C:\Python27\lib\ConfigParser.py to ConfigParser.pyo [.] removing c:\users\robert\appdata\local\temp\tmpbodso2.py *** copy extensions *** copying C:\Python27\DLLs\_hashlib.pyd -> C:\nmap-svn\zenmap\dist\py2exe [.] *** copy dlls *** copying C:\Windows\system32\python27.dll -> C:\nmap-svn\zenmap\dist setting sys.winver for 'C:\nmap-svn\zenmap\dist\python27.dll' to 'zenmap' copying C:\Python27\w9xpopen.exe -> C:\nmap-svn\zenmap\dist copying C:\Python27\DLLs\sqlite3.dll -> C:\nmap-svn\zenmap\dist\py2exe *** copy data files *** creating C:\nmap-svn\zenmap\dist\share creating C:\nmap-svn\zenmap\dist\share\zenmap creating C:\nmap-svn\zenmap\dist\share\zenmap\pixmaps copying share\zenmap\pixmaps\throbber.gif -> C:\nmap-svn\zenmap\dist\share\zenmap\pixmaps [.] The following modules appear to be missing ['_scproxy', 'gdk', 'hildon', 'pysqlite2', 'unix', 'glib.GError', 'glib.IOChannel', 'glib.IO_ERR', 'glib.IO_FLAG_APPEND', 'glib.IO_FLAG_GET_MASK', 'glib.IO_FLAG_IS_READABLE', 'glib.IO_FLAG_IS_SEEKABLE', 'glib.IO_FLAG_IS_WRITEABLE', 'glib.IO_FLAG_MASK', 'glib.IO_FLAG_NONBLOCK', 'glib.IO_FLAG_SET_MASK', 'glib.IO_HUP', 'glib.IO_IN', 'glib.IO_NVAL', 'glib.IO_OUT', 'glib.IO_PRI', 'glib.IO_STATUS_AGAIN', 'glib.IO_STATUS_EOF', 'glib.IO_STATUS_ERROR', 'glib.IO_STATUS_NORMAL', 'glib.Idle', 'glib.MainContext', 'glib.MainLoop', 'glib.OPTION_ERROR', 'glib.OPTION_ERROR_BAD_VALUE', 'glib.OPTION_ERROR_FAILED', 'glib.OPTION_ERROR_UNKNOWN_OPTION', 'glib.OPTION_FLAG_FILENAME', 'glib.OPTION_FLAG_HIDDEN', 'glib.OPTION_FLAG_IN_MAIN', 'glib.OPTION_FLAG_NOALIAS', 'glib.OPTION_FLAG_NO_ARG', 'glib.OPTION_FLAG_OPTIONAL_ARG', 'glib.OPTION_FLAG_REVERSE', 'glib.OPTION_REMAINING', 'glib.OptionContext', 'glib.OptionGroup', 'glib.PRIORITY_DEFAULT', 'glib.PRIORITY_DEFAULT_IDLE', 'glib.PRIORITY_HIGH', 'glib.PRIORITY_HIGH_IDLE', 'glib.PRIORITY_LOW', 'glib.Pid', 'glib.PollFD', 'glib.SPAWN_CHILD_INHERITS_STDIN', 'glib.SPAWN_DO_NOT_REAP_CHILD', 'glib.SPAWN_FILE_AND_ARGV_ZERO', 'glib.SPAWN_LEAVE_DESCRIPTORS_OPEN', 'glib.SPAWN_SEARCH_PATH', 'glib.SPAWN_STDERR_TO_DEV_NULL', 'glib.SPAWN_STDOUT_TO_DEV_NULL', 'glib.Source', 'glib.Timeout', 'glib.child_watch_add', 'glib.filename_display_basename', 'glib.filename_display_name', 'glib.filename_from_utf8', 'glib.get_application_name', 'glib.get_current_time', 'glib.get_prgname', 'glib.glib_version', 'glib.idle_add', 'glib.io_add_watch', 'glib.main_context_default', 'glib.main_depth', 'glib.markup_escape_text', 'glib.set_application_name', 'glib.set_prgname', 'glib.source_remove', 'glib.spawn_async', 'glib.timeout_add', 'glib.timeout_add_seconds', 'glib.uri_list_extract_uris'] *** binary dependencies *** Your executable(s) also depend on these dlls which are not included, you may or may not need to distribute them. Make sure you have the license if you distribute any of them, and make sure you don't distribute files belonging to the operating system. USER32.dll - C:\Windows\system32\USER32.dll IMM32.DLL - C:\Windows\system32\IMM32.DLL SHELL32.DLL - C:\Windows\system32\SHELL32.DLL OLE32.dll - C:\Windows\system32\OLE32.dll SHLWAPI.DLL - C:\Windows\system32\SHLWAPI.DLL WSOCK32.dll - C:\Windows\system32\WSOCK32.dll COMCTL32.DLL - C:\Windows\system32\COMCTL32.DLL ADVAPI32.DLL - C:\Windows\system32\ADVAPI32.DLL msvcrt.dll - C:\Windows\system32\msvcrt.dll WS2_32.dll - C:\Windows\system32\WS2_32.dll WINSPOOL.DRV - C:\Windows\system32\WINSPOOL.DRV GDI32.dll - C:\Windows\system32\GDI32.dll gdiplus.dll - gdiplus.dll KERNEL32.dll - C:\Windows\system32\KERNEL32.dll COMDLG32.DLL - C:\Windows\system32\COMDLG32.DLL Created the missing file dist\py2exe\etc\gtk-2.0\gtkrc As you can see, yours doesn't seem to be creating the binaries. I'm not entirely sure why, as the log doesn't give any details, it seems to just stop suddenly and move onto the next step. My best guess is there's something wrong with your build environment. Did you go with the 32-bit versions of the dependencies? Did you go for the Python 2.7 versions? Did you install the dependencies using "Run as Administrator" (if applicable)? You could try running the Zenmap py2exe build command directly from your zenmap folder: zenmap>C:\Python27\python.exe setup.py py2exe We pipe the output into the win_install.log file, but I'm not entirely sure if errors get piped there too, so you might see some additional output (that isn't logged to the file) that'll give some clues. Rob From: Knightmare [mailto:knightmare2600 () googlemail com] Sent: 04 April 2011 13:46 To: Rob Nicholls Subject: Re: Compiling Zenmap on Windows Hi Rob, Zenmap.exe was not created. I've attached the winbuild.log Thanks, Knightmare _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Compiling Zenmap on Windows Knightmare (Apr 01)
- Re: Compiling Zenmap on Windows Rob Nicholls (Apr 01)
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- RE: Compiling Zenmap on Windows Rob Nicholls (Apr 04)
- Message not available
- RE: Compiling Zenmap on Windows Rob Nicholls (Apr 05)
- Message not available
- Re: Compiling Zenmap on Windows Rob Nicholls (Apr 01)