ID:               49829
 Updated by:       srina...@php.net
 Reported By:      eddychu at yahoo dot com
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: CentOS 5.3
 PHP Version:      5.3.0
 New Comment:

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.


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

[2009-10-12 13:01:18] u...@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] sjo...@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

Reply via email to