Le ven. 9 juin 2017 à 13:12, Michelangelo van Dam <drago...@gmail.com> a
écrit :

> Hello mailing list,
>
>
> I keep on running into the following error when executing "make install"
>
> sudo make install
> Installing shared extensions:
>  /usr/local/lib/php/extensions/no-debug-non-zts-20160303/
> Installing PHP CLI binary:        /usr/local/bin/
> Installing PHP CLI man page:      /usr/local/php/man/man1/
> Installing phpdbg binary:         /usr/local/bin/
> Installing phpdbg man page:       /usr/local/php/man/man1/
> Installing PHP CGI binary:        /usr/local/bin/
> Installing PHP CGI man page:      /usr/local/php/man/man1/
> Installing build environment:     /usr/local/lib/php/build/
> Installing header files:          /usr/local/include/php/
> Installing helper programs:       /usr/local/bin/
>   program: phpize
>   program: php-config
> Installing man pages:             /usr/local/php/man/man1/
>   page: phpize.1
>   page: php-config.1
> Installing PEAR environment:      /usr/local/lib/php/
> Makefile:445: recipe for target 'install-pear-installer' failed
> make[1]: *** [install-pear-installer] Error 255
> Makefile:448: recipe for target 'install-pear' failed
> make: *** [install-pear] Error 2
>
> To give you an idea of my setup, I've got a complete procedure here
>
> Building a vagrant box for PHP testing
>
> vagrant init debian/jessie64
> vagrant box update
> vagrant up --provider virtualbox
>
> Enter the vagrant box
>
> vagrant ssh
>
> Some tools to be installed on the vagrant box using "apt"
>
> sudo apt-get install \
>   automake \
>   autoconf \
>   libtool \
>   re2c \
>   flex \
>   bison \
>   libxml2-dev \
>   make \
>   curl
>
> Grap the public keys for PHP 7.2 from https://secure.php.net/gpg-keys.php
>
> gpg --search-keys poll...@php.net
> gpg --search-keys r...@php.net
>
> Download the PHP alpha sources + signatures
>
> curl -L -O https://downloads.php.net/~pollita/php-7.2.0alpha1.tar.bz2
> curl -L -O https://downloads.php.net/~pollita/php-7.2.0alpha1.tar.bz2.asc
>
> Verify the package
>
> gpg --verify php-7.2.0alpha1.tar.bz2.asc php-7.2.0alpha1.tar.bz2
>
> You should see something like the following
>
> gpg: Signature made Tue 06 Jun 2017 01:54:01 PM GMT using RSA key ID
> 70D12172
> gpg: Good signature from "Sara Golemon <poll...@php.net>"
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg:          There is no indication that the signature belongs to the
> owner.
> Primary key fingerprint: 1729 F839 38DA 44E2 7BA0  F4D3 DBDB 3974 70D1 2172
>
> Don't forget to verify the fingerprint on
> https://secure.php.net/gpg-keys.php!
>
> Time to unpack the package
>
> tar -xjf php-7.2.0alpha1.tar.bz2
> cd php-7.2.0alpha1/
>
> Configure PHP with the defaults
>
> ./configure && make
>
> Time to test PHP on your system!
>
> make test
>
> Now install PHP system wide
>
> sudo make install
>
> And I'm not able to proceed here :-(
>

Hi Michelangelo,

Are you sure it *completely* fails? To me, it looks like it's only the
PEAR-related stuff that are not installed.

Check if you have a "php" executable in /usr/local/bin/ (and its date).

Otherwise, you can also disable PEAR by adding "--without-pear" to the
configure command:

configure --without-pear && make -j 4

Cheers,
Patrick

Reply via email to