Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2007 23:52:04 -0700
From:      "Aliya Harbouri" <aliyaharbouri@gmail.com>
To:        "Dan Nelson" <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Which knobs do I use to control BDB use in MySQL-server port?
Message-ID:  <dec0591d0709192352n699682a1x217b30754e9d5931@mail.gmail.com>
In-Reply-To: <dec0591d0709192253l48353ad8l7712e36c3667f91c@mail.gmail.com>
References:  <dec0591d0709182239s26763705y2b6a57755cda4031@mail.gmail.com> <20070920025713.GE7562@dan.emsphone.com> <dec0591d0709192053k4a0a5ba5p4437dc8ff8b566cd@mail.gmail.com> <20070920041533.GF7562@dan.emsphone.com> <dec0591d0709192253l48353ad8l7712e36c3667f91c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan,

One last thing (It's way past my bedtime here ;-p)

> See that "--with-berkeley-db" in there? :-(

A little digging in the mysql ditribution's source files dredged up
the "CONF_COMMAND" variable.

Do-ing,

 CONF_COMMAND="--without-berkeley-db"; export $CONF_COMMAND
 perl -pi -e 's/^(CONFIGURE_ARGS.*)with-berkeley-db(.*)$/$1without-berkeley-db$2/g'
Makefile

Seems to do the trick as far as the build /process/ goes,

 grep berkeley-db ./work/mysql-5.0.45/config.log | grep "$ ./configure"
  $ ./configure --localstatedir=/var/db/mysql --without-debug
--without-readline --without-libedit --without-bench
--without-extra-tools --with-libwrap --with-mysqlfs --with-low-memory
--with-comment=FreeBSD port: mysql-server-5.0.45
--enable-thread-safe-client --with-openssl=/usr/local
--enable-assembler --without-berkeley-db
--with-named-thread-libs=-pthread --prefix=/usr/local
--mandir=/usr/local/man --infodir=/usr/local/info/
--build=i386-portbld-freebsd6.2

See the "--without-berkeley-db" is there, now.  I'll check the build's
output with ldd when the build finishes.

For now, my pooch inists that it's "lights out" <:-}

Ali



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dec0591d0709192352n699682a1x217b30754e9d5931>