hdknr / note

Markdown Texts
http://qiita.com/hidelafoglia
7 stars 1 forks source link

PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. #25

Closed hdknr closed 7 years ago

hdknr commented 7 years ago
[xdebug]: Installing version 2.5.0
[xdebug]: Compiling xdebug in /tmp/php-build/source/xdebug-2.5.0

-----------------
|  BUILD ERROR  |
-----------------

Here are the last 10 lines from the log:

-----------------------------------------
/tmp/php-build/source/5.6.30/sapi/phpdbg/phpdbg_utils.h:57:108: note: in definition of macro ‘phpdbg_writeln’
 #define phpdbg_writeln(fmt, ...)            phpdbg_print(P_WRITELN TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
                                                                                                            ^
/tmp/php-build/source/5.6.30/sapi/phpdbg/phpdbg_watch.c:678:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
       phpdbg_writeln("");
                      ^
/tmp/php-build/source/5.6.30/sapi/phpdbg/phpdbg_utils.h:57:108: note: in definition of macro ‘phpdbg_writeln’
 #define phpdbg_writeln(fmt, ...)            phpdbg_print(P_WRITELN TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
                                                                                                            ^
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
-----------------------------------------

The full Log is available at '/tmp/php-build.5.6.30.20170127143651.log'.
[Warn]: Aborting build.
hdknr commented 7 years ago

autoconf

$  sudo apt-get install -y autoconf
hdknr commented 7 years ago
[xdebug]: Installing version 2.5.0
[xdebug]: Compiling xdebug in /tmp/php-build/source/xdebug-2.5.0
[xdebug]: Installing xdebug configuration in /home/system/.anyenv/envs/phpenv/versions/5.6.30/etc/conf.d/xdebug.ini
[xdebug]: Cleaning up.
[Info]: Enabling Opcache...
[Info]: Done
[Info]: The Log File is not empty, but the Build did not fail. Maybe just warnings got logged. You can review the log in /tmp/php-build.5.6.30.20170127151329.log
[Success]: Built 5.6.30 successfully.