GNOME Bugzilla – Bug 60037
gnome-libs 1.4.1.1 fails to compile on Mandrake 8.0
Last modified: 2004-12-22 21:47:04 UTC
Here's what I get: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support -I../intl -I../intl -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -DGNOMELIBDIR=\"/usr/local/lib\" -DGNOMEDATADIR=\"/usr/local/share\" -DGNOMEBINDIR=\"/usr/local/bin\" -DGNOMELOCALSTATEDIR=\"/usr/local/var\" -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -DGNOMESYSCONFDIR=\"/usr/local/etc\" -DVERSION=\"1.4.1.1\" -DG_LOG_DOMAIN=\"Gnome\" -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -c gnome-metadata.c -fPIC -DPIC -o .libs/gnome-metadata.lo gnome-metadata.c: In function `init': gnome-metadata.c:176: warning: implicit declaration of function `dbopen' gnome-metadata.c:177: warning: assignment makes pointer from integer without a cast gnome-metadata.c: In function `metadata_set': gnome-metadata.c:302: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:302: too few arguments to function gnome-metadata.c:329: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:329: too few arguments to function gnome-metadata.c:350: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:350: too few arguments to function gnome-metadata.c:357: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:357: too few arguments to function gnome-metadata.c: In function `metadata_remove': gnome-metadata.c:389: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:389: too few arguments to function gnome-metadata.c:416: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:416: too few arguments to function gnome-metadata.c:433: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:433: too few arguments to function gnome-metadata.c:450: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:450: too few arguments to function gnome-metadata.c: In function `metadata_get_list': gnome-metadata.c:482: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:482: too few arguments to function gnome-metadata.c: In function `metadata_get_no_dup': gnome-metadata.c:515: warning: passing arg 2 of pointer to function from incompatible pointer type gnome-metadata.c:515: too few arguments to function make[2]: *** [gnome-metadata.lo] Error 1 make[2]: Leaving directory `/home/dhensley/work/gnome/core/gnome-libs-1.4.1.1/libgnome' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dhensley/work/gnome/core/gnome-libs-1.4.1.1' make: *** [all-recursive-am] Error 2
(a) Do you have any of these on your system? db2, db2-devel, db3 or db3-devel? (b) I am attaching a potential patch in bug 50935. Please try it. (c) If you don't like patching, ./configure --help should refer to ./configure --prefer-db1. Use that as the configure argument and it should work.
*** This bug has been marked as a duplicate of 50935 ***
I do have db1, db2, and db3 on my system (Mandrake 8.0). Here's what I've got: db2-devel-2.4.14-2mdk db3-3.1.17-1mdk db2-2.4.14-2mdk db1-1.85-4mdk db1-tools-1.85-4mdk db3-devel-3.1.17-1mdk db1-devel-1.85-4mdk I applied the patch you provided for bug 50935, and that fixed the compile problem. So it worked for me. Thanks!