Nmap Development mailing list archives

Re: Zenmap load error on OS X


From: David Fifield <david () bamsoftware com>
Date: Thu, 13 Dec 2007 23:14:07 -0700

On Thu, Dec 13, 2007 at 05:54:52PM -0500, Neil wrote:
After doing a standard ./configure; make; sudo make install , Zenmap gives
an error when trying to run:
Neil@blackfire:/usr/local/bin $ zenmap
Traceback (most recent call last):
  File "/usr/local/bin/zenmap", line 31, in <module>
    from zenmapCore.Name import APP_NAME, APP_DISPLAY_NAME
ImportError: No module named zenmapCore.Name

Somehow Python can't find the zenmapCore package that was presumably
installed. Likely they got installed someplace weird on Mac OS X, but
the Zenmap installer is supposed to take that into account. Open
/usr/local/bin/zenmap in a text editor. Somewhere in the first 30 lines
there should be a line like

sys.path.append('/usr/lib/python2.5/site-packages')

but with a different directory inside it. What does yours say? Does it
match where the packages were installed (find /usr -name zenmapCore)?

You will probably have more problems than this trying to run Zenmap on
the Mac. GTK+ and PyGTK are required, and from what I have heard, are
not easy to set up on a Mac. Some folks are working on sorting this out.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: