PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #5346

Installation failure

Details

Submitted2005-09-09 07:14 UTC
Fromper at computer dot org
Assignedcellog
StatusNo Feedback
PackagePEAR
PHP Version5_1 CVS-2005-09-09
OSLInux
Roadmaps(Not assigned)

Comments

[2005-09-09 07:14 UTC] per at computer dot org

Description:
------------
I built the 200509090630 snapshot to check if another bug had been fixed, and received the following when doing "make install":

[activating module `php5' in /etc/httpd/httpd.conf]
Installing PHP CLI binary: /usr/bin/
Installing PHP CLI man page: /usr/share/man/man1/
Installing PEAR environment: /usr/lib/php/
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| PEAR: PHP Extension and Application Repository |
| |
| To install these components, |
| download http://pear.php.net/install-pear.phar to php-src/pear/ |
| become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make: *** [install-pear] Error 5

I tried installing an earlier snapshot (200508190630) which went fine, so something must've changed in the meantime?

[2005-09-09 07:18 UTC] per at computer dot org

When I tried to do as instructed (download http://pear.php.net/install-pear.phar and make install-su), I received this:

Installing PEAR environment: /usr/lib/php/

Notice: Constant PEAR_VALIDATE_INSTALLING already defined in phar://install-pear.phar/PEAR/Validate.php on line 25

Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in phar://install-pear.phar/PEAR/Validate.php on line 26

Notice: Constant PEAR_VALIDATE_NORMAL already defined in phar://install-pear.phar/PEAR/Validate.php on line 27

Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in phar://install-pear.phar/PEAR/Validate.php on line 28

Notice: Constant PEAR_VALIDATE_PACKAGING already defined in phar://install-pear.phar/PEAR/Validate.php on line 29

Fatal error: Cannot redeclare class pear_validate in phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2