#21111 [Com]: Can't install PEAR

From: Date: Thu, 02 Jan 2003 08:13:08 +0000
Subject: #21111 [Com]: Can't install PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12003@lists.php.net to get a copy of this message
ID: 21111 Comment by: mikkel@linet.dk Reported By: mikkel@linet.dk Status: Feedback Bug Type: PEAR related Operating System: RH 8.0 PHP Version: 4CVS-2002-12-20 (dev) New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#12003) next »