Compilation issue with php 5.00 and mysqli-extension
| From: | Jochen | Date: | Sat, 07 Feb 2004 18:09:13 +0000 |
| Subject: | Compilation issue with php 5.00 and mysqli-extension | ||
| Groups: | php.db php.general php.install php.qa | ||
| Request: | Send a blank email to php-db+get-32833@lists.php.net to get a copy of this message | ||
Hi all,
i am trying to compile
php 5.0.0 beta 3
using:
Apache 2.0.47
MySQL 4.1.1-alpha-debug-debug
with the mysqli extensions under linux.
When i try to compile php, gcc will bail of with the following message:
/bin/sh /home/jochen/Documents/php/php-5.0.0b3/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/mysqli/ -I/home/jochen
Documents/php/php-5.0.0b3/ext/mysqli/ -DPHP_ATOM_INC -I/home/jochen
Documents/php/php-5.0.0b3/include -I/home/jochen/Documents/php/php-5.0.0b3
main -I/home/jochen/Documents/php/php-5.0.0b3 -I/home/jochen/Documents/php
php-5.0.0b3/Zend -I/usr/include/libxml2 -I/usr/local/mysql/include -I
home/jochen/Documents/php/php-5.0.0b3/TSRM -g -O2 -prefer-pic -c /home
jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c -o ext/mysqli
mysqli_report.lo
/home/jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c: In
function `php_mysqli_report_index':
/home/jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c:64: error:
`SERVER_QUERY_NO_GOOD_INDEX_USED' undeclared (first use in this function)
/home/jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c:64: error:
(Each undeclared identifier is reported only once
/home/jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c:64: error:
for each function it appears in.)
/home/jochen/Documents/php/php-5.0.0b3/ext/mysqli/mysqli_report.c:66: error:
`SERVER_QUERY_NO_INDEX_USED' undeclared (first use in this function)
make: *** [ext/mysqli/mysqli_report.lo] Fehler 1
Nor i can find a definition of SERVER_QUERY_NO_GOOD_INDEX_USED or
SERVER_QUERY_NO_INDEX_USED
my ./configure parameters are:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --without-mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
Has anyone got an idea of how to avoid that?
Regards,
Jochen