#29298 [Asn->Csd]: MySQLI doesn't support versions < 4.1.3 anymore
| From: | georg@php.net | Date: | Thu, 22 Jul 2004 07:27:19 +0000 |
| Subject: | #29298 [Asn->Csd]: MySQLI doesn't support versions < 4.1.3 anymore | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63316@lists.php.net to get a copy of this message | ||
ID: 29298
Updated by: georg@php.net
Reported By: aditya at sanisoft dot com
-Status: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: Fedora Core 2
PHP Version: 5.0.0
Assigned To: georg
New Comment:
Message changed in HEAD and 5_0.
Previous Comments:
------------------------------------------------------------------------
[2004-07-22 08:46:07] derick@php.net
I spoke with Georg and he's changing the message, until then keep it
assigned to him.
------------------------------------------------------------------------
[2004-07-22 07:11:22] amt@php.net
I know 5.0.0 > 4.1.3, but since 5 is still alpha, it
sometimes lags behind the 4.1.x series in patches.
Therefore, things that have been merged into the 4.1.x
branch may not be in the 5.0.x branch.
For best results, at least today, you should always use
the 4.1.x branch with MySQLi. In the future, you'll also
be able to use the 5.0.x branch.
------------------------------------------------------------------------
[2004-07-22 06:53:10] aditya at sanisoft dot com
I understand difference between 4.1.2 apha and 4.1.3. But as I clearly
stated above, I have installed MySQL 5.0.0 alpha, which is greater than
4.1.3 atleast version wise.
Yes, I did take time out to read the manual and how to report
------------------------------------------------------------------------
[2004-07-21 15:19:55] georg@php.net
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 !
------------------------------------------------------------------------
[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