dbi.h missing

John Ralls jralls at ceridwen.us
Wed Apr 21 20:47:46 EDT 2010


On Apr 21, 2010, at 5:10 PM, Bill Hammond wrote:

> Hello!
> 
> My apologies if this is the wrong list to ask this question.
> 
> I have a build issue under Ubuntu 9.10.  I recently checked out version
> 2.3.12 of gnucash.  autogen.sh ran with no errors, but configure
> complained that it couldn't find dbi.h.  Running configure with
> --disable-dbi makes configure happy and the make runs normally, as does
> make install.  Gnucash runs fine with no complaints once the dust
> settles.
> 
> Question: Does configuring without dbi hurt anything?  What package has
> dbi.h?  "apt-get build-dep gnucash" tells me that all dependencies are
> up-to-date.
> 
> Again, sorry if this should be posted to the development list or if this
> is in the wiki or readmes.  I couldn't find it anywhere.

libdbi is the interface library between gnucash and sqlite3, mysql, and postgresql. It's an optional dependency, so your options were to disable it as you did or to find the appropriate devel packages (you need both libdi and libdbi-drivers) for your distro.

The apt-get build-dep is undoubtedly reporting the requirements for the current stable release of gnucash, 2.2.9. It's conceivable that that's what you really want, as 2.3.12 is a development release intended for testing. Its use in production with important data is strongly discouraged.

This is the users list, so any question is fair game here, but if you're going to help test the development branch you might want to subscribe to gnucash-devel at gnucash.org so that you know what's going on with development and can easily report your test findings to the developers.

Regards,
John Ralls



More information about the gnucash-user mailing list