Date: Wed, 19 Sep 2007 23:15:33 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Aliya Harbouri <aliyaharbouri@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Which knobs do I use to control BDB use in MySQL-server port? Message-ID: <20070920041533.GF7562@dan.emsphone.com> In-Reply-To: <dec0591d0709192053k4a0a5ba5p4437dc8ff8b566cd@mail.gmail.com> References: <dec0591d0709182239s26763705y2b6a57755cda4031@mail.gmail.com> <20070920025713.GE7562@dan.emsphone.com> <dec0591d0709192053k4a0a5ba5p4437dc8ff8b566cd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 19), Aliya Harbouri said:
> > > (1) Turn OFF use of BDB completely. The build seems to default
> > > to the bundled BDB
> >
> > Mysql 5.0's configure script doesn't seem to have a --without-bdb
> > flag, so it always gets built.
>
> > > (2) Use the Port install of BDB v46 I mentioned above.
> >
> > It does have a --with-berkeley-db=DIR flag, so you could add that
> > to CONFIGURE_ARGS to force an external bdb to be used instead of
> > the one bundled with mysql. Note that the bdb engine has been
> > removed from mysql 5.1, so you should think about moving any bdb
> > tables you might already have to innodb. Development on the bdb
> > engine pretty much stopped once innodb was available.
>
> Gotcha!
>
> So, If I'm going to use the Port & make changes anyway, since,
>
> grep berkeley-db Makefile
> CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
>
> I suppose I might as well just do
>
> vi Makefile
>
> .if ${ARCH} == "i386"
> - CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
> + CONFIGURE_ARGS+=--enable-assembler --without-berkeley-db
> .endif
I just tried it and it looks like that does disable bdb. I never
noticed that line in the Makefile before :)
> I know about the BDB-engine removal, too. Funny that this Port
> doesn't give you that option.
>
> Thanks a lot!
>
> Ali
--
Dan Nelson
dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070920041533.GF7562>
