Subject: Re: USE_DB185 and BDB_ACCEPTED
To: Manuel Bouyer <firstname.lastname@example.org>
From: Johnny C. Lam <jlam@NetBSD.org>
Date: 03/21/2004 23:41:29
On Sun, Mar 21, 2004 at 11:42:37PM +0100, Manuel Bouyer wrote:
> x11/gnome-libs defines USE_DB185, but won't build on solaris unless I set
> BDB_TYPE to db. Should USE_DB185 set BDB_ACCEPTED to db if a native db isn't
> available ?
How exactly does it fail? What's the output of the following?
make show-var VARNAME=BDB_TYPE
bdb.buildlink3.mk is set up to try using, in order: native BDB, db4,
db3, then db2, so if there is no native BDB implementation, it should
be falling through to using db4. The test for whether a native BDB
implementation exists is simply (naively) testing if either
/usr/include/db.h or /usr/include/db1/db.h exist.
If you want to force the use of a particular BDB implementation, you
can, e.g., set in your /etc/mk.conf:
-- Johnny Lam <jlam@NetBSD.org>