Error Unable To Unpack Phpdocumentor
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of error unable to unpack pear this site About Us Learn more about Stack Overflow the company Business
Error Unable To Unpack Header
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask pear install unable to unpack Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign how to install phpdocumentor on windows up Windows - PHPDocs unable to install through Pear up vote 4 down vote favorite When running the two commands to install phpdocs: pear channel-discover pear.phpdoc.org pear install phpdoc/phpDocumentor I get this error below saying I am unable to unpack a tgz file below. C:\wamp\bin\php\php5.5.12\pear>pear channel-discover pear.phpdoc.org C:\wamp\bin\php\php5.5.12\pear>pear install phpdoc/phpDocumentor downloading phpDocumentor-2.8.2.tgz ... Starting to download phpDocumentor-2.8.2.tgz (16,246,834 bytes) ................................................................................ ................................................................................ ................................................................................ ..........................done:
Phpdocumentor Download
16,246,834 bytes ERROR: unable to unpack C:\Users\me\AppData\Local\Temp\pear\download\p hpDocumentor-2.8.2.tgz php wamp pear share|improve this question asked May 20 '15 at 19:26 BDillan 1,10121636 add a comment| 5 Answers 5 active oldest votes up vote 5 down vote accepted It looks like the PEAR installer was unable to uncompress the downloaded .tgz for some reason, perhaps the zlib extension wasn't compiled in, for example. As a work-around, you can specify that PEAR should request the uncompressed package file instead: pear install --nocompress phpdoc/phpDocumentor share|improve this answer answered May 25 '15 at 12:57 kguest 3,18732032 not working no. although tarball is uncompressed fine. Is there a way to install uncompressed package? –paulus May 26 '15 at 19:11 Yes. This is how to do it "by hand": You need to extract the package to a temporary directory, call it uncompressedpackagedir if you want. In uncompressedpackagedir you'll see a package.xml which you will need to copy or move into the newly created directory named for the package you extracted. In the case of phpDocumentor v2.8.2 it will be named phpDocumentor-2.8.2. cd into that directory and do "$ s
7 box. To get PHPUnit working properly with my XAMPP install, I found an excellent tutorial here: (@ Courtney Robinson's log) It was pure gold, though I encountered the following caveats at step 5: As Courtney states could happen, PhpDocumentor phpdocumentor2 was already installed with pear, so I had to: pear uninstall PhpDocumentor But then when I went install pear windows to install it again I received "ERROR: unable to unpack
documentation directly from the PHP source code. PhpDocumentor automatically generates documentation from source code, so to get high-quality documentation you need to properly build the comments via docblocks.Attention! To avoid errors when installing https://www.devbattles.com/en/sand/post-1865-Installing_PhpDocumentor_on_Windows_and_creating_documentation and using PhpDocumentor I recommend you to have PHP added in the Windows http://www.we-edit.de/stackoverflow/question/windows-phpdocs-unable-to-install-through-pear-30358699.html environment variables. Installing PhpDocumentor using PEAR Attention! To install phpDocumentor you will need PEAR. Open Windows console (Win + r, and then type cmd) and enter 2 commands, which are described on the official website: pear channel-discover pear.phpdoc.org pear install phpdoc/phpDocumentor Next we can have several situations. First - all unable to is good, phpDocumentor installed and ready to go (You are lucky;)). Second, you get: ERROR: unable to unpack ... phpDocumentor-2.8.2.tgz: If you have a bug, then enter in the console 3 following commands: pear upgrade pear pear upgrade Console_Getopt pear upgrade Structures_Graph Now install PhpDocumentor 1.4.4, the command is (I do not recommend to install this version because it is deprecated) pear install unable to unpack PhpDocumentor Either set PhpDocumentor 2.8.1 (I installed it) by this command: pear install phpdoc/PhpDocumentor-2.8.1 Then PhpDocumentor installation should end successfully: If you set PhpDocumentor 2, then you can proceed to the description of commands. To remove PhpDocumentor 2, you can use the following command: pear uninstall phpdoc/PhpDocumentor If you decide to install PhpDocumentor 1, here are some commands for you: Creating documentation. In the console, enter: phpdoc -o HTML:frames:earthli -d full_project_path -t full_path_to_documentation_directory Example: phpdoc -o HTML:frames:earthli -d D:\web\home\coder.local\www -t D:\web\home\coder.local\docs Remove phpDocumentor: pear uninstall PhpDocumentor Installing PhpDocumentor using Composer Attention! To install PhpDocumentor you will need Composer. Create a folder for PhpDocumentor, for example: D:/phpdoc/phpDocumentor. Then composer.json file with the following contents: { "require-dev": { "phpdocumentor/phpdocumentor": "2.*" } } Next we have two options. First, right-click on the file and select the Composer Install. Second, open the Windows console (Win + r, and then type cmd), move to the folder with the file composer.json and enter the command composer install: d: cd /phpdoc/phpDocumentor composer install In both cases, at the end of installation, you will see the following sc
- PHPDocs unable to install through Pear When running the two commands to install phpdocs: pear channel-discover pear.phpdoc.org pear install phpdoc/phpDocumentor I get this error below saying I am unable to unpack a tgz file below. C:\wamp\bin\php\php5.5.12\pear>pear channel-discover pear.phpdoc.org C:\wamp\bin\php\php5.5.12\pear>pear install phpdoc/phpDocumentor downloading phpDocumentor-2.8.2.tgz ... Starting to download phpDocumentor-2.8.2.tgz (16,246,834 bytes) ................................................................................ ................................................................................ ................................................................................ ..........................done: 16,246,834 bytes ERROR: unable to unpack C:\Users\me\AppData\Local\Temp\pear\download\p hpDocumentor-2.8.2.tgz php wamp pear created on 20.05.2015 - 21:26:38 by BDillan, updated on 18.11.2015 - 13:16:25. My solution for phpDocumentor 2.8.5 was Download the tarball archive from https://github.com/phpDocumentor/phpDocumentor2/releases Uncompress the archive phpDocumentor-2.8.5.tgz manulay (e.g. with 7zip) You will get the phpDocumentor-2.8.5.tar, uncompress it too and you will get the folder phpDocumentor-2.8.5 and the file package.xml Edit the archive package.xml and change the text template:init to template_init (line 2036) in fact it is a path (Info source: https://github.com/phpDocumentor/phpDocumentor2/issues/1608) Compress the folder phpDocumentor-2.8.5 and the file package.xml (e.g. phpdoc285.tar) Install the archive phpdoc285.tar pear install --nocompress phpdoc285.tar answered on 18.11.2015 - 13:16:25 by SandroMarques. I tried @kguest answer -> pear install --nocompress phpdoc/phpDocumentor with no luck. So I tried "upgrading" pear upgrade C:\Users\xxxxx\AppData\Local\Temp\pear\download\phpDocumentor-2.8.2.tar Again, with no luck. Then I build my own solution: 1) Extract the files from the PEAR temp directory: C:\Users\xxxxx\AppData\Local\Temp\pear\download\phpDocumentor-2.8.2.tar 2) Repack the recently extracted files as TAR (I used 7zip). 3) Reattempt the upgrade but from the newly created TAR: C:\temp\phpDocumentor.tar And only THEN it worked. answered on 08.07.2015 - 23:45:46 by Alberto Alexander Rodriguez. Faced the same problem, turns out package for 2.8.2 has issues, because pear install phpdoc/PhpDocumentor-2.8.1 worked just fine answered on 26.05.2015 - 21:23:02 by paulus. It looks like the P