From: lepage at grm dot polymtl dot ca Operating system: Solaris 10 PHP version: 5.3.1 PHP Bug Type: Compile Failure Bug description: Compaling 5.31 on Solaris 10
Description: ------------ Cannot gcc compile php 5.3.1 on Solaris 10 (sparc) since it's failing with phar/phar.php error. It was the same with php 5.3.0. SunStudio is not an option since many libs are done with gcc and there is incompatibilities with some dependencies. php 515 does compile on Solaris 10. thanks. Reproduce code: --------------- php-5.3.1% make Generating phar.phar Parse error: syntax error, unexpected $end in /share/concorde/xta3511/install/web/php-5.3.1/ext/phar/phar.php on line 19 *** Error code 255 The following command caused the error: ` if test -x "/share/concorde/xta3511/install/web/php-5.3.1/sapi/cli/php"; then /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- "/share/concorde/xta3511/install/web/php-5.3.1/sapi/cli/php -n"; if test "x" != "x"; then /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- " -d extension_dir=/share/concorde/xta3511/install/web/php-5.3.1/modules"; for i in bz2 zlib phar; do if test -f "/share/concorde/xta3511/install/web/php-5.3.1/modules/$i.la"; then . /share/concorde/xta3511/install/web/php-5.3.1/modules/$i.la; /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- ""; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' ext/phar/phar.php pack -f ext/phar/phar.phar -a pharcommand -c auto -x \\.svn -p 0 -s /share/concorde/xta3511/install/web/php-5.3.1/ext/phar/phar/phar.php -h sha1 -b "`if test -x ""; then /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- ""; else /share/concorde/xta3511/install/web/php-5.3.1/build/shtool echo -n -- "/usr/local_10/opt/php-531/bin/php"; fi; `" /share/concorde/xta3511/install/web/php-5.3.1/ext/phar/phar/ make: Fatal error: Command failed for target `ext/phar/phar.phar' Expected result: ---------------- to compile. Actual result: -------------- failed compiling. -- Edit bug report at http://bugs.php.net/?id=50400&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50400&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50400&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50400&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50400&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50400&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50400&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50400&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50400&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50400&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50400&r=support Expected behavior: http://bugs.php.net/fix.php?id=50400&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50400&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50400&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50400&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50400&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50400&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50400&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50400&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50400&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50400&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50400&r=mysqlcfg