#50400 [Opn->Asn]: Compaling 5.31 on Solaris 10
| From: | felipe@php.net | Date: | Tue, 08 Dec 2009 00:49:56 +0000 |
| Subject: | #50400 [Opn->Asn]: Compaling 5.31 on Solaris 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145501@lists.php.net to get a copy of this message | ||
ID: 50400
Updated by: felipe@php.net
Reported By: lepage at grm dot polymtl dot ca
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Solaris 10
PHP Version: 5.3.1
Assigned To: dsp
Previous Comments:
------------------------------------------------------------------------
[2009-12-07 20:13:01] lepage at grm dot polymtl dot ca
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 this bug report at http://bugs.php.net/?id=50400&edit=1