From: rjmooney at lsb dot syr dot edu Operating system: OpenBSD 3.2 PHP version: 4.3.3 PHP Bug Type: Reproducible crash Bug description: make install: "parse error"
Description: ------------ PHP 4.3.3 builds as expected under OpenBSD 3.2 w/ Apache 1.3.27. However, when I attempt to install, I receive the following: -- cut here -- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). ... Installing PEAR environment: /usr/local/lib/php/ Parse error: parse error in ./php-4.3.3/pear/package-Archive_Tar.xml on line 1 *** Error code 255 -- cut here -- Line 1 of Archive_Tar.xml is: <?xml version="1.0" encoding="ISO-8859-1" ?> Here are my configure options: ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml --with-pgsql --enable-ftp --enable-short-tags --enable-calendar --enable-track-vars --with-tsrm-pth --enable-sockets --with-gettext --with-zlib-dir --with-jpeg --with-png --with-gd --with-exif --with-ttf --with-bcmath --with-pspell --with-pdflib --with-config-file-path=/var/www/conf The module does seems to work (phpinfo() reports the correct version), however attempting a command from the command prompt such as "php -v" hangs waiting for input. 4.3.2 does not have this problem. Reproduce code: --------------- $ ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml --with-pgsql --enable-ftp --enable-short-tags --enable-calendar --enable-track-vars --with-tsrm-pth --enable-sockets --with-gettext --with-zlib-dir --with-jpeg --with-png --with-gd --with-exif --with-ttf --with-bcmath --with-pspell --with-pdflib --with-config-file-path=/var/www/conf $ make # make install Expected result: ---------------- No installation errors. -- Edit bug report at http://bugs.php.net/?id=25348&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25348&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25348&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25348&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25348&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25348&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25348&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25348&r=support Expected behavior: http://bugs.php.net/fix.php?id=25348&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25348&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25348&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25348&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25348&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25348&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25348&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25348&r=gnused