Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
~$ sudo php-build 5.6.5 /usr/local
[Info]: Loaded extension plugin
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded pyrus Plugin.
[Info]: Loaded uprofiler Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 5.6.5 into /usr/local
[Preparing]: /tmp/php-build/source/5.6.5
Here are the last 10 lines from the log:
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: 3.0).
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
malloc: ../bash/jobs.c:743: assertion botched
free: called with unallocated block argument
Aborting..../configure: line 2360: ${+set}: bad substitution
./configure: line 2369: =yes: command not found
configure: error: xml2-config not found. Please check your libxml2 installation.
The full Log is available at '/tmp/php-build.'.
[Warn]: Aborting build.
~$ sudo php-build 5.6.5 /usr/local
sudo: php-build: command not found
~$ hostname
~$ sudo php-build 5.6.5 /usr/local
sudo: php-build: command not found
~$ cd /usr/
usr$ ls
bin games include lib sbin share src
usr$ pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment