#21802 [Com]: unexpected T_WHITESPACE
| From: | thomas dot lamy at in-online dot net | Date: | Thu, 03 Apr 2003 07:02:34 +0000 |
| Subject: | #21802 [Com]: unexpected T_WHITESPACE | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14830@lists.php.net to get a copy of this message | ||
ID: 21802
Comment by: thomas dot lamy at in-online dot net
Reported By: gmourani at openna dot com
Status: No Feedback
Bug Type: PEAR related
Operating System: OpenNA Linux
PHP Version: 4.3.0
New Comment:
Seems like this bug is introduced when re-building
Zend/zend_language_scanner.c with flex. Try to build again from fresh
source, and with proper date/time on the build host.
Previous Comments:
------------------------------------------------------------------------
[2003-03-30 02:08:56] thomas dot lamy at in-online dot net
Same problem here, with debian/sarge and php-4.3.1.
I really don't have a clue, but suspect sablotron or expat to cause
this.
I use ablotron (0.9.7) and expat (1.95.6), and the debian-scripts from
the deb package maintainer.
configure:
--enable-memory-limit \
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-db2 \
--with-iconv \
--with-gdbm \
--enable-exif \
--enable-filepro \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--with-pcre-regex=/usr \
--enable-shmop \
--enable-sockets \
--enable-wddx \
--with-xml=/usr --with-expat-dir=/usr \
--enable-yp \
--with-zlib \
--without-pgsql
------------------------------------------------------------------------
[2003-03-19 16:48:16] sniper@php.net
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.
------------------------------------------------------------------------
[2003-03-13 12:15:42] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-03-08 09:17:05] alan_k@php.net
so what do the first 4 lins of install-pear.php look like?
/usr/src/openna/BUILD/php-4.3.0/pear/install-pear.php on line 3
can you try 4.3.1 see if that helps?
------------------------------------------------------------------------
[2003-01-21 12:45:22] gmourani at openna dot com
Compiling PHP 4.3.0 with Pear support fail to install and return the
following message:
Parse error: syntax error, unexpected T_WHITESPACE in
/usr/src/openna/BUILD/php-4.3.0/pear/install-pear.php on line 3
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.19931 (%install)
Configure line is as follow:
%configure \
--prefix=%{_prefix} \
--with-layout=GNU \
--with-config-file-path=%{_sysconfdir}/httpd \
--enable-force-cgi-redirect \
--with-apxs2=%{_sbindir}/apxs \
--with-exec-dir=%{_bindir} \
--with-openssl \
--with-zlib \
--with-bz2 \
--with-gd \
--with-ttf \
--with-png \
--with-jpeg-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-freetype-dir=%{_prefix} \
--with-expat-dir=%{_prefix} \
--with-gmp \
--with-xml \
--with-curl \
--with-mm \
--with-pear=%{_datadir}/pear \
--with-imap=shared \
--with-imap-ssl \
--with-mysql=shared,%{_prefix} \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-pgsql=shared \
--with-ldap=shared \
--disable-static \
--disable-debug \
--disable-rpath \
--disable-posix \
--disable-tokenizer \
--enable-discard-path \
--enable-safe-mode \
--enable-magic-quotes \
--enable-bcmath \
--enable-dio \
--enable-gd-native-ttf \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-wddx \
--enable-inline-optimization \
--enable-memory-limit
G
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21802&edit=1