On 8-Nov-08, at 10:45 PM, Bryan Blackburn wrote:

On Sat, Nov 08, 2008 at 08:37:45PM -0500, Charles Darwin said:

On 8-Nov-08, at 8:33 PM, Daniel J. Luke wrote:

On Nov 8, 2008, at 7:57 PM, Charles Darwin wrote:
On 8-Nov-08, at 3:50 PM, Ryan Schmidt wrote:
On Nov 8, 2008, at 09:11, Charles Darwin wrote:

Does anyone know where the zenmap.conf is? I need to enable
zenmap. Shouldn't there be a variant for it?

What port are we talking about?

nmap


The nmap port does not install the zenmap gui. (Patches welcome for
enhancements).


I read about it here:

<http://nmap.org/book/inst-macosx.html>

"To enable Zenmap to find it, set the nmap_command_path variable in
zenmap.conf to /sw/bin/nmap or/opt/local/bin/nmap as described in the
section called “The nmap Executable”."

That only applies if you install zenmap via some other method, since the
nmap port doesn't currently install it.  However, see

<http://trac.macports.org/ticket/17148>

Once that's done you shouldn't have to mess with zenmap.conf as long as
/opt/local/bin is in your PATH.

Bryan


$ port installed nmap
The following ports are currently installed:
 nmap @4.76_0+zenmap (active)

That was quick. Thanks,

Charles

Wait!
$ sudo zenmap
  File "{prefix}/opt/bin//zenmap", line 102, in <module>
    import zenmapGUI.App
File "{prefix}/opt/lib/python2.5/site-packages/zenmapGUI/App.py", line 34, in <module>
    import gtk
Error in sys.excepthook:
Traceback (most recent call last):
  File "{prefix}/opt/bin//zenmap", line 47, in excepthook
    import gtk
ImportError: No module named gtk

Original exception was:
Traceback (most recent call last):
  File "{prefix}/opt/bin//zenmap", line 102, in <module>
    import zenmapGUI.App
File "{prefix}/opt/lib/python2.5/site-packages/zenmapGUI/App.py", line 34, in <module>
    import gtk
ImportError: No module named gtk


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to