Which knobs do I use to control BDB use in MySQL-server port?

Aliya Harbouri aliyaharbouri at gmail.com
Wed Sep 19 23:52:06 PDT 2007


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


More information about the freebsd-questions mailing list