GNOME Bugzilla – Bug 60745
Problem compiling libglade 0.17
Last modified: 2004-11-09 07:18:06 UTC
I try to install libglade-0.17 on my linux system with gcc-3.0.1 I did this configure "./configure --enable-bonobo --enable-gnomedb --with-catgets" and got no problem with it. But whe running make i got : root@pierre:/tmp/libglade-0.17# gmake gmake all-recursive gmake[1]: Entering directory `/tmp/libglade-0.17' [...] Making all in glade gmake[2]: Entering directory `/tmp/libglade-0.17/glade' source='glade-gnomedb.c' object='glade-gnomedb.lo' libtool=yes \ depfile='.deps/glade-gnomedb.Plo' tmpdepfile='.deps/glade-gnomedb.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include/gnome-xml -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gda -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gconf/1 -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -DGNOMELOCALEDIR="/usr/local/share/locale" -I/usr/local/include/gnome-db -g -O2 -Wall -Wunused -c -o glade-gnomedb.lo `test -f glade-gnomedb.c || echo './'`glade-gnomedb.c rm -f .libs/glade-gnomedb.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include/gnome-xml -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gda -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gconf/1 -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2 -DGNOMELOCALEDIR=/usr/local/share/locale -I/usr/local/include/gnome-db -g -O2 -Wall -Wunused -c glade-gnomedb.c -MT glade-gnomedb.lo -MD -MP -MF .deps/glade-gnomedb.TPlo -fPIC -DPIC -o .libs/glade-gnomedb.lo glade-gnomedb.c: In function `dblogin_new': glade-gnomedb.c:47: too many arguments to function `gnome_db_login_new' glade-gnomedb.c: In function `dblogindlg_new': glade-gnomedb.c:58: too many arguments to function `gnome_db_login_new' glade-gnomedb.c: In function `dberror_new': glade-gnomedb.c:153: too many arguments to function `gnome_db_error_new' glade-gnomedb.c: In function `dberrordlg_new': glade-gnomedb.c:163: warning: implicit declaration of function `gnome_db_errordlg_new' glade-gnomedb.c:163: warning: assignment makes pointer from integer without a cast glade-gnomedb.c: In function `glade_gnome_db_init': glade-gnomedb.c:208: warning: implicit declaration of function `glade_gnome_init' gmake[2]: *** [glade-gnomedb.lo] Error 1 gmake[2]: Leaving directory `/tmp/libglade-0.17/glade' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/libglade-0.17' gmake: *** [all] Error 2 I just installed gnomedb 0.2.90 before without problem. It would be great if you could help me ! Pierre.
I don't actually use gnome-db much (the gnome-db support was a contribution from David Marín Carreño). I will look at what is needed to get it to compile for the next release.
API changes between GNOME-DB versions. I'll provide a patch
The problem is always there with gnome-db 0.2.93.
I don't remember which version contains the fix, but in any case, there have been many releases since 0.2.93. The newest one is 0.2.96, so please try that one, and see if it is fixed or not. If it is, please close the bug. You can get it from ftp://ftp.gnome-db.org/pub/gnome-db/sources/0.2.96
Yes, but I can't install a newer version because they don't compile : http://bugzilla.gnome.org/show_bug.cgi?id=69058
I mean a new version of gnome-db, which you should be able to compile, and, if not, please add a bug under the gnome-db component. As I say, getting a newest version of gnome-db should allow you to compile libglade without problems.
heh, sorry, you'll need also a newest version of libglade, which is where the fix is. I don't know if it's been released (> 0.17). If not, get libglade from GNOME CVS, where the fix is for sure.
Ok, i thought gnome-db needs exactly the same version of libgda to compile. But gnome-db don't compile also: http://bugzilla.gnome.org/show_bug.cgi?id=78803 For libglade, the latest version is 0.17, but it becomes a bit hard for me to get a version from cvs... Maybe you can ask the libglade maintainer to release a new version ?
Not fixed...
There most likely won't be another GTK 1.2 release of libglade, and this problem doesn't occur in the 2.x series, so closing.