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

2007-09-20 Thread Aliya Harbouri
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

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

2007-09-20 Thread Aliya Harbouri
I'll check the build's output with ldd when the build finishes. Looks like the simple workaround works :-) ldd /usr/local/libexec/mysqld libz.so.3 = /lib/libz.so.3 (0x284a8000) libwrap.so.4 = /usr/lib/libwrap.so.4 (0x284b9000) libssl.so.5 =

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

2007-09-19 Thread Aliya Harbouri
Hi everybody, I'm building my 1st FreeBSD-based box. Yay, I guess ;-p I've already installed Berkeley DB v46 from the Ports system. Now, I'ts on to MySQL server. I can easily build manually from source, configuring whatever I need. But, I'm trying to get the Ports system's knobs figured out

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

2007-09-19 Thread Dan Nelson
In the last episode (Sep 18), Aliya Harbouri said: Building the databases/mysql50-server Port, I see (they'er all in Makefile, yes?) my choices for knob-settings in make.conf are: WITH_OPENSSL=true WITH_PROC_SCOPE_PTH=yes BUILD_OPTIMIZED=yes WITH_INNODB=yes WITHOUT_ARCHIVE=true

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

2007-09-19 Thread Aliya Harbouri
Hi Dan! (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

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

2007-09-19 Thread Dan Nelson
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

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

2007-09-19 Thread Aliya Harbouri
Hi Dan! I just tried it and it looks like that does disable bdb. I never noticed that line in the Makefile before :) Well, you'd think it should. But even with, grep berkeley-db ./Makefile CONFIGURE_ARGS+=--enable-assembler --without-berkeley-db the build seems to /ignore/ the flag,