Re: [PHP-QA] Compilation issue with php 5.00 and mysqli-extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jochen,

you need mysql 4.1.2+
your version is too old :-)

Saturday, February 7, 2004, 7:09:13 PM, you wrote:

> 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




-- 
Best regards,
 Marcus                            mailto:helly@xxxxxxx

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux