ID: 26792
Updated by: [EMAIL PROTECTED]
Reported By: fletch at kmv dot ru
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: fedora core 1
PHP Version: 4CVS-2004-01-05 (stable)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-01-10 20:12:58] [EMAIL PROTECTED]
What bison / flex versions you have installed?
Also, try this configure line (EXACTLY AND ONLY THIS!):
# rm config.cache && ./configure --disable-all --disable-cgi
# make clean && make
Then run the script with the compiled sapi/cli/php binary.
------------------------------------------------------------------------
[2004-01-10 05:17:31] fletch at kmv dot ru
recompile without -march and -mcpu have not effect
------------------------------------------------------------------------
[2004-01-05 18:20:45] [EMAIL PROTECTED]
Does the error occur when php is compiled without -match
and -mcpu directives?
------------------------------------------------------------------------
[2004-01-05 07:16:59] fletch at kmv dot ru
Description:
------------
CFLAGS="${CFLAGS:--O2 -g -march=i386 -mcpu=i686}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:--O2 -g -march=i386 -mcpu=i686}" ; export
CXXFLAGS ;
FFLAGS="${FFLAGS:--O2 -g -march=i386 -mcpu=i686}" ; export FFLAGS ;
./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu \
--target=i386-redhat-linux \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc/httpd/ \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--prefix=/usr \
--with-config-file-path=/etc/httpd/ \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-mod_charset \
--with-curl \
--with-db4 \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-gd \
--with-gdbm \
--with-gettext \
--with-iconv \
--with-jpeg-dir=/usr \
--with-openssl \
--with-png \
--with-regex=system \
--with-ttf \
--with-xml \
--with-zlib \
--with-gif \
--with-layout=GNU \
--enable-bcmath \
--enable-debugger \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--without-pear \
--with-kerberos=/usr/kerberos \
--with-mysql=shared,/usr \
make ok
make install ok
usr/bin/php z.php
Parse error: parse error, unexpected T_WHITESPACE in
/home/httpd/htdocs/z.php on line 2
Reproduce code:
---------------
z.php
<?php
phpinfo();
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26792&edit=1