From: Steve Bertrand

> On 2010.06.21 18:22, Bob McConnell wrote:
> 
>> After a little more digging, and trying your suggestion to try from
>> Linux, I have determined that the directory information in the new
tar
>> files is being put into the prefix field of the header. But
apparently
>> the older versions of tar (and WinZIP) don't expect anything in that
>> field until the name field is completely full. I haven't seen
anything
>> that suggests that doing this should be a standard practice.
>> 
>> One of the Camelbox developers did give me a workaround that seems to
>> get me past this issue for now.
> 
> Please post the workaround for the archives, if you wouldn't mind.

The workaround for this is to remove the tar
binary from CPAN's Config.pm file.  I just confirmed Test::Harness
unpacks after you do this.

To remove the tar binary from Config.pm:
1) Open C:\camelbox\lib\CPAN\Config.pm in an editor that understands
Unix files (NOT notepad.exe; wordpad will work for this)
2) Find the line that says 'tar' => q[C:\\camelbox\\bin\\tar.EXE] and
remove the tar.EXE command; the tar command should look like this when
you're done:

'tar' => q[],

CPAN will then switch to using Archive::Tar when you go to
download/install modules.

Bob McConnell

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to