Subject: [Fwd: Re: Bekerley DB v1]
To: NetBSD tech-pkg mailing-list <>
From: pierre bourgin <>
List: tech-pkg
Date: 03/18/2003 11:10:41
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Content-Type: message/rfc822;
 name="Re: Bekerley DB v1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: Bekerley DB v1"

Message-ID: <>
Date: Tue, 18 Mar 2003 10:24:37 +0100
From: pierre bourgin <>
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.1) Gecko/20030117
MIME-Version: 1.0
To: Stoned Elipot <>
Subject: Re: Bekerley DB v1
References: <> <>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Stoned Elipot wrote:
> On Mon, Mar 17, 2003 at 07:48:43PM +0100, pierre bourgin wrote:
>>Did I miss something, someone has a clue about it ?
> If the pkg is using the buildink2 framework
> (USE_BUILDLINK2 defined in its Makefile) just add:
> USE_BUILDLINK2=         # defined
> ...
> .include "../../databases/db/"
> to the Makefile. If the system provides db1 it will be used otherwise a
> dependency on DB2 will be added. 
> See databases/db/ for details.

I forgot to tell I already tried it.

Under NetBSD, no problem (DB v1 provided by system), but under Solaris, 
databases/db package will be used (that provides DB v2) and the program 
I (try to) compile will failed: this is DB v1 that is required, not DB v2.

db calls are incompatibles between v1 and v2 :(.

In an other hand, does it easy to "translate" DB v1 calls (functions 
dbopen and so on) into DB v2 ones ?

Pierre Bourgin