Getting some mysqli errors when compiling latest cvs of PHP_5_1: /bin/sh /usr/src/php-src-5.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mysqli/ -I/usr/src/php-src-5.1/ext/mysqli/ -DPHP_ATOM_INC -I/usr/src/php-src-5.1/include -I/usr/src/php-src-5.1/main -I/usr/src/php-src-5.1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/src/php-src-5.1/ext/mbstring/oniguruma -I/usr/src/php-src-5.1/ext/mbstring/libmbfl -I/usr/src/php-src-5.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/src/php-src-5.1/TSRM -I/usr/src/php-src-5.1/Zend -g -O2 -prefer-non-pic -c /usr/src/php-src-5.1/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo In file included from /usr/src/php-src-5.1/ext/mysqli/mysqli.c:31: /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:60: error: syntax error before "MYSQL_STMT" /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:60: warning: no semicolon at end of struct or union /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:64: error: syntax error before '}' token /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:64: warning: data definition has no type or storage class /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:105: error: `LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function) /usr/src/php-src-5.1/ext/mysqli/php_mysqli.h:139: error: syntax error before '*' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c:94: error: syntax error before '*' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `php_clear_stmt_bind': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:96: error: `stmt' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c:96: error: (Each undeclared identifier is reported only once /usr/src/php-src-5.1/ext/mysqli/mysqli.c:96: error: for each function it appears in.) /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `mysqli_objects_destroy_object': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:156: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `mysqli_read_property': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:226: error: `MYSQL_STMT' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c:226: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c:226: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `zm_startup_mysqli': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:515: error: `STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c:577: error: `MYSQL_NO_DATA' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `zif_mysqli_stmt_construct': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:656: error: `stmt' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c:665: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c:667: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c:675: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c:678: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `zif_mysqli_result_construct': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:731: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `php_mysqli_fetch_into_hash': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:793: error: syntax error before ')' token /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `php_local_infile_init': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:970: error: `LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function) /usr/src/php-src-5.1/ext/mysqli/mysqli.c: In function `php_local_infile_read': /usr/src/php-src-5.1/ext/mysqli/mysqli.c:1018: error: `LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function) distcc[23465] ERROR: compile /usr/src/php-src-5.1/ext/mysqli/mysqli.c on 127.0.0.1 failed make: *** [ext/mysqli/mysqli.lo] Error 1
My configure: ./configure --with-apxs2=/usr/sbin/apxs2 --with-gd --enable-sockets --with-zlib --with-mysqli --with-mysql=/usr --with-pdo-mysql --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --enable-mbstring --enable-bcmath --with-xmlrpc --with-xsl Thanks, -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php