Date: Thu, 16 Mar 2006 10:35:10 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-ports@freebsd.org Subject: Re: Why isn't Berkeley DB being included in slapd? Message-ID: <790a9fff0603160835lf41f461p7b2cfd781e0d7c70@mail.gmail.com> In-Reply-To: <20060316014419.A1178@ganymede.hub.org> References: <20060316014419.A1178@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/15/06, Marc G. Fournier <scrappy@hub.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0603160835lf41f461p7b2cfd781e0d7c70>