Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.0

Bug #18201 Cannot install PEAR in Windows 7 due to Structures_Graph error
Submitted: 2011-01-17 23:59 UTC
From: marcosroriz Assigned: cweiske
Status: Suspended Package: Structures_Graph (version Unknown)
PHP Version: 5.3.5 OS: Windows 7
Roadmaps: (Not assigned)    

 [2011-01-17 23:59 UTC] marcosroriz (Marcos Roriz)
Description: ------------ I just did a clean install of Windows 7. I've installed Apache, Mysql and PHP 5.3.5 all separated (not using XAMPP/others). I'm getting the following error in the install: ERROR: unable to unpack phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-t arballs/Structures_Graph-1.0.2.tar Expected result: ---------------- PEAR Install. Actual result: -------------- C:\Web\php-5.3.5>go-pear.bat Are you installing a system-wide PEAR or a local copy? (system|local) [system] : 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:\Web\php-5.3.5 2. Temporary directory for processing : C:\Web\php- 5.3.5\tmp 3. Temporary directory for downloads : C:\Web\php- 5.3.5\tmp 4. Binaries directory : C:\Web\php-5.3.5 5. PHP code directory ($php_dir) : C:\Web\php- 5.3.5\pear 6. Documentation directory : C:\Web\php- 5.3.5\docs 7. Data directory : C:\Web\php- 5.3.5\data 8. User-modifiable configuration files directory : C:\Web\php- 5.3.5\cfg 9. Public Web Files directory : C:\Web\php- 5.3.5\www 10. Tests directory : C:\Web\php- 5.3.5\tests 11. Name of configuration file : C:\Web\php- 5.3.5\pear.ini 12. Path to CLI php.exe : C:\Web\php-5.3.5 1-12, 'all' or Enter to continue: Beginning install... Configuration written to C:\Web\php-5.3.5\pear.ini... Initialized registry... Preparing to install... installing phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-tarballs/Archi ve_Tar-1.3.3.tar... installing phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-tarballs/Conso le_Getopt-1.2.3.tar... installing phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-tarballs/PEAR- 1.8.0.tar... installing phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-tarballs/Struc tures_Graph-1.0.2.tar... installing phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-tarballs/XML_U til-1.2.1.tar... install ok: channel:// install ok: channel:// ERROR: unable to unpack phar://C:/Web/php-5.3.5/PEAR/go- pear.phar/PEAR/go-pear-t arballs/Structures_Graph-1.0.2.tar install ok: channel:// install ok: channel:// PEAR: Optional feature webinstaller available (PEAR's web- based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP- GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP- GTK2-based installer) PEAR: To install optional features use "pear install pear/PEAR#featurename" ** WARNING! Old version found at C:\Web\php-5.3.5, please remove it or be sure t o use the new c:\web\php-5.3.5\pear.bat command The 'pear' command is now at your service at c:\web\php- 5.3.5\pear.bat * WINDOWS ENVIRONMENT VARIABLES * For convenience, a REG file is available under C:\Web\php- 5.3.5\PEAR_ENV.reg . This file creates ENV variables for the current user. Double-click this file to add it to the current user registry. Pressione qualquer tecla para continuar. . . C:\Web\php-5.3.5>


 [2011-01-21 14:49 UTC] joconnor (Jeremy O'Connor)
I have experienced exactly the same problem on Windows XP SP3, with Apache 2.2.17, PHP 5.3.5 and MySQL 5.1.54 (all standalone).
 [2011-06-28 12:51 UTC] rajaneesh (rajaneesh Hunter)
I am getting same problem pear install Structures_Graph-1.0.4 Error : downloading Structures_Graph-1.0.4.tgz ... Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes) .........done: 30,318 bytes ERROR: unable to unpack C:\xampp\php\PEAR\tmp\Structures_Graph-1.0.4.tgz
 [2012-03-30 10:47 UTC] arnolambert (Arno Lambert)
I have the same problem installing pear via 'php -d phar.require_hash=0 go-pear.phar' in a Windows 7 (64 bits). output from 'php -v' is PHP 5.3.8-ZS5.5.0 (cli) (built: Aug 24 2011 15:25:45) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 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 Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies [loaded] [licensed] [enabled] - with Zend Utils v1.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled] - with Zend Optimizer+ v4.1, Copyright (c) 1999-2010, by Zend Technologies [loaded] [licensed] [disabled] - with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies [loaded] [licensed] [enabled]
 [2015-02-25 21:48 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Suspended -Assigned To: +Assigned To: cweiske
I cannot reproduce this error with current PHP versions (5.4+). Please reopen if you can.