php.net |  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
Votes:7
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 8 = ?
Subscribe to this entry?

 
 [2015-06-12 02:08 UTC] robert dot devanna at nospammail dot net
Description:
------------
./configure ...
make
	Generating phar.php
	Generating phar.phar
	PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
	clicommand.inc
	pharcommand.inc
	invertedregexiterator.inc
	directorygraphiterator.inc
	directorytreeiterator.inc
	phar.inc

	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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-12 06:31 UTC] tyrael@php.net
-Assigned To: +Assigned To: tyrael
 [2015-07-25 12:12 UTC] cweiske@php.net
This bug is fixed with PEAR 1.10.0dev1; see http://cweiske.de/tagebuch/pear-1.10.0dev1.htm

That version should be included in PHP now.
 [2015-07-27 14:28 UTC] tyrael@php.net
-Status: Assigned +Status: Closed
 [2015-07-27 14:28 UTC] tyrael@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

the fix should be part of 7.0.0beta3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC