[PEAR-BUG] Bug #18600 [NEW]: Unable to install PEAR using 'php -q go-pear.phar'
[email protected] ("poul dot kg at gmail dot com") Fri, 17 Jun 2011 10:38:58 +0100 (BST)
| Newsgroups | php.pear.doc,php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
From: cyberpunk
Operating system: Windows 7 x64
Package version:
PHP version: 5.3.6
Package: Documentation
Bug Type: Bug
Bug description: Unable to install PEAR using 'php -q go-pear.phar'
Description:
------------
My environment:
PHP 5.3.5 (cli) (built: Mar 9 2011 15:48:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Extension Manager v5.1, Copyright (c) 2003-2010, by Zend
Technologies
- with Zend Data Cache v4.0, Copyright (c) 2004-2010, by Zend
Technologies [loaded] [licensed] [disabled]
- with Zend Utils v1.0, Copyright (c) 2004-2010, by Zend Technologies
[loaded] [licensed] [enabled]
- with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend
Technologies [loaded] [licensed] [enabled]
See complete log of what am I doing below:
C:\Zend\ZendServer\bin\pear>php -q go-pear.phar
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) :
C:\Zend\ZendServer\bin\pear
2. Temporary directory for processing :
C:\Zend\ZendServer\bin\pear\tmp
3. Temporary directory for downloads :
C:\Zend\ZendServer\bin\pear\tmp
4. Binaries directory :
C:\Zend\ZendServer\bin\pear
5. PHP code directory ($php_dir) :
C:\Zend\ZendServer\bin\pear\pear
6. Documentation directory :
C:\Zend\ZendServer\bin\pear\docs
7. Data directory :
C:\Zend\ZendServer\bin\pear\data
8. User-modifiable configuration files directory :
C:\Zend\ZendServer\bin\pear\cfg
9. Public Web Files directory :
C:\Zend\ZendServer\bin\pear\www
10. Tests directory :
C:\Zend\ZendServer\bin\pear\tests
11. Name of configuration file : C:\Windows\pear.ini
12. Path to CLI php.exe :
1-12, 'all' or Enter to continue: 12
php.exe (sapi: cli) found.
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) :
C:\Zend\ZendServer\bin\pear
2. Temporary directory for processing :
C:\Zend\ZendServer\bin\pear\tmp
3. Temporary directory for downloads :
C:\Zend\ZendServer\bin\pear\tmp
4. Binaries directory :
C:\Zend\ZendServer\bin\pear
5. PHP code directory ($php_dir) :
C:\Zend\ZendServer\bin\pear\pear
6. Documentation directory :
C:\Zend\ZendServer\bin\pear\docs
7. Data directory :
C:\Zend\ZendServer\bin\pear\data
8. User-modifiable configuration files directory :
C:\Zend\ZendServer\bin\pear\cfg
9. Public Web Files directory :
C:\Zend\ZendServer\bin\pear\www
10. Tests directory :
C:\Zend\ZendServer\bin\pear\tests
11. Name of configuration file : C:\Windows\pear.ini
12. Path to CLI php.exe :
C:\Zend\ZendServer\bin\
1-12, 'all' or Enter to continue: 11
(Use $prefix as a shortcut for 'C:\Zend\ZendServer\bin\pear', etc.)
Name of configuration file [C:\Windows\pear.ini] :
C:\Zend\ZendServer\etc\pear.ini
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) :
C:\Zend\ZendServer\bin\pear
2. Temporary directory for processing :
C:\Zend\ZendServer\bin\pear\tmp
3. Temporary directory for downloads :
C:\Zend\ZendServer\bin\pear\tmp
4. Binaries directory :
C:\Zend\ZendServer\bin\pear
5. PHP code directory ($php_dir) :
C:\Zend\ZendServer\bin\pear\pear
6. Documentation directory :
C:\Zend\ZendServer\bin\pear\docs
7. Data directory :
C:\Zend\ZendServer\bin\pear\data
8. User-modifiable configuration files directory :
C:\Zend\ZendServer\bin\pear\cfg
9. Public Web Files directory :
C:\Zend\ZendServer\bin\pear\www
10. Tests directory :
C:\Zend\ZendServer\bin\pear\tests
11. Name of configuration file :
C:\Zend\ZendServer\etc\pear.ini
12. Path to CLI php.exe :
C:\Zend\ZendServer\bin\
1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\Zend\ZendServer\etc\pear.ini...
Initialized registry...
Preparing to install...
installing
phar://C:/Zend/ZendServer/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
installing
phar://C:/Zend/ZendServer/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
installing
phar://C:/Zend/ZendServer/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.3.tar...
installing
phar://C:/Zend/ZendServer/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing
phar://C:/Zend/ZendServer/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
ERROR: file \Archive_Tar-1.3.7\Archive\Tar.php does not exist
ERROR: file \Console_Getopt-1.3.0\Console\Getopt.php does not exist
ERROR: file \Structures_Graph-1.0.4\docs\html\media\banner.css does not
exist
ERROR: file \XML_Util-1.2.1\examples\example.php does not exist
ERROR: file \PEAR-1.9.3\OS\Guess.php does not exist
** WARNING! Old version found at C:\Zend\ZendServer\bin\pear, please remove
it or be sure to use the new c:\zend\zendser
ver\bin\pear\pear.bat command
The 'pear' command is now at your service at
c:\zend\zendserver\bin\pear\pear.bat
** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\zend\zendserver\bin\pear\pear.bat' until you have added
** 'C:\Zend\ZendServer\bin\pear' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
For more information about PEAR, see:
http://pear.php.net/faq.php
http://pear.php.net/manual/
Thanks for using go-pear!
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under
C:\Zend\ZendServer\bin\pearPEAR_ENV.reg .
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
Expected result:
----------------
I expect it to be run without ERRORs.
Then I expect to see file c:\zend\zendserver\bin\pear\pear.bat
Then I expect to run file c:\zend\zendserver\bin\pear\pear.bat
But it doesn't exists.
Actual result:
--------------
Some ERROR happened.
And there's no "c:\zend\zendserver\bin\pear\pear.bat" after script
finishes.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=18600&edit=1
--