Export to GitHub

camelbox - issue #7

Unable to download and install modules via cpan command


Posted on Apr 12, 2012 by Happy Monkey

What steps will reproduce the problem? 1. ran "cpan Finance::Quote" in Windows CMD 2. ran "cpan Finance::Quote" in Windows Power Shell 3. ran cpan XML::Simple

What is the expected output? What do you see instead? Attempted to install external non-stock modules using the standard CPAN command with no avail:

PS C:\Users\Windows_User\Desktop\Finance-Quote-1.17> cpan Finance::Quote CPAN: Storable loaded ok (v2.18) Going to read C:\camelbox.cpan\Metadata Database was generated on Thu, 12 Apr 2012 16:19:05 GMT CPAN: YAML loaded ok (v0.68) Going to read C:\camelbox.cpan\build/ DONE Found no old builds, restored the state of none Running install for module 'Finance::Quote' Running make for E/EC/ECOCODE/Finance-Quote-1.17.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for C:\camelbox.cpan\sources\authors\id\E\EC\ECOCODE\Finance-Quote-1.17.tar.gz ok Uncompressed C:\camelbox.cpan\sources\authors\id\E\EC\ECOCODE\Finance-Quote-1.17.tar.gz successfully Using Tar:C:\camelbox\bin\tar.EXE xvf "Finance-Quote-1.17.tar": Finance-Quote-1.17/ Finance-Quote-1.17/ChangeLog C:\camelbox\bin\tar.EXE: Skipping to next file header

C:\camelbox\bin\tar.EXE: Unknown file type ' ' for , extracted as normal file C:\camelbox\bin\tar.EXE: : Could not create file: No such file or directory C:\camelbox\bin\tar.EXE: Skipping to next file header C:\camelbox\bin\tar.EXE: Only read 2722 bytes from archive Finance-Quote-1.17.tar C:\camelbox\bin\tar.EXE: Error is not recoverable: exiting now Couldn't untar Finance-Quote-1.17.tar

PS C:\Users\Windows_User\Desktop\Finance-Quote-1.17>

What version of the product are you using? On what operating system? * Microsoft Windows 7, Fresh install, no service pack * Perl, v5.10.0 built for MSWin32-x86-multi-thread

Please provide any additional information below.

Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:;C:\camelbox\bin

Thanks, Francis.

Comment #1

Posted on Apr 12, 2012 by Happy Monkey

Turns out my overall OS (system variables) PATH variable was missing "C:\Windows\system32" Found this resolution though: http://groups.google.com/group/camelbox/browse_thread/thread/5601a1962cec9eac/b48c960b3f94ffb7?lnk=gst&q=tar#b48c960b3f94ffb7

Can anyone mark this as resolved?

Comment #2

Posted on Apr 13, 2012 by Quick Camel

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium