GNOME Bugzilla – Bug 167255
libgnomedb-1.3 and glade-2.9.0 are not in sync with their include files
Last modified: 2005-07-24 16:47:11 UTC
Version details: 2.9.0 Distribution/Version: slackware-8.0 While compiling glade-2.9.0 with libgnomedb-1.3.0 the compiler complains that gnome-db-browser.h no longer exists which is true since libgnomedb version 1.3.0 which was recently released. A snippet of the compile log: Making all in gnome-db make[5]: Entering directory `/usr/download/garnome-2.9.91/hacker-tools/glade/work/main.d/glade-2.9.0/glade/gnome-db' if ccache gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -I/usr/test/garnome3/include/libxml2 -I/usr/test/garnome3/include/gtk-2.0 -I/usr/test/garnome3/lib/gtk-2.0/include -I/usr/local/include -I/usr/X11R6/include -I/usr/test/garnome3/include/atk-1.0 -I/usr/test/garnome3/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/test/garnome3/include/glib-2.0 -I/usr/test/garnome3/lib/glib-2.0/include -I/usr/test/garnome3/include/libgnomeui-2.0 -I/usr/test/garnome3/include/libgnome-2.0 -I/usr/test/garnome3/include/libgnomecanvas-2.0 -I/usr/test/garnome3/include/libart-2.0 -I/usr/test/garnome3/include/gconf/2 -I/usr/test/garnome3/include/libbonoboui-2.0 -I/usr/test/garnome3/include/orbit-2.0 -I/usr/test/garnome3/include/libbonobo-2.0 -I/usr/test/garnome3/include/gnome-vfs-2.0 -I/usr/test/garnome3/lib/gnome-vfs-2.0/include -I/usr/test/garnome3/include/bonobo-activation-2.0 -I/usr/test/garnome3/include/libgda-1.3 -I/usr/test/garnome3/include -I/usr/test/garnome3/include/libgnomedb-1.3 -I/usr/test/garnome3/include/libglade-2.0 -I/usr/X11R6/include -I/usr/test/garnome3/include -g -I/usr/test/garnome3/include -L/usr/test/garnome3/lib -O2 -pipe -mtune=athlon-tbird -m3dnow -MT gnomedbbrowser.o -MD -MP -MF ".deps/gnomedbbrowser.Tpo" -c -o gnomedbbrowser.o gnomedbbrowser.c; \ then mv -f ".deps/gnomedbbrowser.Tpo" ".deps/gnomedbbrowser.Po"; else rm -f ".deps/gnomedbbrowser.Tpo"; exit 1; fi gnomedbbrowser.c:21:41: libgnomedb/gnome-db-browser.h: No such file or directory gnomedbbrowser.c: In function `gb_gnome_db_browser_new': gnomedbbrowser.c:49: warning: return makes pointer from integer without a cast make[5]: *** [gnomedbbrowser.o] Error 1 make[5]: Leaving directory `/usr/download/garnome-2.9.91/hacker-tools/glade/work/main.d/glade-2.9.0/glade/gnome-db' make[4]: *** [all-recursive] Error 1
To get it compiled you can just remove gnomedbbrowser.c from glade/gnome-db/Makefile.am, and the relevant lines in glade/glade_gnomedblib.c. Let me know if that fixes it, since I don't have the latest GnomeDB compiled here so I can't test.
The more I try to get rid of the error the more new errors pop up. This gnome-db browser software is set in many places and doesn't look to easy to get rid off.
This should be fixed in cvs now (gnome-db support is also disabled by default since 2.10.0): 2005-07-08 Rodrigo Moya <rodrigo@novell.com> * configure.in: require libgda/libgnomedb-2.0. * glade/glade_gnomedblib.c: * glade/gnome-db/Makefile.am: removed browser, connection selector, list and query builder widgets, not present anymore on GNOME-DB.