Bug #55276 [Csd]: Phar Error 139
| From: | richard at bizznix dot com | Date: | Sat, 30 Jul 2011 14:35:41 +0000 |
| Subject: | Bug #55276 [Csd]: Phar Error 139 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162291@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55276&edit=1
ID: 55276
User updated by: richard at bizznix dot com
Reported by: richard at bizznix dot com
Summary: Phar Error 139
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: OS X 10.7
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Further investigation reveals that the 64 bit Oracle instant client does not work
on OS X 10.7.
Previous Comments:
------------------------------------------------------------------------
[2011-07-30 13:41:52] richard at bizznix dot com
The error 139 was due to the Oracle extension that is part of my PHP build. The
upgrade to OS X 10.7 killed my paths, which broke the Oracle PHP compile.
------------------------------------------------------------------------
[2011-07-24 16:05:48] richard at bizznix dot com
Description:
------------
I recently upgraded to OS X 10.7 with the newest Xcode tools installed. Whenever
I try to compile PHP, the make fails with an error 139, with the following text:
Generating phar.php
/bin/sh: line 1: 29420 Segmentation fault: 11 ` if test -x
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; then
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n --
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php -n"; if test
"x/Users/richardd/Downloads/php-5.3.6/modules/curl.la
/Users/richardd/Downloads/php-5.3.6/modules/mcrypt.la" != "x"; then
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- " -d
extension_dir=/Users/richardd/Downloads/php-5.3.6/modules"; for i in bz2 zlib
phar; do if test -f "/Users/richardd/Downloads/php-5.3.6/modules/$i.la"; then .
/Users/richardd/Downloads/php-5.3.6/modules/$i.la; /Users/richardd/Downloads/php-
5.3.6/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n --
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; fi;` -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d
'safe_mode=0'
/Users/richardd/Downloads/php-5.3.6/ext/phar/build_precommand.php >
ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 139
This happens with 5.3.6 and 5.3.7RC3.
Expected result:
----------------
Expect PHP to compile.
Actual result:
--------------
PHP compile fails.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55276&edit=1