- ```shell
- Generating phar.php
- /bin/sh: line 1: 76106 Segmentation fault: 11 ` if test -x "/private/tmp/php55-s69II3/php-5.5.18/sapi/cli/php"; then /private/tmp/php55-s69II3/php-5.5.18/build/shtool echo -n -- "/private/tmp/php55-s69II3/php-5.5.18/sapi/cli/php -n"; if test "x" != "x"; then /private/tmp/php55-s69II3/php-5.5.18/build/shtool echo -n -- " -d extension_dir=/private/tmp/php55-s69II3/php-5.5.18/modules"; for i in bz2 zlib phar; do if test -f "/private/tmp/php55-s69II3/php-5.5.18/modules/$i.la"; then . /private/tmp/php55-s69II3/php-5.5.18/modules/$i.la; /private/tmp/php55-s69II3/php-5.5.18/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /private/tmp/php55-s69II3/php-5.5.18/build/shtool echo -n -- "/private/tmp/php55-s69II3/php-5.5.18/sapi/cli/php"; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /private/tmp/php55-s69II3/php-5.5.18/ext/phar/build_precommand.php > ext/phar/phar.php
- make: *** [ext/phar/phar.php] Error 139
- ```
- 解决方案:
- ```shell
- xcode-select --install
- sudo xcode-select --switch /Library/Developer/CommandLineTools/
- ```