#28577 [Opn->Asn]: mysqli doesn't compile
| From: | derick@php.net | Date: | Mon, 31 May 2004 10:11:10 +0000 |
| Subject: | #28577 [Opn->Asn]: mysqli doesn't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60195@lists.php.net to get a copy of this message | ||
ID: 28577
Updated by: derick@php.net
Reported By: mc at webheberg dot com
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Linux Debian
PHP Version: 5.0.0RC2
-Assigned To:
+Assigned To: georg
New Comment:
Assigning to the maintainer.
Previous Comments:
------------------------------------------------------------------------
[2004-05-30 13:25:33] mc at webheberg dot com
Description:
------------
I'm trying to compile PHP5 with mysqli support. I've really tried all
what I can try. PHP5 RC1, RC2, with mysql 4.1.1, 4.1.2, 5.0.0, nothing
compiles.
For example :
./configure --without-mysql
--with-mysqli=/src/mysql-standard-4.1.1-alpha-pc-linux-i686/bin/mysql_config
gives :
ext/mysqli/mysqli.o: In function `php_clear_stmt_bind':
/src/php-5.0.0RC2/ext/mysqli/mysqli.c:94: undefined reference to
`mysql_stmt_close'
ext/mysqli/mysqli_api.o: In function `zif_mysqli_autocommit':
/src/php-5.0.0RC2/ext/mysqli/mysqli_api.c:65: undefined reference to
`mysql_autocommit'
ext/mysqli/mysqli_api.o: In function `zif_mysqli_stmt_bind_param':
/src/php-5.0.0RC2/ext/mysqli/mysqli_api.c:174: undefined reference to
`mysql_stmt_bind_param'
ext/mysqli/mysqli_api.o: In function `zif_mysqli_stmt_bind_result':
/src/php-5.0.0RC2/ext/mysqli/mysqli_api.c:329: undefined reference to
`mysql_stmt_bind_result'
and so on ....
With a source distrib of MySQL, it's not better :
./configure --without-mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
=> it gives BUG #28376
So i've found a tip to compile, it's not very clean but it works :
./configure --without-mysql
--with-mysqli=/src/mysql-standard-4.1.1-alpha-pc-linux-i686/bin/mysql_config
make
(let the error come)
./configure --without-mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
make
make install
Well, finally, isnt there a serious problem with mysqli ??
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28577&edit=1