ID:               29298
 Updated by:       [EMAIL PROTECTED]
 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:

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.


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

[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] [EMAIL PROTECTED]

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

Reply via email to