ID: 26792
User updated by: fletch at kmv dot ru
Reported By: fletch at kmv dot ru
-Status: Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: fedora core 1
PHP Version: 4CVS-2004-01-05 (stable)
New Comment:
recompile without -march and -mcpu have not effect
Previous Comments:
------------------------------------------------------------------------
[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