php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27662 compile error in mysqli_prop.c:189
Submitted: 2004-03-23 15:26 UTC Modified: 2004-03-23 16:10 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: marcel dot tschopp at gmx dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0RC1 OS: Debian 3.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marcel dot tschopp at gmx dot net
New email:
PHP Version: OS:

 

 [2004-03-23 15:26 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-23 15:30 UTC] 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:37 UTC] helly@php.net
You need mysql >= 4.1.1
 [2004-03-23 15:38 UTC] 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:40 UTC] 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:45 UTC] amt@php.net
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.
 [2004-03-23 15:47 UTC] amt@php.net
The 5.0.0 branch lags behind the 4.1.x branch in getting 
the most recent changes. You should use 4.1.x right now 
until everything settles down.
 [2004-03-23 15:47 UTC] om-oss at omx dot ch
So you mean it won't work yet with mysql 5.x (five) ?
 [2004-03-23 15:50 UTC] amt@php.net
Yes.
 [2004-03-23 15:52 UTC] om-oss at omx dot ch
okay, thanks! 
(maybe this information should be displayed somewhere, for example at configure time or in the docs).
 [2004-03-23 16:10 UTC] georg@php.net
As mentioned on the mysql.com Version 5.0 is a preview 
version for stored procedures. 
 
That means that bugfixes in 4.1 will not directly/
immediately merged into 5.0. Currently ext/mysqli only 
works with 4.1.1/4.1.2 
 [2004-03-23 16:51 UTC] om-oss at omx dot ch
Many thanks to amt and georg for your answers. 

Just a little info: the compilation works fine with mysql5 and the latest beta of php5 or the cvs php5rc2. So it's still strange that it is not working with rc1... :)

regards,
Olivier
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 10:01:33 2025 UTC