#24509 [Opn->Bgs]: PEAR install doesn't honor installroot
| From: | cox@php.net | Date: | Sun, 06 Jul 2003 15:17:44 +0000 |
| Subject: | #24509 [Opn->Bgs]: PEAR install doesn't honor installroot | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18045@lists.php.net to get a copy of this message | ||
ID: 24509
Updated by: cox@php.net
Reported By: mike at graftonhall dot co dot nz
-Status: Open
+Status: Bogus
Bug Type: PEAR related
Operating System: Windows 2000
PHP Version: Irrelevant
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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