From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Pirotte To: Ariel Rios Cc: guile-gtk , "guile-user@gnu.org" Subject: Re: gtk: toolbar space style Date: Fri, 06 Apr 2001 10:03:00 -0000 Message-id: <3ACE054C.F35ECB47@altosw.be> References: <3ACAED51.1231F0DB@altosw.be> <986400337.1886.1.camel@soleil> <3ACB86F3.290F83E4@altosw.be> <986428047.18191.5.camel@soleil> <3ACC4BFB.CBEA2943@altosw.be> <986508739.1535.0.camel@soleil> X-SW-Source: 2001-q2/msg00005.html Sorry, I forgot to use the 'reply-all' so it was only sent to Ariel ... Ariel Rios wrote: > > On 05 Apr 2001 12:42:03 +0200, David Pirotte wrote: > > > Ariel, > > > > I did a checkout of both gnome-guile and guile-gtk, but I get the same > > little problem when trying to compile: > Ah! You need the gnome-common package from CVS or from ftp.gnome.org Ariel, I tried anything I could by myself, but no success: - gnome-common does not contain the requested gnome-autogen.sh but why should I do this anyway? - I have the latest stable gnome lib already installed - I do not want (at this stage) gnome-guile, but simply guile-gtk [- even so, why gnome-guile module would not be 'complete' ?] so why can't we expect to have the autogen.sh of the guile-gtk 'complete' and 'independant' from gnome? In the mean time, trying to compile with the additional stuff: (copying your latest gtk-1.2.defs in guile-gtk-0.19 dir ...) (and I added in guile-gtk.c) static GtkType sgtk_try_missing_type (char *name) { static sgtk_type_info missing[] = { ... { "GtkToolbarStyle", GTK_TYPE_ENUM }, { "GtkToolBarSpaceStyle", GTK_TYPE_ENUM }, ... {NULL, GTK_TYPE_NONE} }; but even doing a make distclean (to be sure that gtk-glue.c is re-created) ./configure make it does not compile properly: so please help me ... david /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -g -O2 -c gtk-glue.c rm -f .libs/gtk-glue.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -g -O2 -c -fPIC -DPIC gtk-glue.c -o .libs/gtk-glue.lo gtk-glue.c: In function `sgtk_gtk_style_light_gc': gtk-glue.c:1080: warning: assignment makes pointer from integer without a cast gtk-glue.c: In function `sgtk_gtk_style_dark_gc': gtk-glue.c:1100: warning: assignment makes pointer from integer without a cast gtk-glue.c: In function `sgtk_gtk_style_mid_gc': gtk-glue.c:1120: warning: assignment makes pointer from integer without a cast gtk-glue.c: In function `sgtk_gtk_style_text_gc': gtk-glue.c:1140: warning: assignment makes pointer from integer without a cast gtk-glue.c: In function `sgtk_gtk_style_base_gc': gtk-glue.c:1160: warning: assignment makes pointer from integer without a cast gtk-glue.c: In function `sgtk_gtk_widget_requisition_width': gtk-glue.c:1604: `width' undeclared (first use in this function) gtk-glue.c:1604: (Each undeclared identifier is reported only once gtk-glue.c:1604: for each function it appears in.) gtk-glue.c: In function `sgtk_gtk_widget_requisition_height': gtk-glue.c:1621: `height' undeclared (first use in this function) gtk-glue.c: In function `sgtk_gtk_widget_allocation_x': gtk-glue.c:1638: `x' undeclared (first use in this function) gtk-glue.c: In function `sgtk_gtk_widget_allocation_y': gtk-glue.c:1655: `y' undeclared (first use in this function) gtk-glue.c: In function `sgtk_gtk_widget_allocation_width': gtk-glue.c:1672: `width' undeclared (first use in this function) gtk-glue.c: In function `sgtk_gtk_widget_allocation_height': gtk-glue.c:1689: `height' undeclared (first use in this function) gtk-glue.c: In function `sgtk_gtk_toolbar_set_space_style': gtk-glue.c:6280: `GtkToolBarSpaceStyle' undeclared (first use in this function) gtk-glue.c:6280: parse error before `c_style' gtk-glue.c:6282: `c_style' undeclared (first use in this function) make: *** [gtk-glue.lo] Error 1 david@faust:/usr/local/src/guile/guile-gtk-0.19 16 $