[gnome-db] libgda4 build error if sqlite3 installed

Vivien Malerba vmalerba at gmail.com
Sat Jan 17 01:33:45 PST 2009


I'll check this ASAP, thanks for the bug report!

Vivien

2009/1/17 John Hein <jhein at timing.com>

> 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=\"gnome-db-list at gnome.org\"
> -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<http://ftp.gnome.org/pub/GNOME/sources/libgda/3.99%28libgda-3.99.8>)
> still has the same error.
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list at gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
>


More information about the freebsd-gnome mailing list