Edit report at https://bugs.php.net/bug.php?id=60706&edit=1
ID: 60706 Updated by: [email protected] Reported by: martin at martins-creations dot co dot uk Summary: Unable to compile pdo_mysql with mysqlnd -Status: Feedback +Status: No Feedback Type: Bug Package: PDO related Operating System: Debian PHP Version: 5.4.0RC5 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2012-12-04 20:31:52] ronald dot bradford at gmail dot com I experience the same problem running $ pecl install mysqlnd_ms Both the 5.3.19 and 5.4.6 sources I can obtain mysqlnd.h and mysqlnd_portability.h but there is no such php_mysqlnd_config.h ------------------------------------------------------------------------ [2012-10-17 01:27:27] siefkesilvio at gmail dot com Hello, on my System i become the same msg. I compiled mysqlnd as Plugin and it ends with the same msg. cc -I. -I/usr/local/src/php-5.4.7/ext/mysqlnd -DPHP_ATOM_INC -I/usr/local/src/php-5.4.7/ext/mysqlnd/include -I/usr/local/src/php-5.4.7/ext/mysqlnd/main -I/usr/local/src/php-5.4.7/ext/mysqlnd -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.4.7/ext/mysqlnd/mysqlnd.c -fPIC -DPIC -o .libs/mysqlnd.o In file included from /usr/local/src/php-5.4.7/ext/mysqlnd/mysqlnd.h:60, from /usr/local/src/php-5.4.7/ext/mysqlnd/mysqlnd.c:23: /usr/local/src/php-5.4.7/ext/mysqlnd/mysqlnd_portability.h:40:46: error: ext/mysqlnd/php_mysqlnd_config.h: No such file or directory make: *** [mysqlnd.lo] Error 1 :/usr/local/src/php-5.4.7/ext/mysqlnd# ls | grep php php_mysqlnd.c php_mysqlnd.h run-tests.php php -v PHP 5.4.7 (cli) (built: Oct 16 2012 23:23:27) phpize -v Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 ------------------------------------------------------------------------ [2012-01-24 16:21:31] [email protected] Unable to reproduce. On my dev box I use: --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd and it has always built cleanly. ------------------------------------------------------------------------ [2012-01-10 23:48:00] martin at martins-creations dot co dot uk Description: ------------ Initially I was getting: /usr/local/src/php-5.4.0RC4/ext/pdo_mysql/php_pdo_mysql_int.h:27:34: fatal error: ext/mysqlnd/mysqlnd.h: No such file or directory so I did a mkdir ext && cp -r ../mysqlnd ./ext to fix the path issue. # php -v PHP 5.4.0RC4 (cli) (built: Jan 3 2012 12:00:03) # phpize -v Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 Test script: --------------- phpize && ./configure && make && make install Expected result: ---------------- Successful compilation Actual result: -------------- In file included from /usr/local/src/php- 5.4.0RC4/ext/pdo_mysql/ext/mysqlnd/mysqlnd.h:60:0, from /usr/local/src/php- 5.4.0RC4/ext/pdo_mysql/php_pdo_mysql_int.h:27, from /usr/local/src/php-5.4.0RC4/ext/pdo_mysql/pdo_mysql.c:32: /usr/local/src/php- 5.4.0RC4/ext/pdo_mysql/ext/mysqlnd/mysqlnd_portability.h:40:46: fatal error: ext/mysqlnd/php_mysqlnd_config.h: No such file or directory ---- sure enough: total 804 drwxr-xr-x 2 root root 4096 Jan 10 18:27 . drwxr-xr-x 3 root root 4096 Jan 10 18:33 .. -rw-r--r-- 1 root root 2230 Jan 10 18:27 config9.m4 -rw-r--r-- 1 root root 1172 Jan 10 18:27 config.w32 -rw-r--r-- 1 root root 3312 Jan 10 18:27 config-win.h -rw-r--r-- 1 root root 50 Jan 10 18:27 CREDITS -rw-r--r-- 1 root root 20160 Jan 10 18:27 mysqlnd_alloc.c -rw-r--r-- 1 root root 5934 Jan 10 18:27 mysqlnd_alloc.h -rw-r--r-- 1 root root 16643 Jan 10 18:27 mysqlnd_auth.c -rw-r--r-- 1 root root 5955 Jan 10 18:27 mysqlnd_block_alloc.c -rw-r--r-- 1 root root 1750 Jan 10 18:27 mysqlnd_block_alloc.h -rw-r--r-- 1 root root 14026 Jan 10 18:27 mysqlnd_bt.c -rw-r--r-- 1 root root 85349 Jan 10 18:27 mysqlnd.c -rw-r--r-- 1 root root 28599 Jan 10 18:27 mysqlnd_charset.c -rw-r--r-- 1 root root 2450 Jan 10 18:27 mysqlnd_charset.h -rw-r--r-- 1 root root 24722 Jan 10 18:27 mysqlnd_debug.c -rw-r--r-- 1 root root 7552 Jan 10 18:27 mysqlnd_debug.h -rw-r--r-- 1 root root 9753 Jan 10 18:27 mysqlnd_driver.c -rw-r--r-- 1 root root 17588 Jan 10 18:27 mysqlnd_enum_n_def.h -rw-r--r-- 1 root root 6530 Jan 10 18:27 mysqlnd_ext_plugin.c -rw-r--r-- 1 root root 3941 Jan 10 18:27 mysqlnd_ext_plugin.h -rw-r--r-- 1 root root 17025 Jan 10 18:27 mysqlnd.h -rw-r--r-- 1 root root 7534 Jan 10 18:27 mysqlnd_libmysql_compat.h -rw-r--r-- 1 root root 7651 Jan 10 18:27 mysqlnd_loaddata.c -rw-r--r-- 1 root root 36242 Jan 10 18:27 mysqlnd_net.c -rw-r--r-- 1 root root 1812 Jan 10 18:27 mysqlnd_net.h -rw-r--r-- 1 root root 5660 Jan 10 18:27 mysqlnd_plugin.c -rw-r--r-- 1 root root 19302 Jan 10 18:27 mysqlnd_portability.h -rw-r--r-- 1 root root 8949 Jan 10 18:27 mysqlnd_priv.h -rw-r--r-- 1 root root 73074 Jan 10 18:27 mysqlnd_ps.c -rw-r--r-- 1 root root 30964 Jan 10 18:27 mysqlnd_ps_codec.c -rw-r--r-- 1 root root 55262 Jan 10 18:27 mysqlnd_result.c -rw-r--r-- 1 root root 1780 Jan 10 18:27 mysqlnd_result.h -rw-r--r-- 1 root root 15375 Jan 10 18:27 mysqlnd_result_meta.c -rw-r--r-- 1 root root 1917 Jan 10 18:27 mysqlnd_result_meta.h -rw-r--r-- 1 root root 2845 Jan 10 18:27 mysqlnd_reverse_api.c -rw-r--r-- 1 root root 2019 Jan 10 18:27 mysqlnd_reverse_api.h -rw-r--r-- 1 root root 12464 Jan 10 18:27 mysqlnd_statistics.c -rw-r--r-- 1 root root 7945 Jan 10 18:27 mysqlnd_statistics.h -rw-r--r-- 1 root root 49400 Jan 10 18:27 mysqlnd_structs.h -rw-r--r-- 1 root root 77671 Jan 10 18:27 mysqlnd_wireprotocol.c -rw-r--r-- 1 root root 9884 Jan 10 18:27 mysqlnd_wireprotocol.h -rw-r--r-- 1 root root 12009 Jan 10 18:27 php_mysqlnd.c -rw-r--r-- 1 root root 1648 Jan 10 18:27 php_mysqlnd.h That file doesn't exist. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60706&edit=1
