r20420 - gnucash/trunk - Make error message on missing <dbi/dbi.h> more verbose.

Christian Stimming cstim at code.gnucash.org
Mon Mar 14 01:39:49 EDT 2011


Author: cstim
Date: 2011-03-14 01:39:49 -0400 (Mon, 14 Mar 2011)
New Revision: 20420
Trac: http://svn.gnucash.org/trac/changeset/20420

Modified:
   gnucash/trunk/configure.ac
Log:
Make error message on missing <dbi/dbi.h> more verbose.

Also mention the infamous dbi database drivers here,
https://lists.gnucash.org/pipermail/gnucash-devel/2011-February/031171.html

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2011-03-13 17:47:00 UTC (rev 20419)
+++ gnucash/trunk/configure.ac	2011-03-14 05:39:49 UTC (rev 20420)
@@ -575,7 +575,14 @@
     LIBDBI_LIBS=-ldbi
     DBI_DIR=dbi
   else
-    AC_MSG_ERROR( Unable to find dbi/dbi.h )
+    AC_MSG_ERROR([
+
+ Unable to find <dbi/dbi.h>. Either install the libdbi development
+ package (such as libdbi0-dev), or switch off the database backend of
+ gnucash by --disable-dbi.
+ Note: If you install libdbi, you should also install its database
+ drivers (such as libdbd-sqlite3 libdbd-mysql libdbd-pgsql).
+])
   fi
 fi
 AC_SUBST(LIBDBI_LIBS)



More information about the gnucash-changes mailing list