Graham Bentley a écrit :
Hi All,

I was wondering if anyone can shed any light on this, I have come accross
it before but cant remember how to resolve ?

I think there are some Perl modules to install and vaguely recall something
to do with cpan but thats about it.

I downloaded the latest obmenu [a graphical menu editor for OpenBox] and
foloowed the instructions - results below ;

$ su root
Password:
3bsd# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying obxml.py -> build/lib
running build_scripts
creating build/scripts-2.4
copying and adjusting obmenu -> build/scripts-2.4
copying and adjusting pipes/obm-xdg -> build/scripts-2.4
copying and adjusting pipes/obm-dir -> build/scripts-2.4
copying and adjusting pipes/obm-moz -> build/scripts-2.4
copying and adjusting pipes/obm-nav -> build/scripts-2.4
changing mode of build/scripts-2.4/obmenu from 644 to 755
changing mode of build/scripts-2.4/obm-xdg from 644 to 755
changing mode of build/scripts-2.4/obm-dir from 644 to 755
changing mode of build/scripts-2.4/obm-moz from 644 to 755
copying build/lib/obxml.py -> /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/obxml.py to obxml.pyc
running install_scripts
copying build/scripts-2.4/obmenu -> /usr/local/bin
copying build/scripts-2.4/obm-xdg -> /usr/local/bin
copying build/scripts-2.4/obm-dir -> /usr/local/bin
copying build/scripts-2.4/obm-moz -> /usr/local/bin
copying build/scripts-2.4/obm-nav -> /usr/local/bin
changing mode of /usr/local/bin/obmenu to 755
changing mode of /usr/local/bin/obm-xdg to 755
changing mode of /usr/local/bin/obm-dir to 755
changing mode of /usr/local/bin/obm-moz to 755
changing mode of /usr/local/bin/obm-nav to 755
running install_data
creating /usr/local/share/obmenu
copying obmenu.glade -> /usr/local/share/obmenu
copying icons/mnu16.png -> /usr/local/share/obmenu
copying icons/mnu48.png -> /usr/local/share/obmenu
3bsd# exit
exit
$ obmenu
Traceback (most recent call last):
  File "/usr/local/bin/obmenu", line 21, in ?
    import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named gtk

----

If anyone could help with this it would be greatly appreciated.

Thanks!







_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hello Graham,
---
File "/usr/local/bin/obmenu", line 21, in ?
   import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named gtk
---

You must first install py-gtk2 => http://www.freshports.org/x11-toolkits/py-gtk2/ To install the port: |make -C /usr/ports/x11-toolkits/py-gtk2/ install clean|
After run obmenu.

Bye bye.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to