#29298 [Opn->Bgs]: MySQLI doesn't support versions < 4.1.3 anymore
ID: 29298
Updated by: georg@php.net
Reported By: aditya at sanisoft dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Fedora Core 2
PHP Version: 5.0.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
As the errormessage from configure clearly says you need MySQL
4.1.3-beta and not 4.1.2-alpha !
Previous Comments:
------------------------------------------------------------------------
[2004-07-21 14:05:13] aditya at sanisoft dot com
Description:
------------
When I tried to compile PHP-5 with MySQL-5.0.0 (alpha) rpm installed
from http://dev.mysql.com/downloads/mysql/5.0.html.
Have installed Server, Client programs, Libraries and header files and
Dynamic client libraries.
When I use configure ./configure --with-mysqli=/usr/bin/mysql_config
compilation stops with the error: configure: error: MySQLI doesn't
support versions < 4.1.3 anymore. Please update your libraries.
config.log shows:
/home/aditya/downloads/php-5.0.0/configure:55209: undefined reference
to `mysql_stmt_field_count'
collect2: ld returned 1 exit status
configure: failed program was:
#line 55202 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_stmt_field_count();
int main() {
mysql_stmt_field_count()
; return 0; }
I have already seen bug #29089.
Is this the same bug or different?
Should MySQL devs be bugged about it?
Expected result:
----------------
It should compile...
Actual result:
--------------
It does not compile :(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29298&edit=1
Thread (10 messages)