[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Katoob



Hi all,

Finally I checked out the arabeyes CVS today to have a look.  I 
compiled a full gtk-2.0.3 without any serious problem.  Then I 
started to compile katoob, which I found I'm going to have lots 
of troubles:

	* The first is that the new gtk and friends (pango, glib, 
...), use pkg-config, and there is no gtk-config-2.0 anymore, so 
the configure for katoob nagged about an old verison of gtk-2.0, 
what I did to fix it was copying an old gtk-config-2.0 and hack 
it to work for the new one.

	* The next problem was with 2 unresolved autoconf symbols 
BUILD_INCLUDED_LIBINTL and INTL_LIBTOOL_SUFFIX_PREFIX which were 
used in intl/makefile.in, what I did was adding following files 
in configure.in and then running autoconf:

	BUILD_INCLUDED_LIBINTL=yes
	AC_SUBST(BUILD_INCLUDED_LIBINTL)
	INTL_LIBTOOL_SUFFIX_PREFIX=l
	AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)

	* Another problem arised with libtool, it seems that the 
package needs libtool (the error was so), but not libtoolized, 
what I did was:

	- run libtoolize.
	- copy libtool and ltconfig from some other project.
	- add one line containing AM_PROG_LIBTOOL in configure.in 
and rerun autoconf.

After all these the compilation went somehow smooth, but when I 
tried to run it, I got following errors, which this time I really 
don't know how to cope with:


(katoob:20714): Gtk-WARNING **: Default font does not have a 
positive size

(katoob:20714): GLib-GObject-WARNING **: cannot derive 
`PangoContext' from non-fundamental parent type `guchar'

(katoob:20714): GLib-GObject-WARNING **: cannot create new 
instance of invalid (non-instantiatable) type `<invalid>'

(katoob:20714): GLib-GObject-WARNING **: invalid cast from (NULL) 
pointer to `<invalid>'

(katoob:20714): GLib-GObject-WARNING **: invalid cast from (NULL) 
pointer to `guchar'

(katoob:20714): GLib-GObject-CRITICAL **: file gobject.c: line 
1349 (g_object_set_qdata_full): assertion `G_IS_OBJECT (object)' 
failed

(katoob:20714): GLib-GObject-WARNING **: cannot derive 
`PangoFontMap' from non-fundamental parent type `guchar'

(katoob:20714): GLib-GObject-CRITICAL **: file gtype.c: line 1808 
(g_type_register_static): assertion `parent_type > 0' failed

(katoob:20714): GLib-GObject-WARNING **: cannot create new 
instance of invalid (non-instantiatable) type `<invalid>'
Segmentation fault (core dumped)


And the backtrace from gdb:

#0  0x4041eac5 in pango_x_font_map_for_display () from 
/usr/lib/libpangox-0.13.so
#1  0x4041ba05 in pango_x_get_context () from 
/usr/lib/libpangox-0.13.so
#2  0x40301c0c in gdk_pango_context_get () from 
/home/behdad/lib/libgdk-x11-2.0.so.0
#3  0x401f9c0d in gtk_widget_create_pango_context ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#4  0x401f9b30 in gtk_widget_get_pango_context ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#5  0x401f9d4b in gtk_widget_create_pango_layout ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#6  0x400e3670 in gtk_label_get () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#7  0x400e3aae in gtk_label_get () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#8  0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#9  0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#10 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#11 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#12 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#13 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#14 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#15 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#17 0x400c9ceb in gtk_hbox_new () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#18 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#19 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#20 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#21 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#22 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#23 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#24 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#25 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#26 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#27 0x4005aab7 in gtk_alignment_set () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#28 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#29 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#30 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#31 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#32 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#33 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#34 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#35 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#36 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#37 0x400636b9 in gtk_button_get_relief () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#38 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#39 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#40 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#41 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#42 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#43 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#44 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#45 0x40146c4b in gtk_size_group_remove_widget ()
---Type <return> to continue, or q <return> to quit---
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#46 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#47 0x400603c4 in gtk_button_box_set_child_secondary ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#48 0x400c96fb in gtk_hbutton_box_get_layout_default ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#49 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#50 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#51 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#52 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#53 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#54 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#55 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#56 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#57 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#58 0x401ec70b in gtk_vbox_new () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#59 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
---Type <return> to continue, or q <return> to quit---
   from /home/behdad/lib/libgobject-2.0.so.0
#60 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#61 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#62 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#63 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#64 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#65 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#66 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#67 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#68 0x40204c33 in gtk_window_reshow_with_initial_size ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#69 0x4046a760 in g_cclosure_marshal_VOID__BOXED ()
   from /home/behdad/lib/libgobject-2.0.so.0
#70 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#71 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#72 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#73 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#74 0x401452aa in gtk_signal_emit_by_name ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#75 0x4014684b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#76 0x40146c4b in gtk_size_group_remove_widget ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#77 0x401f4b5e in gtk_widget_size_request ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#78 0x40205b2b in gtk_window_reshow_with_initial_size ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#79 0x402042a2 in gtk_window_reshow_with_initial_size ()
   from /home/behdad/lib/libgtk-x11-2.0.so.0
#80 0x40469b8b in g_cclosure_marshal_VOID__VOID ()
   from /home/behdad/lib/libgobject-2.0.so.0
#81 0x4045452c in g_type_class_meta_marshal ()
   from /home/behdad/lib/libgobject-2.0.so.0
#82 0x40454268 in g_closure_invoke () from 
/home/behdad/lib/libgobject-2.0.so.0
#83 0x40468ee0 in signal_emit_unlocked_R ()
   from /home/behdad/lib/libgobject-2.0.so.0
#84 0x40468571 in g_signal_emit_valist () from 
/home/behdad/lib/libgobject-2.0.so.0
#85 0x4014513a in gtk_signal_emit () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#86 0x401f38d9 in gtk_widget_show () from 
/home/behdad/lib/libgtk-x11-2.0.so.0
#87 0x0804bd5b in main ()
#88 0x4054e647 in __libc_start_main (main=0x804bc60 <main>, 
argc=1, 
    ubp_av=0xbfffe3c4, init=0x804b134 <_init>, fini=0x8051420 
<_fini>, 
---Type <return> to continue, or q <return> to quit---
    rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffe3bc)
    at ../sysdeps/generic/libc-start.c:129



And I really don't know what to do :(.

Also I may be of some use if have commit access to arabeyes CVS.

Yours,
-- 
Behdad Esfahbod				20 Khordad 1381, 2002 Jun 10 
http://behdad.org/			[Finger for Geek Code]

It is only with the heart that one can see rightly.
What is essential is invisible to the eye.
	-- Antoine de Saint-Exupery