Opened 18 years ago

Closed 18 years ago

#10764 closed defect (fixed)

BUG: libgda-1.3.91 doesn't build

Reported by: wolfgang.keller.nospam@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: Cc: markd@…
Port:

Description

(...) Making all in bdb if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"GNU\ Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.3.91\" -DPACKAGE_STRING=\"GNU\ Data\ Access\ 1.3.91\" -DPACKAGE_BUGREPORT=\"gnome-db-list@…\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3\" -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 -DYYTEXT_POINTER=1 -DGETTEXT_PACKAGE=\"libgda-3\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_XBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../.. -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include/db4 -no-cpp-precomp -flat_namespace -undefined suppress -MT gda-bdb-provider.lo -MD -MP -MF ".deps/gda-bdb-provider.Tpo" -c -o gda-bdb-provider.lo gda-bdb-provider.c; \ then mv -f ".deps/gda-bdb-provider.Tpo" ".deps/gda-bdb-provider.Plo"; else rm -f ".deps/gda-bdb-provider.Tpo"; exit 1; fi

gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.3.91\" "-DPACKAGE_STRING=\"GNU Data Access 1.3.91\"" -DPACKAGE_BUGREPORT=\"gnome-db-list@…\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3\" -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 -DYYTEXT_POINTER=1 -DGETTEXT_PACKAGE=\"libgda-3\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_XBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. -I../.. -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include/db4 -no-cpp-precomp -flat_namespace -undefined suppress -MT gda-bdb-provider.lo -MD -MP -MF .deps/gda-bdb-provider.Tpo -c gda-bdb-provider.c -fno-common -DPIC -o .libs/gda-bdb-provider.o

gda-bdb-provider.c: In function 'gda_bdb_provider_open_connection': gda-bdb-provider.c:168: error: 'struct db' has no member named 'open' gda-bdb-provider.c:174: error: 'DB_UNKNOWN' undeclared (first use in this function) gda-bdb-provider.c:174: error: (Each undeclared identifier is reported only once gda-bdb-provider.c:174: error: for each function it appears in.) gda-bdb-provider.c:186: error: 'DB_VERSION_STRING' undeclared (first use in this function) gda-bdb-provider.c: In function 'gda_bdb_provider_close_connection': gda-bdb-provider.c:214: error: too many arguments to function 'dbp->close' make[2]: * [gda-bdb-provider.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 18 years ago by markd@…

Summary: [Bug] libgda doesn't buildBUG: libgda-1.3.91 doesn't build

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

This builds fine for me even on Intel. Are you on 10.4 and if so using Xcode tools 2.4?

comment:3 Changed 18 years ago by markd@…

libgda depends on glib2, which depends on gettext. If that was upgraded recently you also need to rebuild glib2 and anything else that you have that depends on gettext.

comment:4 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

Gettext has been fixed. Dealing with the ports that depend on it are documented here.

http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist

Note: See TracTickets for help on using tickets.