"No DBD drivers found" warning when running make check

Bill Hammond ka1ssr at gmail.com
Mon Jan 31 22:36:07 EST 2011


Hello!

I am having trouble running make check on r20217.  Here's what's happening:

---

PASS: test-commodities
* 22:17:56  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
WARNING: (guile-user): `GNC-ERROR-REMAINDER' imported from both
(sw_engine) and (gnucash engine)
WARNING: (guile-user): `GNC-ERROR-DENOM-DIFF' imported from both
(sw_engine) and (gnucash engine)
WARNING: (guile-user): `GNC-ERROR-OVERFLOW' imported from both
(sw_engine) and (gnucash engine)
WARNING: (guile-user): `GNC-ERROR-ARG' imported from both (sw_engine)
and (gnucash engine)
WARNING: (guile-user): `GNC-ERROR-OK' imported from both (sw_engine) and
(gnucash engine)
WARNING: (guile-user): `GNC-DENOM-AUTO' imported from both (sw_engine)
and (gnucash engine)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.

(There are a couple more instances where the DBD drivers warning comes
up but I'm not fast enough to copy and past them)

Finally...

make[6]: Entering directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
* 22:22:34  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
Using filename: /tmp/test-CMlkhK
Testing sqlite3
* 22:22:35  WARN <gnc.backend.dbi> Session Error: 3,
FAILURE First DB Session Creation Failed test-dbi-stuff.c:181
Testing safe save sqlite3
* 22:22:35  WARN <gnc.backend.dbi> Session Error: 3,
FAILURE DB Session Creation Failed test-dbi-stuff.c:241
/bin/bash: line 5: 10590 Segmentation fault     
GNC_ACCOUNT_PATH=../../../../accounts/C SRCDIR=.
GNC_MODULE_PATH="../../../../src/engine/.libs:${GNC_MODULE_PATH}"
GUILE_LOAD_PATH="../../../../src/engine:${GUILE_LOAD_PATH}"
LD_LIBRARY_PATH="../../../../src/engine/.libs:../../../../src/gnc-module/.libs:../../../../src/core-utils/.libs:../../../../src/libqof/qof/.libs:${LD_LIBRARY_PATH}"
DYLD_LIBRARY_PATH="../../../../src/engine/.libs:../../../../src/gnc-module/.libs:../../../../src/core-utils/.libs:../../../../src/libqof/qof/.libs:${DYLD_LIBRARY_PATH}"
${dir}$tst
FAIL: test-dbi-basic
* 22:22:36  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
Using filename: /tmp/test-lkqj1f
Testing sqlite3
* 22:22:36  WARN <gnc.backend.dbi> Session Error: 3,
FAILURE First DB Session Creation Failed test-dbi-stuff.c:181
TEST_MYSQL_URL=''
TEST_PGSQL_URL=''
Executed 1 test. There was 1 failure.
FAIL: test-dbi
* 22:22:37  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
Using filename: /tmp/test-fNDm9L
Testing sqlite3
FAILURE TaxTable lists match test-dbi-stuff.c:55
FAILURE Customer lists match test-dbi-stuff.c:55
FAILURE Employee lists match test-dbi-stuff.c:55
 You may ignore the warning about the lock file having no entries: We
had to ignore locking to run two sessions on the same database
Executed 7 tests. There were 3 failures.
FAIL: test-dbi-business
* 22:22:39  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
Executed 1 test. All tests passed.
PASS: test-load-backend
==========================================
3 of 4 tests failed
Please report to gnucash-devel at gnucash.org
==========================================
make[6]: *** [check-TESTS] Error 1
make[6]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/ka1ssr/development/gnucash/src/backend'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make: *** [check-recursive] Error 1

I'm running Ubuntu 10.10.  I checked and the dbd drivers have been
installed in /usr/lib/dbd.

Is it something I'm doing wrong?

Thanks!

Bill Hammond



More information about the gnucash-devel mailing list