Skip to content
This repository

PEAR package PHP_Archive not installed Warning Causing Install Abort #115

Open
cgunnels opened this Issue March 22, 2013 · 5 comments

4 participants

Chris Gunnels Loïc Frering William Durand Janez Troha
Chris Gunnels

I keep getting this error trying to install various version of php. What can I do to fix this?PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.

Loïc Frering
Collaborator

Are all these versions you are trying to build on the 5.5 branch?

Chris Gunnels

No, they are versions i'm trying to install on my Mac.

William Durand

Looks like I am experiencing the same issue right now.. (OSX Mavericks)

Janez Troha

:+1:

Step 16 : RUN php-build -i development 5.3.28 /opt/php/5.3
 ---> Running in a7e4a0cf0fba
[Info]: Loaded apc Plugin.
[Info]: Loaded pyrus Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: php.ini-development gets used as php.ini
[Info]: Building 5.3.28 into /opt/php/5.3



[Pyrus]: Downloading from http://pear2.php.net/pyrus.phar
[Pyrus]: Installing executable in /opt/php/5.3/bin/pyrus
[XDebug]: Downloading http://xdebug.org/files/xdebug-2.2.3.tgz
[XDebug]: Compiling in /tmp/php-build/source/xdebug-2.2.3

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

Here are the last 10 lines from the log:

-----------------------------------------
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_main.c:1828:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_main.c:1837:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_signals.c: In function 'sig_handler':
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_signals.c:177:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_unix.c: In function 'fpm_unix_init_child':
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/fpm_unix.c:186:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c: In function 'zlog_ex':
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c:191:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/tmp/php-build/source/5.3.28/sapi/fpm/fpm/zlog.c:195:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.

Docker file https://github.com/wpdevtool/docker-php/blob/master/Dockerfile

Janez Troha dz0ny referenced this issue from a commit in wtool/php-build January 14, 2014
Add: More ubuntu like build
This also fixes CHH#115. Here we added support for gz and with it enabling automatic detection for phar.
10044d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.