ID:               28767
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Franck at e-Dot dot nl
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.19C13V (Sun Cobalt)
 PHP Version:      5.0.0RC3
 New Comment:

that's the same for us


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

[2004-07-05 10:49:55] Franck at e-Dot dot nl

Sorry, but the bug id's you gave are about Compiling failures with
MySQL 5. I'm not using MySQL 5, but MySQL 4.1.1 & 4.1.2!

Please read/check my bug report again.

With kind regards,

Franck Nijhof

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

[2004-07-05 10:43:38] [EMAIL PROTECTED]

see #28611, #27642

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

[2004-07-05 02:18:08] koshnarek at mdsystem dot homeunix dot com

the same here (PHP5 RC3, MySQL 5.0.0-alpha, Debian GNU/Linux -
2.6.7-1-686):

./configure \
--with-config-file-path=/etc/php \
--with-apxs2=/usr/bin/apxs2 \
--with-mysqli=/usr/lib/mysql/bin/mysql_config \
--with-unixODBC=/usr/include/ \
--with-java=/usr/lib/j2sdk/ \
--with-gettex=/usr/ \
--with-fam=/usr/include/ \
--with-gd=/usr/ \
--with-ttf=/usr/include/ \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-zlib-dir=/usr/ \
--with-xpm-dir=/usr/include/ \
--with-zip=/usr/include/ \
--with-bz2=/usr/include/ \
--with-curl=/usr/include/ \
--with-curlwrappers \
--with-xsl=/usr/include/ \
--with-expat-dir=/usr/include/ \
--with-xmlrpc=/usr/ \
--with-tidy=/usr/ \
--with-openssl=/usr/ \
--with-mcrypt=/usr/ \
--with-snmp=/usr/ \
--with-xslt-sablot \
--enable-ucd-snmp-hack \
--enable-gd-native-ttf \
--enable-bcmath \
--enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
--enable-memory-limit \
--enable-dbx \
--enable-simplexml \
--enable-exif \
--enable-ftp \
--enable-mailparse \
--enable-wddx \
--enable-xslt \
--enable-soap \
--enable-pcntl \
--enable-yp \
--enable-sockets \
--disable-cgi

at this point everything is OK, when I run "make":

/root/php5-5.0.0/ext/iconv/iconv.c: In function
`php_iconv_stream_filter_append_bucket':
/root/php5-5.0.0/ext/iconv/iconv.c:2444: warning: passing arg 2 of
`iconv' from incompatible pointer type
In file included from /root/php5-5.0.0/ext/mysqli/mysqli.c:31:
/root/php5-5.0.0/ext/mysqli/php_mysqli.h:86: error:
`LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function)
/root/php5-5.0.0/ext/mysqli/mysqli.c: In function
`php_local_infile_init':
/root/php5-5.0.0/ext/mysqli/mysqli.c:744: error:
`LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function)
/root/php5-5.0.0/ext/mysqli/mysqli.c:744: error: (Each undeclared
identifier is reported only once
/root/php5-5.0.0/ext/mysqli/mysqli.c:744: error: for each function it
appears in.)
/root/php5-5.0.0/ext/mysqli/mysqli.c: In function
`php_local_infile_read':
/root/php5-5.0.0/ext/mysqli/mysqli.c:825: error:
`LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function)
make: ** [ext/mysqli/mysqli.lo] Erro 1

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

[2004-06-21 13:40:57] francois at nor-web dot ca

I cannot compile PHP5 RC3 either.
I compiled PHP5Rc1, PHP5Rc2 without problem.

Config:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-zlib --enable-sockets --enable-soap --enable-shmop
--with-mysqli

MySQL version:
MySQL-server-4.1.1-1
MySQL-shared-4.1.1-0
MySQL-client-4.1.1-0
MySQL-devel-4.1.1-0

Linux version:
Mandrake Linux 10.0 official kernel 2.6.3-7mdksmp

In file included from /opt/php-5.0.0RC3/ext/mysqli/mysqli.c:31:
/opt/php-5.0.0RC3/ext/mysqli/php_mysqli.h:86: error:
`LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function)
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c: In function
`php_local_infile_init':
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c:744: error:
`LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function)
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c:744: error: (Each undeclared
identifier is reported only once
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c:744: error: for each function it
appears in.)
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c: In function
`php_local_infile_read':
/opt/php-5.0.0RC3/ext/mysqli/mysqli.c:825: error:
`LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function)
make: *** [ext/mysqli/mysqli.lo] Error 1

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

[2004-06-14 11:31:58] Franck at e-Dot dot nl

Ow forgot to say:

Without the --with-mysqli line in the configuration, everything works
like a charm!

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28767

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

Reply via email to