Edit report at https://bugs.php.net/bug.php?id=60730&edit=1

 ID:                 60730
 Updated by:         ras...@php.net
 Reported by:        czachary at wiley dot com
 Summary:            cannot build mysql.so module with
                     --with-mysql=mysqlnd
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Fedora 16
 PHP Version:        5.3.9
 Block user comment: N
 Private report:     N

 New Comment:

The easiest way to build mysql.so quickly is to cd into the ext/mysql directory 
and run phpize. Then run your configure command from in there. I just tested it 
with the 5.3.9 tarball and it worked fine.

You can also to it from the top-level while you are building all of PHP by 
specifying --with-mysql=shared,mysqlnd


Previous Comments:
------------------------------------------------------------------------
[2012-01-12 15:31:26] czachary at wiley dot com

Description:
------------
I am receiving the following compile issue when trying to compile the mysql.so 
in the ext/mysql folder using mysqlnd.  Please see the detail below.

./configure --prefix=PATH --with-php-config=/x/y/z/bin/php-config 
--with-mysql=mysqlnd --with-zlib-dir=/usr

Error:

php-5.3.9/ext/mysql/php_mysql_structs.h:39:33: fatal error: 
ext/mysqlnd/mysqlnd.h: No such file or directory
compilation terminated.
make: *** [php_mysql.lo] Error 1



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60730&edit=1

Reply via email to