x11/keybinder + python

Ruslan Mahmatkhanov cvs-src at yandex.ru
Wed Oct 5 20:50:53 UTC 2011


Luiz Gustavo S. Costa wrote on 05.10.2011 23:42:

> [lgcosta at desktop] /usr/local/share/examples/keybinder>  python example.py
> Traceback (most recent call last):
>    File "example.py", line 9, in<module>
>      import keybinder
>    File "/usr/local/lib/python2.7/site-packages/keybinder/__init__.py",
> line 26, in<module>
>      from _keybinder import *
> ImportError: No module named _keybinder
> [lgcosta at desktop] /usr/local/share/examples/keybinder>

This is actually libtool issue on 10-CURRENT.
I just tried this and it working for me.

1. Deinstall keybinder
2. setenv UNAME_r 9.9-CURRENT
3. cd /usr/ports/x11/keybinder && make install clean

After that example.py is working:

[rm at smeshariki3 keybinder]> python example.py
Press <Ctrl>A to handle keybinding and quit
Handling Keystring <Ctrl>A (user data)

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list