From: alex dot emsenhuber at bluewin dot ch Operating system: Mac OS X 10.5.7 PHP version: 5.3.0RC4 PHP Bug Type: Compile Failure Bug description: mysqlnd does not compile with '--enable-mysqlnd-threading'
Description: ------------ ext/mysqlnd/mysqlnd_result.c does not compile with '--enable-mysqlnd-threading' in ./configure, removing this option make PHP compile correctly. This seems to be caused by http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_structs.h?r1=1.2.2.19&r2=1.2.2.20 where free_chunck was removed. Reproduce code: --------------- './configure' \ '--prefix=/usr' \ '--mandir=/usr/share/man' \ '--infodir=/usr/share/info' \ '--sysconfdir=/private/etc' \ '--enable-bcmath' \ '--enable-calendar' \ '--enable-cgi' \ '--enable-cli' \ '--enable-ctype' \ '--enable-dba' \ '--enable-debug' \ '--enable-embedded-mysqli' \ '--enable-exif' \ '--enable-ftp' \ '--enable-gd-native-ttf' \ '--enable-maintainer-zts' \ '--enable-mbstring' \ '--enable-mbregex' \ '--enable-mysqlnd-threading' \ '--enable-pcntl' \ '--enable-sockets' \ '--enable-sqlite-utf8' \ '--enable-wddx' \ '--enable-zend-multibyte' \ '--with-config-file-path=/private/etc' \ '--with-curl=/usr' \ '--with-db4=/usr/local/BerkeleyDB.4.7' \ '--with-gd' \ '--with-imap-ssl' \ '--with-kerberos=/usr' \ '--with-mcrypt' \ '--with-mhash' \ '--with-mysql=mysqlnd' \ '--with-mysql-sock=/private/var/mysql/mysql.sock' \ '--with-mysqli=mysqlnd' \ '--with-pdo-mysql=mysqlnd' \ '--with-pdo-pgsql=/Library/PostgreSQL/8.3' \ '--with-pgsql=/Library/PostgreSQL/8.3' \ '--with-readline' \ '--with-snmp' \ '--with-sqlite' \ '--with-tsrm-pthreads' \ '--with-xmlrpc' \ '--with-zlib-dir=/usr' \ '--with-apxs2=/usr/bin/apxs' make Expected result: ---------------- the file compiles correctly. Actual result: -------------- /Users/alexandre/Downloads/php53/ext/mysqlnd/mysqlnd_result.c: In function 'mysqlnd_free_background_buffered_data': /Users/alexandre/Downloads/php53/ext/mysqlnd/mysqlnd_result.c:363: error: 'struct st_mysqlnd_memory_pool_chunk' has no member named 'free_chunk' -- Edit bug report at http://bugs.php.net/?id=48644&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48644&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48644&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48644&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48644&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48644&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48644&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48644&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48644&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48644&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48644&r=support Expected behavior: http://bugs.php.net/fix.php?id=48644&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48644&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48644&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48644&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48644&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48644&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48644&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48644&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48644&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48644&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48644&r=mysqlcfg