apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: svn commit: r572642 - in /apr/apr-util/trunk: CHANGES INSTALL.MySQL build/dbd.m4 configure.in dbd/apr_dbd_freetds.c dbd/apr_dbd_mysql.c
Date Fri, 07 Sep 2007 23:50:14 GMT

On Sep 7, 2007, at 4:38 PM, Bojan Smojver wrote:

> On Fri, 2007-09-07 at 12:38 -0700, Sander Temme wrote:
>> If you look at the (long) link line at the bottom, you'll see that
>> it's picking up -L/usr/lib/mysql -lmysqlclient_r , and the root cause
>> of that is probably somewhere in configure where it decides to use
>> the system MySQL despite the fact that we have one of our own.
> Is that with --with-mysql=/your/own/location/of/mysql? Or without  
> that?

Nope.  Here's what Gump does:



checking for mysql_config... /usr/bin/mysql_config
   adding "-I/usr/include/mysql" to CPPFLAGS
   setting LDFLAGS to "-pipe -L/usr/lib/mysql -lmysqlclient_r -lz -lm"
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... yes
   setting APRUTIL_INCLUDES to "-I/usr/include/mysql"

This does not break on vmgump because it doesn't have the appropriate  
mysql development package installed.  On MacOS X Server, you get that  
automatically.  Or maybe with the Devtools, I don't know.  I don't  
think I have any Macs without the Devtools installed.


Sander Temme
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF

View raw message