Wamp2.1e-x32 with new PEAR doesnt install
Posted by: kramoo6 (---.adsl.highway.telekom.at)
Date: June 19, 2011 12:58PM

I net PHPUnit Tests so i have do install first PEAR. For the PHPUnit i have to install PEAR with version 1.9.2 not the Version what is currently comes with the Wamp PHP 5.3.5! So i go to the PEAR Homepage an Download the new go-pear.phar file and but it in the PEAR folder.

Next i like do install with this command:
php -d phar.require_hash=0 PEAR/gopear.phar



The installation fails with errors:


1. Installation base ($prefix) : C:\wamp\bin\php\php5.3.5
2. Temporary directory for processing : C:\wamp\bin\php\php5.3.5\tmp
3. Temporary directory for downloads : C:\wamp\bin\php\php5.3.5\tmp
4. Binaries directory : C:\wamp\bin\php\php5.3.5
5. PHP code directory ($php_dir) : C:\wamp\bin\php\php5.3.5\pear
6. Documentation directory : C:\wamp\bin\php\php5.3.5\docs
7. Data directory : C:\wamp\bin\php\php5.3.5\data
8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.3.5\cfg
9. Public Web Files directory : C:\wamp\www\
10. Tests directory : C:\wamp\bin\php\php5.3.5\tests
11. Name of configuration file : C:\wamp\bin\php\php5.3.5\pear.ini
12. Path to CLI php.exe : C:\wamp\bin\php\php5.3.5

1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\wamp\bin\php\php5.3.5\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.3.tar...
installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
PHP Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
PHP 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302

Call Stack:
0.0621 748440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
0.0625 744216 2. require_once('phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php') C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
0.1561 4101208 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
18.4760 4111720 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
18.6538 5202648 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
18.6538 5202648 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
19.8067 10308440 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
19.8076 10308688 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
19.8079 10310216 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
19.8102 10311880 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

ERROR: file \Archive_Tar-1.3.7\Archive\Tar.php does not exist
PHP Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
PHP 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302

Call Stack:
0.0621 748440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
0.0625 744216 2. require_once('phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php') C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
0.1561 4101208 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
18.4760 4111720 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
18.6538 5202648 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
18.6538 5202648 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
19.9194 10336744 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
19.9210 10337000 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
19.9214 10338528 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
19.9236 10340240 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

ERROR: file \Console_Getopt-1.3.0\Console\Getopt.php does not exist
PHP Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
PHP 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302

Call Stack:
0.0621 748440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
0.0625 744216 2. require_once('phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php') C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
0.1561 4101208 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
18.4760 4111720 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
18.6538 5202648 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
18.6538 5202648 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
20.0033 10338400 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
20.0049 10338656 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
20.0052 10340184 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
20.0078 10341896 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

ERROR: file \Structures_Graph-1.0.4\docs\html\media\banner.css does not exist
PHP Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
PHP 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302

Call Stack:
0.0621 748440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
0.0625 744216 2. require_once('phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php') C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
0.1561 4101208 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
18.4760 4111720 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
18.6538 5202648 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
18.6538 5202648 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
20.4537 10343288 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
20.4553 10343536 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
20.4557 10345064 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
20.4580 10346776 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

ERROR: file \XML_Util-1.2.1\examples\example.php does not exist
PHP Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
PHP 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

Warning: mkdir(): Invalid argument in phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php on line 302

Call Stack:
0.0621 748440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:0
0.0625 744216 2. require_once('phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php') C:\wamp\bin\php\php5.3.5\PEAR\go-pear.phar:1236
0.1561 4101208 3. PEAR_Start_CLI->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/index.php:7
18.4760 4111720 4. PEAR_Start->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start/CLI.php:57
18.6538 5202648 5. PEAR_Command_Common->run() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Start.php:324
18.6538 5202648 6. PEAR_Command_Install->doInstall() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Common.php:271
20.7686 10344824 7. PEAR_Installer->install() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Command/Install.php:708
20.7701 10345064 8. System->mktemp() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/Installer.php:1107
20.7705 10346592 9. System->mkDir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:428
20.7727 10348304 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/System.php:302

ERROR: file \PEAR-1.9.3\OS\Guess.php does not exist

******************************************************************************
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<C:\wamp\bin\php\php5.3.5\pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.


Would you like to alter php.ini <C:\wamp\bin\php\php5.3.5\php.ini>? [Y/n] : y

php.ini <C:\wamp\bin\php\php5.3.5\php.ini> include_path updated.

Current include path : .;C:\php\pear
Configured directory : C:\wamp\bin\php\php5.3.5\pear
Currently used php.ini (guess) : C:\wamp\bin\php\php5.3.5\php.ini
Press Enter to continue:

** WARNING! Old version found at C:\wamp\bin\php\php5.3.5, please remove it or be sure to use the new c:\wamp\bin\php\php5.3.5\pear.bat command

The 'pear' command is now at your service at c:\wamp\bin\php\php5.3.5\pear.bat

** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\wamp\bin\php\php5.3.5\pear.bat' until you have added
** 'C:\wamp\bin\php\php5.3.5' 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:

[pear.php.net]
[pear.php.net]

Thanks for using go-pear!


C:\wamp\bin\php\php5.3.5>


---
---

Can somebody help me pleas?
Thanks

Options: ReplyQuote
Re: Wamp2.1e-x32 with new PEAR doesnt install
Posted by: zuluxray (72.55.33.---)
Date: July 07, 2011 05:14PM

Same problem here. Did you get this resolved?

Options: ReplyQuote


Sorry, only registered users may post in this forum.