From: Operating system: Debian PHP version: 5.4.0RC5 Package: PDO related Bug Type: Bug Bug description:Unable to compile pdo_mysql with mysqlnd
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 bug report at https://bugs.php.net/bug.php?id=60706&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60706&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60706&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60706&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60706&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60706&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60706&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60706&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60706&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60706&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60706&r=support Expected behavior: https://bugs.php.net/fix.php?id=60706&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60706&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60706&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60706&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60706&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60706&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60706&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60706&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60706&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60706&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60706&r=mysqlcfg