gtkmozembed się kładzie

Michał Sałaban michal w salaban.info
Pią, 16 Paź 2009, 12:41:44 CEST


Hej,

Próba użycia gtkmozembed:

In [1]: import gtk,gtkmozembed
In [2]: w = gtk.Window()
In [3]: m = gtkmozembed.MozEmbed()
In [4]: w.add(m)
In [5]: m.show()
In [6]: w.show()
~:$

Tak jak widać, cicha śmierć interpretera pythona i wypad do shella.

~:$ ldd /usr/lib64/python2.6/site-packages/gtk-2.0/gtkmozembed.so |
grep libxul.so
	libxul.so => /usr/lib64/xulrunner-sdk/lib/libxul.so (0x00007f8f4df32000)

Jest to jeden z dwóch plików libxul.so w systemie. I to akurat, nie
wiem czemu, ten pochodzący z pakietu -devel:

~:$ rpm -ql xulrunner-libs | grep libxul.so
/usr/lib64/xulrunner/libxul.so
~:$ rpm -ql xulrunner-devel | grep libxul.so
/usr/lib64/xulrunner-sdk/sdk/lib/libxul.so

Zainstalowane:
xulrunner-libs-1.9.1.3-5.x86_64
xulrunner-devel-1.9.1.3-5.x86_64
python-gnome-extras-mozilla-2.25.3-6.x86_64



Chciałem przebudować python-gnome-extras i zbadać sytuację. Niestety:

libtool: compile:  x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I..
-I/usr/include/python2.6 -I/usr/include/libgdl-1.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pygtk-2.0 -D_FORTIFY_SOURCE=2 -O2 -fno-strict-aliasing
-fwrapv -march=x86-64 -gdwarf-2 -g2 -Wall -MT gdl.lo -MD -MP -MF
.deps/gdl.Tpo -c gdl.c  -fPIC -DPIC -o .libs/gdl.o
mv -f .deps/gdlmodule.Tpo .deps/gdlmodule.Plo
gdl.c: In function '_wrap_gdl_combo_button_set_icon':
gdl.c:89: warning: implicit declaration of function 'gdl_combo_button_set_icon'
gdl.c:89: warning: implicit declaration of function 'GDL_COMBO_BUTTON'
gdl.c: In function '_wrap_gdl_combo_button_set_label':
gdl.c:104: warning: implicit declaration of function
'gdl_combo_button_set_label'
gdl.c: In function '_wrap_gdl_combo_button_set_menu':
gdl.c:119: warning: implicit declaration of function 'gdl_combo_button_set_menu'
gdl.c: In function '_wrap_gdl_dock_tablabel_activate':
gdl.c:1725: warning: implicit declaration of function
'gdl_dock_tablabel_activate'
gdl.c:1725: warning: implicit declaration of function 'GDL_DOCK_TABLABEL'
gdl.c: In function '_wrap_gdl_dock_tablabel_deactivate':
gdl.c:1735: warning: implicit declaration of function
'gdl_dock_tablabel_deactivate'
gdl.c: In function 'pygdl_register_classes':
gdl.c:1979: error: 'GDL_TYPE_COMBO_BUTTON' undeclared (first use in
this function)
gdl.c:1979: error: (Each undeclared identifier is reported only once
gdl.c:1979: error: for each function it appears in.)
gdl.c:1988: error: 'GDL_TYPE_DOCK_NOTEBOOK' undeclared (first use in
this function)
gdl.c:1992: error: 'GDL_TYPE_DOCK_PANED' undeclared (first use in this function)
gdl.c:1995: error: 'GDL_TYPE_DOCK_TABLABEL' undeclared (first use in
this function)
make[2]: *** [gdl.lo] Error 1
make[2]: Leaving directory
`/home/users/emes/rpm/BUILD/gnome-python-extras-2.25.3/gdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/users/emes/rpm/BUILD/gnome-python-extras-2.25.3'
make: *** [all] Error 2
error: Bad exit status from /home/users/emes/tmp/rpm-tmp.86180 (%build)

Zainstalowane:
gdl-devel-2.28.0-1.x86_64

-- 
Michał Sałaban <michal(at)salaban.info> | http://michal.salaban.info


Więcej informacji o liście dyskusyjnej pld-devel-pl