#49829 [Csd]: ./configure --with-mysql=mysqlnd gave configure error
| From: | uw@php.net | Date: | Wed, 14 Oct 2009 19:51:23 +0000 |
| Subject: | #49829 [Csd]: ./configure --with-mysql=mysqlnd gave configure error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143576@lists.php.net to get a copy of this message | ||
ID: 49829
Updated by: uw@php.net
Reported By: eddychu at yahoo dot com
Status: Closed
Bug Type: Compile Failure
Operating System: CentOS 5.3
PHP Version: 5.3.0
New Comment:
Thanks for getting back and closing. It is correct that with mysqlnd
there should be no need to have any MySQL components installed on the
PHP build host.
Previous Comments:
------------------------------------------------------------------------
[2009-10-14 19:47:00] eddychu at yahoo dot com
On my CentOS 5.3, after uninstalling MySQL-server-community 5.1.34 and
MySQL-client-community 5.1.34 and install mysql-server 5.0.77 and mysql
5.0.77, it started to work. Note that I don't need mysql-devel for this
to work.
------------------------------------------------------------------------
[2009-10-12 19:56:39] srinatar@php.net
also, for these kind of configure errors, it is better if you provide
with the corresponding error you noticed inside config.log file (created
under the same location where you are trying to build).
as sjoerd suggested, you probably don't have mysql develop rpm
installed on your system.
------------------------------------------------------------------------
[2009-10-12 13:01:18] uw@php.net
Works fine for me. Please make sure that configure is sane:
rm configure ; ./buildconf --force ; ./configure --with-mysql=mysqlnd
--with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
------------------------------------------------------------------------
[2009-10-10 12:11:31] Sjoerd@php.net
Thank you for your bug report.
Have you installed the MySQL development files, from the mysql-devel
package?
------------------------------------------------------------------------
[2009-10-10 02:12:33] eddychu at yahoo dot com
Description:
------------
Followed http://us.php.net/manual/en/mysqlnd.install.php
instructions
to attempt to configure PHP to build with mysqlnd support, but it gave
error:
configure: error: Cannot find MySQL header files under mysqlnd,.
Note that the MySQL client library is not bundled anymore!
although ext/mysqlnd folder is right there under php-5.3.0. And no
Makefile was generated so I can't build PHP. Either the instructions
are wrong or the configure scripts are wrong.
Reproduce code:
---------------
---
From manual page: mysqlnd.install
---
Simply try to configure with mysqlnd:
./configure --with-mysql=mysqlnd, --with-mysqli=mysqlnd and
--with-pdo-mysql=mysqlnd
Expected result:
----------------
Expected ./configure --with-mysql=mysqlnd, --with-mysqli=mysqlnd and
--with-pdo-mysql=mysqlnd to successfully generate the Makefile. If
other configure option(s) are required for these to work, they should be
mentioned in the above manual page.
Actual result:
--------------
configure: error: Cannot find MySQL header files under mysqlnd,.
Note that the MySQL client library is not bundled anymore!
Can't proceed further.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49829&edit=1