|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69807 `make install` fail @ "recipe for target 'install-pear-installer' failed"
Submitted: 2015-06-12 02:08 UTC Modified: 2015-07-27 14:28 UTC
Avg. Score:4.3 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:6 (100.0%)
Same OS:5 (83.3%)
From: robert dot devanna at nospammail dot net Assigned: tyrael (profile)
Status: Closed Package: *Compile Issues
PHP Version: 7.0.0alpha1 OS: linux/64
Private report: No CVE-ID: None
 [2015-06-12 02:08 UTC] robert dot devanna at nospammail dot net
./configure ...
	Generating phar.php
	Generating phar.phar
	PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.

	Build complete.
	Don't forget to run 'make test'.

make install
	Installing shared extensions:     /usr/local/php7ext/
	Installing PHP CLI binary:        /usr/local/php7/bin/
	Installing PHP CLI man page:      /usr/local/php7/share/man/man1/
	Installing PHP FPM binary:        /usr/local/php7/sbin/
	Installing PHP FPM config:        /usr/local/php7/etc/
	Installing PHP FPM man page:      /usr/local/php7/share/man/man8/
	Installing PHP FPM status page:      /usr/local/php7/share/php/fpm/
	Installing build environment:     /usr/local/php7/lib64/build/
	Installing header files:          /usr/local/php7/include/php/
	Installing helper programs:       /usr/local/php7/bin/
	  program: phpize
	  program: php-config
	Installing man pages:             /usr/local/php7/share/man/man1/
	  page: phpize.1
	  page: php-config.1
	Installing PEAR environment:      /usr/local/php7/share/pear/

	Warning: main(phar://install-pear-nozlib.phar/index.php): failed to open stream: "PHP_Archive::stream_open" call failed in /usr/local/src/php7-src/pear/install-pear-nozlib.phar on line 1236

	Warning: Uncaught EngineException: Call to undefined function ereg_replace() in /usr/local/src/php7-src/pear/install-pear-nozlib.phar:566
	Stack trace:
	#0 /usr/local/src/php7-src/pear/install-pear-nozlib.phar(729): PHP_Archive::processFile('phar://install-...')
	#1 /usr/local/src/php7-src/pear/install-pear-nozlib.phar(790): PHP_Archive->initializeStream('phar://install-...')
	#2 /usr/local/src/php7-src/pear/install-pear-nozlib.phar(777): PHP_Archive->_streamOpen('phar://install-...')
	#3 /usr/local/src/php7-src/pear/install-pear-nozlib.phar(1236): PHP_Archive->stream_open('phar://install-...', 'rb', 129, NULL)
	#4 /usr/local/src/php7-src/pear/install-pear-nozlib.phar(1236): require_once()
	#5 {main}
	  thrown in /usr/local/src/php7-src/pear/install-pear-nozlib.phar on line 566
	Makefile:482: recipe for target 'install-pear-installer' failed
	make[1]: *** [install-pear-installer] Error 255
	Makefile:485: recipe for target 'install-pear' failed
	make: *** [install-pear] Error 2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-12 06:31 UTC]
-Assigned To: +Assigned To: tyrael
 [2015-07-25 12:12 UTC]
This bug is fixed with PEAR 1.10.0dev1; see

That version should be included in PHP now.
 [2015-07-27 14:28 UTC]
-Status: Assigned +Status: Closed
 [2015-07-27 14:28 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

the fix should be part of 7.0.0beta3
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 09:03:41 2022 UTC