httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred McCann <f...@automaticrootbeer.com>
Subject [users@httpd] Re: Trying to build apr_dbd_mysql on Apache 2.2.0 / OS X 10.4.5
Date Sun, 19 Feb 2006 08:06:34 GMT
Thanks for the heads up. I rebuilt apr-1.2.2, apr-util-1.2.2, and  
httpd-2.2.0 from source.

I copied apd_dbd_mysql.c to the dbd directory of apr-util-1.2.2 and  
built it with the following commands:

./makeconf
./configure --with-apr=/usr/local/apr/bin/apr-1-config --with-expat=/ 
opt/local \
         --with-iconv=/opt/local --with-berkeley-db=/opt/local \
         --without-pgsql --with-mysql=/usr/local/mysql
make
make install

I didn't get any errors or warnings.

After that I built apache 2 with:

./makeconf
./configure  \
--libdir=/opt/local/lib \
--with-expat=/opt/local \
                    --mandir=/opt/local/share/man \
                    --enable-mods-shared=all \
                    --enable-ssl \
                    --with-ssl=/opt/local \
                    --with-apr=/usr/local/apr/bin/apr-1-config \
                    --with-apr-util=/usr/local/apr/bin/apu-1-config \
                    --enable-deflate \
                    --enable-proxy \
                    --enable-proxy-connect \
                    --enable-proxy-http \
                    --enable-proxy-ftp make
make install


Again, with no problems. After all is said and done, I'm still  
getting the same error when I start apache:

DBD: No driver for mysql


I assume that I'm building the drivers, as they appear to have been  
compiled:

Fry:~/tmp/nw/apr-util-1.2.2 root# ls dbd
.libs                   apr_dbd_mysql.c          
apr_dbd_pgsql.lo        apr_dbd_sqlite2.o
apr_dbd.c               apr_dbd_mysql.lo         
apr_dbd_pgsql.o         apr_dbd_sqlite3.c
apr_dbd.lo              apr_dbd_mysql.o          
apr_dbd_sqlite2.c       apr_dbd_sqlite3.lo
apr_dbd.o               apr_dbd_pgsql.c          
apr_dbd_sqlite2.lo      apr_dbd_sqlite3.o

Fry:~/tmp/nw/apr-util-1.2.2 root# ls dbd/.libs/
apr_dbd.o               apr_dbd_mysql.o          
apr_dbd_pgsql.o         apr_dbd_sqlite2.o       apr_dbd_sqlite3.o


I'm at a loss at this one. I followed the instructions in  
INSTALL.MySQL, but I must have missed something along the way. Any  
hints would be greatly appreciated.

- Fred




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message