Skip to content

Instantly share code, notes, and snippets.

Embed
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
[Downloading]: http://php.net/distributions/php-5.6.5.tar.bz2
[Preparing]: /tmp/php-build/source/5.6.5
-----------------
| BUILD ERROR |
-----------------
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.5.6.5.20150214044356.log'.
[Warn]: Aborting build.
~$ sudo php-build 5.6.5 /usr/local
sudo: php-build: command not found
~$ hostname
samus
~$ 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
You can’t perform that action at this time.