On 9-Nov-08, at 5:40 PM, Bryan Blackburn wrote:

On Sun, Nov 09, 2008 at 10:23:01AM -0500, Charles Darwin said:
[...]

$ 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>

"{prefix}/opt/bin" looks really strange. Did you install MacPorts in just
/opt?  And where is that {prefix} coming from?

That's a mistake on my part in terms adding to the confusion. I edited that part of the output manually. Here is the automatically generated one:
$ zenmap
  File "/Volumes/neo/opt/bin/zenmap", line 102, in <module>
    import zenmapGUI.App
File "/Volumes/neo/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 "/Volumes/neo/opt/bin/zenmap", line 47, in excepthook
    import gtk
ImportError: No module named gtk

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



Does

$ /opt/bin/python2.5 -c 'import gtk'

work or fail?

Bryan


$ /Volumes/neo/opt/bin/python2.5 -c 'import gtk' # this fires up Xquatz

Charles

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

Reply via email to