#27662 [Opn->Fbk]: compile error in mysqli_prop.c:189
| From: | amt@php.net | Date: | Tue, 23 Mar 2004 20:45:31 +0000 |
| Subject: | #27662 [Opn->Fbk]: compile error in mysqli_prop.c:189 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56706@lists.php.net to get a copy of this message | ||
ID: 27662
Updated by: amt@php.net
Reported By: marcel dot tschopp at gmx dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Debian 3.0
PHP Version: 5.0.0RC1
New Comment:
Try using the latest MySQL 4.1.x snapshot from http://
snaps.mysql.com.
mysqli was altered to correspond with some very recent
MySQL modifications.
Previous Comments:
------------------------------------------------------------------------
[2004-03-23 15:40:31] om-oss at omx dot ch
> You need mysql >= 4.1.1
well, isn't 5.0.0 >= 4.1.1 ?
------------------------------------------------------------------------
[2004-03-23 15:38:39] marcel dot tschopp at gmx dot net
mysql is version 5.0a, source distribution.
and the configure script is the same as following:
'./configure' \
'--prefix=/usr/local/php5' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--enable-track-vars' \
'--enable-safe-mode' \
'--with-gd' \
'--with-ttf' \
'--with-mysqli=/usr/local/bin/mysql_config' \
'--with-xml' \
'--with-xslt' \
'--enable-memory-limit' \
'--with-zlib' \
'--enable-ftp' \
'--with-openssl' \
'--with-ldap' \
'--enable-soap' \
'--enable-shmop';
------------------------------------------------------------------------
[2004-03-23 15:37:15] helly@php.net
You need mysql >= 4.1.1
------------------------------------------------------------------------
[2004-03-23 15:30:09] om-oss at omx dot ch
I have exactely the same problem here, with mysql 5, under suse linux
9.0, and an even smaller configure: juste with-apxs2 + with-mysqli.
------------------------------------------------------------------------
[2004-03-23 15:26:28] marcel dot tschopp at gmx dot net
Description:
------------
Compile failure occurs with PHP5RC1 and the current CVS tree.
Successfully compiled with PHP5b4:
'./configure' \
'--prefix=/usr/local/php5' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--enable-track-vars' \
'--enable-safe-mode' \
'--with-gd' \
'--with-ttf' \
'--with-mysqli=/usr/local/bin/mysql_config' \
'--enable-embedded-mysqli' \
'--with-xml' \
'--with-xslt' \
'--enable-memory-limit' \
'--with-zlib' \
'--enable-ftp' \
'--with-openssl' \
'--with-ldap' \
'--enable-soap' \
'--enable-shmop';
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c: In function
`stmt_affected_rows_read':
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error:
structure has no member named `affected_rows'
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error:
structure has no member named `affected_rows'
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error:
structure has no member named `affected_rows'
make: *** [ext/mysqli/mysqli_prop.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27662&edit=1