#24509 [Bgs]: PEAR install doesn't honor installroot

From: Date: Sun, 06 Jul 2003 15:38:16 +0000
Subject: #24509 [Bgs]: PEAR install doesn't honor installroot
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18046@lists.php.net to get a copy of this message
ID: 24509 User updated by: mike at graftonhall dot co dot nz Reported By: mike at graftonhall dot co dot nz Status: Bogus Bug Type: PEAR related Operating System: Windows 2000 PHP Version: Irrelevant New Comment: That still doesn't work, gives a new error message: I:\temp>pear -d php_dir=i:\temp install http://www.graftonhall.co.nz/packages/get.php/Horde_Cipher Notice: Undefined offset: 1 in pearcmd.php on line 97 pearcmd.php install [options] <package> ....... Feel free to try with the package if you want. Previous Comments: ------------------------------------------------------------------------ [2003-07-06 10:17:43] cox@php.net Destination dir = RootDir + PHP DIR If you want to relocate a package use the "-d" option (pear help options): $ pear -d php_dir=i:\temp install Package ------------------------------------------------------------------------ [2003-07-05 22:48:09] mike at graftonhall dot co dot nz Description: ------------ With my php_dir set to i:\httpd\pear, the location of my PEAR installation. If I try to install a package into another folder eg: pear install -R i:\temp Archive_Tar I get the directory structure: I:\temp\httpd\pear I:\temp\httpd\pear\.filemap I:\temp\httpd\pear\.lock I:\temp\httpd\pear\.registry I:\temp\httpd\pear\Archive I:\temp\httpd\pear\docs I:\temp\httpd\pear\.registry\archive_tar.reg I:\temp\httpd\pear\Archive\Tar.php I:\temp\httpd\pear\docs\Archive_Tar I:\temp\httpd\pear\docs\Archive_Tar\docs I:\temp\httpd\pear\docs\Archive_Tar\docs\Archive_Tar.txt Where I would expect: I:\temp\.filemap I:\temp\.lock I:\temp\.registry I:\temp\Archive I:\temp\docs I:\temp\.registry\archive_tar.reg I:\temp\Archive\Tar.php I:\temp\docs\Archive_Tar I:\temp\docs\Archive_Tar\docs I:\temp\docs\Archive_Tar\docs\Archive_Tar.txt This is the same with PEAR 1.1 and 1.2b2 - Mike :-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24509&edit=1

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