ID:               29089
 Updated by:       [EMAIL PROTECTED]
 Reported By:      s dot seipel at gmx dot de
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux Slackware 9.1
 PHP Version:      5CVS-2004-07-10 (dev)
 New Comment:

It's due to symbol clashes, PHP doesn't know internall when to use a
function in which of the two libraries (because the name of the
function is the same inside the library) and PHP just picks one then,
leading to unexpected results. Perhaps you could compile it, but it
would not really work very well.

So I'm changing the status back to bogus.


Previous Comments:
------------------------------------------------------------------------

[2004-07-13 01:41:56] s dot seipel at gmx dot de

> You can't compile the mysql4.0 client and mysql4.1 client > together,
try
> changing your --with-mysql to /usr/local/mysql4.1/

why could I use the mysql 4.1 libmysqlclient for both mysql versions? I
thought each libmysqlclient is intended for one mysql version...

It would be great if you could answer!
tbanks, sabine

------------------------------------------------------------------------

[2004-07-11 11:11:51] s dot seipel at gmx dot de

okay, you're right. but why could I compile the mysql4.0 und mysql 4.1
client together with PHP 5 RC3?

was this attitude changing with the latest CVS?

thanks!

------------------------------------------------------------------------

[2004-07-11 08:44:31] [EMAIL PROTECTED]

fixed status -> bogus

------------------------------------------------------------------------

[2004-07-10 22:21:54] [EMAIL PROTECTED]

You can't compile the mysql4.0 client and mysql4.1 client together, try
changing your --with-mysql to /usr/local/mysql4.1/

Also, check your config.log, it will show you how mysql.4.1.x was
tested.


------------------------------------------------------------------------

[2004-07-10 20:51:16] s dot seipel at gmx dot de

Description:
------------
I downloaded and compile the mysql version 4.1.3 (no snapshot or CVS)
which run without problems. then I checkout the latest PHP 5 CVS and
run the following configure:

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/etc --with-mysql=/usr/local/mysql4.0
--with-mysqli=/usr/local/mysql4.1/bin/mysql_config --with-xmlrpc
--enable-soap --enable-wddx --with-jpeg-dir=/usr/local --with-gd
--with-freetype-dir=/usr/local --with-ttf=/usr/local
--with-zlib-dir=/usr/local --enable-sockets

checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... yes
checking for mysql_stmt_field_count in -lmysqlclient... no
configure: error: MySQLI doesn't support versions < 4.1.3 anymore.
Please update your libraries.

MySQL 4.1.3 is actually installed, is this a Bug?




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29089&edit=1

Reply via email to