Hey guys,

I'm trying to get pygtk to work with the GTK-DFB project and so far have 
run into some stumbling blocks.  I've gotten DirectFB to work and can get 
gtk-demo to run from the directions given at the GTK_on_DirectFB wiki 
page.

I recompiled the pygtk-2.8.6 source using the 
PREFIX/LD_LIBRARY_PATH/PKG_CONFIG_PATH env settings recommended on the 
GTK-DFB wiki page and used:

./configure --prefix=$PREFIX --without-x

to build it.  I set up PYTHONPATH to use $PREFIX/lib/python2.4 and 
$PREFIX/lib/python2.4/site-packages/gtk-2.0.  So far I seem to be able to 
almost get it to work, however when I try to import gtk in python I run 
into this error:

>>> import gtk
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 
45, in ?
     from _gtk import *
ImportError: /usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so: 
undefined symbol: gdk_keyval_convert_case

I'm I correct in assuming gdk_keyval_convert_case isn't yet implemented in 
GTK-DFB?  I haven't yet started pulling apart the source.

Is anyone else trying to use Pygtk?

Thanks,

--Patrick.




_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to