This worked!  It built using my 5.0.67 version of mysql.

After that I installed the 2.2.16 build, added the 5.0.67 mysql lib folder to the LD_LIBRARY_PATH in envvars and all was well! :)

The configuration entry 'DBDriver mysql' now loads apr_dbd_mysql.so  yea!

Nick I appreciate your inputs!
    -Steve

On 9/2/2010 9:02 AM, Steve Whitson wrote:
I modified the mysql_config to replace "-xarch=v8" with "-mcpu=v8"
    based on: http://www.zabbix.com/forum/showthread.php?t=13151
    and http://forums.mysql.com/read.php?51,7767,183553#msg-183553

That seems to allow it to configure at least recognize that it has a usable mysql :)

Thanks! I'll post what I find once the build finished (now using 2.2.16, and 5.0.67).
    -Steve


On 9/2/2010 8:46 AM, Nick Kew wrote:
On Thu, 02 Sep 2010 07:04:01 -0500
Steve Whitson<steven.whit...@gmail.com>  wrote:

configure:27065: gcc -o conftest -g -O2  -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-I/usr/local/mysql/include -xarch=v8  -L/usr/local/mysql/lib
  -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl
-lm  -lpthread -lthread conftest.c -lmysqlclient_r  -lrt  -xarch=v8
-L/usr/local/mysql/lib -lmysqlclient_r
-lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm>&5
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
Where does that configure come from?  -xarch=v8 looks like an
option for Sun CC, but breaks gcc.  As a workaround, remove it
(if nothing else breaks, for the same reason).  Or use Sun CC.



Reply via email to