[gnome-db] Data Sources in libgda 4.0.
- From: Bas Driessen <bas driessen xobas com>
- To: GNOME-DB List <gnome-db-list gnome org>
- Subject: [gnome-db] Data Sources in libgda 4.0.
- Date: Wed, 17 Jun 2009 09:55:17 +1000
Hello,
I am porting my applications from libgda 3 to 4. In order to even start, I need to have access to some data sources. libgnomedb is the tool to create those. However, in Fedora 11 this is broken (3.99.7). As soon as you press the new data source, the application crashes. Therefore, I decided to compile libgnomedb myself. However that failed. Output below in this message if interested.
Can someone please tell me where I put my data sources and how they should look like? In libgda 3, there was a dir .libgda that contained a file called config with a layout like this:
<section path="/apps/libgda/Datasources/stocksql">
<entry name="DSN" type="string" value="DB_NAME=stock;HOST=localhost;PORT=5432"/>
<entry name="Description" type="string" value="Stock database in PostgreSQL"/>
<entry name="Password" type="string" value=""/>
<entry name="Provider" type="string" value="PostgreSQL"/>
<entry name="Username" type="string" value="test"/>
</section>
When I put this in place, libgda 4 is not picking this up. Can someone give me a sample of a libgda 4 data source, the name of that file and the location?
Thanks,
Bas.
libtool: compile: gcc "-DPACKAGE_NAME=\"GNOME DB library\"" -DPACKAGE_TARNAME=\"libgnomedb\" -DPACKAGE_VERSION=\"3.99.7\" "-DPACKAGE_STRING=\"GNOME DB library 3.99.7\"" -DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\" -DGNOME_DB_EXPLICIT_TRANSLATION_DOMAIN=\"libgnomedb-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 -DLT_OBJDIR=\".libs/\" -DGETTEXT_PACKAGE=\"libgnomedb-4.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DISO_CODES_PREFIX=\"\" -I. -I. -I../.. -I./.. -I../.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgda-4.0 -I/usr/include/libxml2 -DHAVE_GTKTWOTEN -DLIBGNOMEDB_ABI_NAME=\"gnome-db-4.0\" -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DHAVE_LIBGLADE -DPREFIX=\"/home/bas/work/libgnomedb-3.99.7\" -DSYSCONFDIR=\"/home/bas/work/libgnomedb-3.99.7/etc\" -DDATADIR=\"/home/bas/work/libgnomedb-3.99.7/share\" -DLIBDIR=\"/home/bas/work/libgnomedb-3.99.7/lib\" -g -O2 -MT gnome-db-data-cell-renderer-combo.lo -MD -MP -MF .deps/gnome-db-data-cell-renderer-combo.Tpo -c gnome-db-data-cell-renderer-combo.c -fPIC -DPIC -o .libs/gnome-db-data-cell-renderer-combo.o
gnome-db-data-cell-renderer-combo.c: In function ‘gnome_db_data_cell_renderer_combo_set_property’:
gnome-db-data-cell-renderer-combo.c:293: error: ‘GdaSetSource’ has no member named ‘ref_n_cols’
gnome-db-data-cell-renderer-combo.c:304: error: ‘GdaSetSource’ has no member named ‘ref_cols_index’
gnome-db-data-cell-renderer-combo.c:310: error: ‘GdaSetSource’ has no member named ‘shown_n_cols’
gnome-db-data-cell-renderer-combo.c:314: error: ‘GdaSetSource’ has no member named ‘shown_cols_index’
gnome-db-data-cell-renderer-combo.c:346: error: ‘GdaSetSource’ has no member named ‘shown_n_cols’
gnome-db-data-cell-renderer-combo.c: In function ‘gnome_db_data_cell_renderer_combo_start_editing’:
gnome-db-data-cell-renderer-combo.c:561: error: ‘GdaSetSource’ has no member named ‘shown_n_cols’
gnome-db-data-cell-renderer-combo.c:562: error: ‘GdaSetSource’ has no member named ‘shown_cols_index’
gnome-db-data-cell-renderer-combo.c: In function ‘gnome_db_data_cell_renderer_combo_editing_done’:
gnome-db-data-cell-renderer-combo.c:601: error: ‘GdaSetSource’ has no member named ‘ref_n_cols’
gnome-db-data-cell-renderer-combo.c:602: error: ‘GdaSetSource’ has no member named ‘ref_cols_index’
make[2]: *** [gnome-db-data-cell-renderer-combo.lo] Error 1
make[2]: Leaving directory `/home/bas/work/libgnomedb-3.99.7/libgnomedb/data-entries'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bas/work/libgnomedb-3.99.7/libgnomedb'
make: *** [all-recursive] Error 1
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]