ID:               27642
 Comment by:       spam at 8304 dot ch
 Reported By:      josh at trutwins dot homeip dot net
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux SuSE 8.1
 PHP Version:      5.0.0RC1
 New Comment:

same problem under suse 9.0. 

5.0.0b4 compiled perfectely, but with the same config.nice build of
5.0.0rc1 fails:



#! /bin/sh

#

# Created by configure



'./configure' \

'--prefix=/usr/local/php5' \

'--with-apxs2=/usr/local/apache2/bin/apxs' \

'--with-iconv' \

'--enable-mbstring' \

'--enable-track-vars' \

'--enable-safe-mode' \

'--with-gd' \

'--with-curl' \

'--with-ttf' \

'--with-mysql=/usr/local/mysql500' \

'--with-mysqli=/usr/local/mysql500/bin/mysql_config' \

'--with-xml' \

'--enable-memory-limit' \

'--with-png-dir=/usr/lib' \

'--with-jpeg-dir=/usr/lib' \

'--with-freetype-dir=/usr/lib' \

'--with-zlib' \

'--enable-ftp' \

'--with-openssl' \

'--with-ldap' \

'--enable-mbstring' \

'--with-mssql=/usr/local/freetds' \

"$@"



/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


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

[2004-03-19 01:16:37] [EMAIL PROTECTED]

MySQL 5.0 is a preview version for SP's. 

Fixes and changes in 4.1 are currently not merged in 5.0 

tree, this will probably happen when 4.1.3-beta will come 

out. 

------------------------------------------------------------------------

[2004-03-18 19:23:43] josh at trutwins dot homeip dot net

Oops, bad subject.

------------------------------------------------------------------------

[2004-03-18 19:15:26] josh at trutwins dot homeip dot net

Description:
------------
Attempting to compile PHP-5.0.0RC1 with MySQL 5.0.0 alpha built from
source using --with-mysqli



Here is the error:



cc1: warning: changing search order for system directory
"/usr/local/include"

cc1: warning:   as it has already been specified as a non-system
directory

/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c: In
function `stmt_affected_rows_read':

/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189:
structure has no member named `affected_rows'

/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189:
structure has no member named `affected_rows'

/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189:
structure has no member named `affected_rows'

make: *** [ext/mysqli/mysqli_prop.lo] Error 1



Here is the configure script:



./configure \

--with-config-file-path=/etc/httpd \

--enable-libgcc \

--enable-sigchild \

--enable-track-vars \

--disable-ipv6 \

\

--with-apxs2=/usr/local/apache/bin/apxs \

\

--enable-exif \

--enable-ftp \

--enable-sockets \

--with-mcrypt \

--with-mhash \

--with-openssl \

--with-iconv \

--with-ncurses \

--with-readline \

--with-curl \

\

--with-bz2 \

--with-zip \

--with-zlib \

\

--with-mysqli=/usr/local/mysql/bin/mysql_config \

--with-mysql-sock=/usr/local/mysql/mysql.sock \

\

--with-pgsql=/usr/local/pgsql \

\

--with-oci8 \

\

--with-sqlite \

\

--with-gd \

--with-ttf \

--with-freetype \

--with-freetype-dir=/usr/X11/lib \

--with-png-dir=/usr \

--with-jpeg-dir=/usr \

--with-tiff-dir=/usr \

--with-xpm-dir=/usr \

\

--enable-xml \

--enable-wddx \

--with-xsl \

--with-expat-dir=/usr \

--with-libxml-dir=/usr/local \

--with-xmlrpc \

--with-dom \

--with-qtdom \

\

--with-java=/usr/local/java/ \

| tee config.out



System is SuSE 8.1 with gcc 3.2









------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27642&edit=1

Reply via email to