#26680 [Opn->Csd]: Build of MySQLi extension failed (SERVER_QUERY_NO_GOOD_INDEX_USED undeclared)
ID: 26680
Updated by: georg@php.net
Reported By: rabus at users dot sourceforge dot net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.4.22 (Fedora Core 1)
PHP Version: 5CVS-2003-12-20 (dev)
Assigned To: georg
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-20 17:06:36] rabus at users dot sourceforge dot net
I just tried the same with the official beta 2 release and it worked
fine.
------------------------------------------------------------------------
[2003-12-20 15:58:22] rabus at users dot sourceforge dot net
Description:
------------
I tried to build the latest CVS snapshot of php 5 with MySQLi extension
against MySQL 4.1.1-alpha.
Unfortunately, the build failed with the error messages below.
Reproduce code:
---------------
./configure --prefix=/usr --with-apxs2 --with-config-file-path=/etc
--with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar
--with-curl --with-curlwrappers --enable-dba --with-db4 --with-flatfile
--enable-dbx --enable-dio --enable-ftp --with-recode --with-gd=/usr
--with-mysql=/usr --with-mysqli=/usr/bin/mysql_config
make
Expected result:
----------------
I expect php to be compiled.
Actual result:
--------------
/bin/sh /root/src/php5-200312200030/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/mysqli/
-I/root/src/php5-200312200030/ext/mysqli/ -DPHP_ATOM_INC
-I/root/src/php5-200312200030/include
-I/root/src/php5-200312200030/main -I/root/src/php5-200312200030
-I/root/src/php5-200312200030/Zend -I/usr/include/libxml2
-I/usr/include/mysql -I/root/src/php5-200312200030/TSRM -g -O2
-prefer-pic -c /root/src/php5-200312200030/ext/mysqli/mysqli_report.c
-o ext/mysqli/mysqli_report.lo
/root/src/php5-200312200030/ext/mysqli/mysqli_report.c: In function
`php_mysqli_report_index':
/root/src/php5-200312200030/ext/mysqli/mysqli_report.c:64: error:
`SERVER_QUERY_NO_GOOD_INDEX_USED' undeclared (first use in this
function)
/root/src/php5-200312200030/ext/mysqli/mysqli_report.c:64: error: (Each
undeclared identifier is reported only once
/root/src/php5-200312200030/ext/mysqli/mysqli_report.c:64: error: for
each function it appears in.)
/root/src/php5-200312200030/ext/mysqli/mysqli_report.c:66: error:
`SERVER_QUERY_NO_INDEX_USED' undeclared (first use in this function)
make: *** [ext/mysqli/mysqli_report.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26680&edit=1
Thread (3 messages)