r23186 - gnucash/trunk - Bug 654196 - "make check" fails when built with --enable-dbi

Geert Janssens janssens-geert at telenet.be
Sat Sep 21 12:36:27 EDT 2013


On Saturday 21 September 2013 08:50:03 John Ralls wrote:
> On Sep 21, 2013, at 1:10 AM, Geert Janssens <janssens-geert at telenet.be> wrote:
> > Would it make sense to also point out the other option here: disable
> > dbi support again by dropping the --enable_dbi option ?
> 
> OK.
> 
> On Sep 21, 2013, at 2:45 AM, Geert Janssens <janssens-geert at telenet.be> wrote:
> > And in addition to my previous comment: this code actually breaks
> > configure on my system (Fedora 19, 64 bit):
> > 
> > checking dbi/dbi.h usability... yes
> > checking dbi/dbi.h presence... yes
> > checking for dbi/dbi.h... yes
> > src/optional/python-bindings/Makefile.am:117: warning: filter-out
> > gnucash_core_c.py, ${PYTHON_LINK_FILES}: non-POSIX variable name
> > src/optional/python-bindings/Makefile.am:117: (probably a GNU make
> > extension) checking Looking for at least one supported DBD
> > module...
> > configure: error: in
> > `/home/janssege/Development/Builds/gnucash-f19-trunk': configure:
> > error:
> > Unable to find any of the supported dbd modules (libdbdsqlite3,
> > libdbdmysql, or libdbdpgsql) needed to actually use the SQL
> > backend. Please install one or more of them to proceed.
> > 
> > See `config.log' for more details
> > make: *** [config.status] Error 1
> > make: *** Waiting for unfinished jobs....
> 
> Hmm. I tested on debian, not fedora, and I don't yet have a fedora-19
> VM. Can you look in config.log and see what failed?
> 
> Regards,
> John Ralls

This is what I have in config.log:


configure:21183: checking Looking for at least one supported DBD module
configure:21203: gcc -o conftest -g -O2   -ldl conftest.c -lpthread  >&5
configure:21203: $? = 0
configure:21203: ./conftest
configure:21203: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "GnuCash 2.5.5"
| #define PACKAGE_BUGREPORT "gnucash-devel at gnucash.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnucash"
| #define VERSION "2.5.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 5
| #define GNUCASH_MICRO_VERSION 5
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.4"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_DLERROR 1
| #define HAVE_X11_XLIB_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_CHOWN 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPPID 1
| #define HAVE_GETUID 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETHOSTID 1
| #define HAVE_LINK 1
| #define HAVE_DBI_DBI_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
| int
| main ()
| {
| if (!dlopen("libdbdsqlite3.so", RTLD_NOW)) return -1;
| 
|   ;
|   return 0;
| }
configure:21225: gcc -o conftest -g -O2   -ldl conftest.c -lpthread  >&5
configure:21225: $? = 0
configure:21225: ./conftest


More information about the gnucash-devel mailing list