db lib selection under Debian
Russ Allbery
rra at stanford.edu
Tue Dec 24 23:39:04 UTC 2002
root <root at qualify.domain.khms.westfalen.de> writes:
> (CURRENT)
> The configure checks for finding Berkeley DB don't work under Debian -
> newer db packages use /usr/include/db.h and/or -ldb instead of versioned
> variants.
> Originally I had hoped to write a patch, but I'm afraid the combination
> of what I know about autoconf and about what INN needs (not enough
> together) defeats this.
This should now be fixed in CURRENT. Basically, including db.h without
any special -I flags and using -ldb without any special -L flags works on
Debian.
> (As an aside, when using Berkeley DB, it might be useful to use the same
> library for ndbm.h functionality. This is done by #define DB_DBM_HSEARCH
> 1 #include <db.h> instead of #include <ndbm.h>, and avoids getting a
> different version of the library for this.)
Unfortunately, this doesn't work. It likely supports the same API, but
the storage format isn't the same.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-bugs
mailing list