#49829 [Opn->Fbk]: ./configure --with-mysql=mysqlnd gave configure error
| From: | uw@php.net | Date: | Mon, 12 Oct 2009 13:01:19 +0000 |
| Subject: | #49829 [Opn->Fbk]: ./configure --with-mysql=mysqlnd gave configure error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143483@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: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: CentOS 5.3
PHP Version: 5.3.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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