#21111 [Opn->Csd]: Can't install PEAR

From: Date: Thu, 23 Jan 2003 09:54:19 +0000
Subject: #21111 [Opn->Csd]: Can't install PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12678@lists.php.net to get a copy of this message
ID: 21111 Updated by: tal@php.net Reported By: mikkel@linet.dk -Status: Open +Status: Closed Bug Type: PEAR related Operating System: RH 8.0 PHP Version: 4CVS-2002-12-20 (dev) New Comment: This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-01-02 02:13:07] mikkel@linet.dk No, the don't have permission to write to /usr/share, but that is not where I want to install to my install command is "make install INSTALL_ROOT=/var/tmp/php-root install_targets=install-pear" I have permissions to write to that location. ------------------------------------------------------------------------ [2003-01-01 16:36:02] mj@php.net Does the user, under which you try to install PHP and PEAR, the necessary permissions to write in /usr/share? Normally you need to be root for this. ------------------------------------------------------------------------ [2002-12-20 07:04:36] mikkel@linet.dk When installing PEAR I get: Installing PEAR environment: /var/tmp/php-ze2-root/usr/share/pear/ Fatal error: Can't use method return value in write context in /home/mkj/tmp/ZEND2/php4-ze2/pear/PEAR/Installer.php on line 702 Fatal error: Can't use method return value in write context in /home/mkj/tmp/ZEND2/php4-ze2/pear/PEAR/Installer.php on line 702 I Removing the "&" in line 702. Gives me the following errors: Installing PEAR environment: /var/tmp/php-ze2-root/usr/share/pear/ Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 ... Warning: mkdir(/usr/share/pear/.registry) [http://www.php.net/function.mkdir]: Permission denied in /home/mkj/tmp/ZEND2/php4-ze2/pear/System.php on line 243 [PEAR] DB: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/DB-1.3.tar [PEAR] HTTP: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/HTTP-1.2.tar [PEAR] Mail: unable to unpack /home/mkj/tmp/ZEND2/php4-ze2/pear/packages/Mail-1.0.1.tar ... Which is the same error I got with 4.3.0RC1, but was fixed in RC2. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21111&edit=1

« previous php.pear.dev (#12678) next »