先輩方にご相談させてください。
PHP7をphpenvを使って導入したいと考えています。
しかし、BUILD ERRORが起きてしまい解決方法がわかりません。
もし、ご存知の方がいらしたら知見を授けてください。
環境
- ubuntu15.04
- rbenv 0.4.0-154-g9e664b5
叩いたコマンド
$ phpenv install 7.0.0RC4 [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 7.0.0RC4 into /home/vagrant/.phpenv/versions/7.0.0RC4 [Downloading]: https://downloads.php.net/~ab/php-7.0.0RC4.tar.bz2 [Preparing]: /tmp/php-build/source/7.0.0RC4 ----------------- | BUILD ERROR | ----------------- Here are the last 10 lines from the log: ----------------------------------------- configure: WARNING: unrecognized options: --with-mysql configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: ). configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. configure: error: xml2-config not found. Please check your libxml2 installation. ----------------------------------------- The full Log is available at '/tmp/php-build.7.0.0RC4.20151006151145.log'. [Warn]: Aborting build.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。