From owner-freebsd-ports@FreeBSD.ORG Thu Mar 16 16:35:15 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A00D816A420 for ; Thu, 16 Mar 2006 16:35:15 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA4A543D76 for ; Thu, 16 Mar 2006 16:35:14 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so284793wxc for ; Thu, 16 Mar 2006 08:35:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XyBZddSg9ApLkPoTSrbyXFr3v+erEFO/wBtXWRfdNgncnPdYs69bRnY0lKIQx5etpkIVbUyAhZ+MwpN5l/eCFsH0C6XMPvJvHtk1tMIxKeC1RDQw9rHO8HqwY29ysevEKepEMGYzUoXU9C0uBe8hyVDj8Och6htjSQOIG5Ntc6c= Received: by 10.70.124.4 with SMTP id w4mr2256938wxc; Thu, 16 Mar 2006 08:35:10 -0800 (PST) Received: by 10.70.27.2 with HTTP; Thu, 16 Mar 2006 08:35:10 -0800 (PST) Message-ID: <790a9fff0603160835lf41f461p7b2cfd781e0d7c70@mail.gmail.com> Date: Thu, 16 Mar 2006 10:35:10 -0600 From: "Scot Hetzel" To: "Marc G. Fournier" In-Reply-To: <20060316014419.A1178@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060316014419.A1178@ganymede.hub.org> Cc: freebsd-ports@freebsd.org Subject: Re: Why isn't Berkeley DB being included in slapd? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 16:35:15 -0000 On 3/15/06, Marc G. Fournier wrote: > And configure is finding it: > > checking db.h usability... yes > checking db.h presence... yes > checking for db.h... yes > checking for Berkeley DB major version... 3 > checking for Berkeley DB minor version... 3 > checking for Berkeley DB link (-ldb3)... yes > checking for Berkeley DB version match... yes > checking for Berkeley DB thread support... yes > > But its not included as a list of built in libraries, nor will slapd star= t > when I try to use it as the backend: > > # /usr/local/etc/rc.d/slapd.sh start > Starting slapd. > Unrecognized database type (bdb) > It's disabled because of this in the openldap23-server/Makefile: .elif ${WITH_BDB_VER} =3D=3D 3 CONFIGURE_ARGS+=3D=09--disable-bdb \ =09=09=09--disable-hdb PLIST_SUB+=3D=09=09BACK_BDB=3D"@comment " \ =09=09=09BACK_HDB=3D"@comment " BDBLIB=3D=09=09=09db3.3 .else hdb needs 4+ bdb needs 42+ So it looks as though you'll need build the port with: WITH_BDB_VER=3D4{,1-3} Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.