From:             rabus at users dot sourceforge dot net
Operating system: Linux 2.4.22 (Fedora Core 1)
PHP version:      5CVS-2003-12-20 (dev)
PHP Bug Type:     Compile Failure
Bug description:  Build of MySQLi extension failed (SERVER_QUERY_NO_GOOD_INDEX_USED 
undeclared)

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 bug report at http://bugs.php.net/?id=26680&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26680&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26680&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26680&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26680&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26680&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26680&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26680&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26680&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26680&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26680&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26680&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26680&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26680&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26680&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26680&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26680&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26680&r=float

Reply via email to