If the sqlite3 (3.6.4) port is installed, the libgda4 port (libgda-3.99.5) tries to use it rather than the sqlite embedded with libgda and fails because some code in a #ifdef HAVE_SQLITE section calls a macro with the wrong number of args.
Here's an excerpt showing the problem... . . cc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"3.99.5\" "-DPACKAGE_STRING=\"GNU Data Access 3.99.5\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-4.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"libgda-4.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_FAM= -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -I. -I. -I../.. -I../../libgda -I../.. -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DLIBGDA_ABI_NAME=\"libgda-4.0\" -I/usr/local/include -DHAVE_SQLITE -I/usr/local/include -DHAVE_SQLITE -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT gda-sqlite-pr ovider.lo -MD -MP -MF .deps/gda-sqlite-provider.Tpo -c gda-sqlite-provider.c -fPIC -DPIC -o .libs/gda-sqlite-provider.o gda-sqlite-provider.c:407:62: error: macro "GDA_DATA_MODEL_ARRAY" passed 2 arguments, but takes just 1 gda-sqlite-provider.c: In function 'sqlite3CreateFunc': gda-sqlite-provider.c:407: error: 'GDA_DATA_MODEL_ARRAY' undeclared (first use in this function) gda-sqlite-provider.c:407: error: (Each undeclared identifier is reported only once gda-sqlite-provider.c:407: error: for each function it appears in.) . . Full log here: http://pastebin.ca/1310677 The lastest from http://ftp.gnome.org/pub/GNOME/sources/libgda/3.99 (libgda-3.99.8) still has the same error. _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
