ID: 44137 User updated by: jari dot tuomoja at gmail dot com Reported By: jari dot tuomoja at gmail dot com -Status: Feedback +Status: Open Bug Type: MySQLi related Operating System: Fedora Core 6, x86_64 PHP Version: 5.2.5 New Comment:
Here is the configure script: ./configure --with-zlib-dir=/usr/local/ --enable-shared --enable-static --disable-short-tags --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql/ --enable-exif --with-gd=/usr/local/ --with-freetype-dir=/usr/local/include/freetype2/ --with-png-dir=/usr/local/include/ --enable-mbstring=all --enable-gd-native-ttf --enable-calendar --enable-zip --enable-sqlite-utf8 --with-openssl --with-mcrypt --with-mhash --with-pear --enable-soap --enable-mod-charset --enable-ftp --with-xsl ./configure is succeed but when running make, then come this: /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_change_user': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:420: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_kill': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1152: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_ping': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1333: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_prepare': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1376: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1377: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1383: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_real_connect': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1453: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1454: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_real_query': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1492: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_select_db': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:1761: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_store_result': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2058: error: 'NET' has no member named 'last_error' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_use_result': /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no member named 'last_errno' /usr/src/php-5.2.5/ext/mysqli/mysqli_api.c:2112: error: 'NET' has no member named 'last_error' make: *** [ext/mysqli/mysqli_api.lo] Error 1 I hope this helps. --JARI-- Previous Comments: ------------------------------------------------------------------------ [2008-02-16 18:11:31] [EMAIL PROTECTED] Can't reproduce, please give the relevant error messages and, if possible, the link to MySQL Bug. Thanks. ------------------------------------------------------------------------ [2008-02-16 07:20:01] jari dot tuomoja at gmail dot com Description: ------------ When compiling MySQL 5.1.23-rc, option --with-mysqli=/youd/dir/to/mysql_config will always fail. MySQL and PDO are working ok but mysqli is failing. With MySQL 5.1.22-rc everything works well. MySQL answered that this is a bug in PHP, not in MySQL. MySQL server is working okay. Reproduce code: --------------- Compile php-5.2.5 with mysqli -option. Expected result: ---------------- Compile ok Actual result: -------------- Error messages and compile will exit ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44137&edit=1