Skip to content

Instantly share code, notes, and snippets.

@gutchom
Created June 8, 2015 09:29
Show Gist options
  • Save gutchom/3e218c5a3dc706a7b9a0 to your computer and use it in GitHub Desktop.
Save gutchom/3e218c5a3dc706a7b9a0 to your computer and use it in GitHub Desktop.
chomBookPro:~ gutchom$ php-build 5.3.19 ~/.phpenv/versions/5.3.19
[Info]: Loaded apc Plugin.
[Info]: Loaded pyrus Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 5.3.19 into /Users/gutchom/.phpenv/versions/5.3.19
[Skipping]: Already downloaded and extracted http://downloads.php.net/johannes/php-5.3.19.tar.bz2
[Preparing]: /var/tmp/php-build/source/5.3.19
[Compiling]: /var/tmp/php-build/source/5.3.19
-----------------
| BUILD ERROR |
-----------------
Here are the last 10 lines from the log:
-----------------------------------------
/var/tmp/php-build/source/5.3.19/ext/readline/readline.c:480:18: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
matches[1] = '\0';
^~~~
1 warning generated.
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
/usr/local/Cellar/httpd22/2.2.29/build/instdso.sh SH_LIBTOOL='/usr/local/Cellar/apr/1.5.1/build-1/libtool' libs/libphp5.so /usr/local/Cellar/httpd22/2.2.29/libexec
cp: /usr/local/Cellar/httpd22/2.2.29/libexec/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
-----------------------------------------
The full Log is available at '/tmp/php-build.5.3.19.20150608181316.log'.
[Warn]: Aborting build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment