#49829 [Opn]: ./configure --with-mysql=mysqlnd gave configure error
| From: | Sjoerd@php.net | Date: | Sat, 10 Oct 2009 12:11:32 +0000 |
| Subject: | #49829 [Opn]: ./configure --with-mysql=mysqlnd gave configure error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143442@lists.php.net to get a copy of this message | ||
ID: 49829
Updated by: Sjoerd@php.net
Reported By: eddychu at yahoo dot com
Status: Open
Bug Type: Compile Failure
Operating System: CentOS 5.3
PHP Version: 5.3.0
New Comment:
Thank you for your bug report.
Have you installed the MySQL development files, from the mysql-devel
package?
Previous Comments:
------------------------------------------------------------------------
[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