httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Constable <ma...@renta.net>
Subject Re: apr_dbd_mysql for apache2.2
Date Sat, 28 Oct 2006 09:44:20 GMT
On Saturday 28 October 2006 18:47, Philip M. Gollucci wrote:
> > and in the dbd/ folder there is no apr_dbd_mysql.lo or 
> > apr_dbd_mysql.o as I would expect. No doubt it's just a build
> > issue but would anyone have a suggestion what to do next ?

> Yes, use apr 1.2.8-dev .... The mysql detection was fixed to use mysql_config
> instead of checking 2 hard coded places.

The nearest thing I could find was an apr snapshot which I presume
is 1.2.8-dev, for instance at...

 http://svn.apache.org/snapshots/apr/apr_20061028041545.tar.gz

which seemed to compile and install okay. I then rebuilt the 1.2.7
apr-util using buildconf --with-apr=/path/to/apr_20061028041545

... etc
/bin/sh /usr/build-1/libtool --silent --mode=compile gcc -pthread  -march=i686 -O2 -pipe -DHAVE_CONFIG_H
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I/var/abs/local/apr-util/src/apr-util-1.2.7/include
-I/var/abs/local/apr-util/src/apr-util-1.2.7/include/private  -I/usr/include/apr-1  -I/usr/include
-Iyes/include/myql  -o dbd/apr_dbd_mysql.lo -c dbd/apr_dbd_mysql.c && touch dbd/apr_dbd_mysql.lo
dbd/apr_dbd_mysql.c:64: error: expected specifier-qualifier-list before 'MYSQL_STMT'
dbd/apr_dbd_mysql.c:76: error: expected specifier-qualifier-list before 'MYSQL'
dbd/apr_dbd_mysql.c:83: error: expected specifier-qualifier-list before 'MYSQL_RES'
dbd/apr_dbd_mysql.c:88: error: expected specifier-qualifier-list before 'MYSQL_ROW'
dbd/apr_dbd_mysql.c: In function 'dbd_mysql_select':
dbd/apr_dbd_mysql.c:104: error: 'apr_dbd_t' has no member named 'trans'
... etc

Hmm... -Iyes/include/myql ???

Is there a downloadable apr-util-1.2.8-dev package somewhere ?

or

Should I checkout out svn to get the latest apr and apr-util ?

Any hints appreciated.

--markc

Mime
View raw message