ID:               26680
 User updated by:  rabus at users dot sourceforge dot net
 Reported By:      rabus at users dot sourceforge dot net
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.22 (Fedora Core 1)
 PHP Version:      5CVS-2003-12-20 (dev)
 New Comment:

I just tried the same with the official beta 2 release and it worked
fine.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to