On Thursday, October 02, 2003, at 03:47PM, Barry Treahy, Jr. <[EMAIL PROTECTED]> wrote:And I'm hoping that the posting Martin was referring to, just a couple days ago, might in fact deal with that same issue.
Craig Berry wrote:
IIRC, part of the problem with CPAN may be that external utilities also need additional tweaking. For example, you may need a version of gunzip that does command-line redirection without help from the pipe command.I could be mistaken, but what I'm observing appears to be a problem with
CPAN just obtaining the index files and having it bomb when it attempts
to transfer them to a VMS system which croaks when the unexpected
periods arrive (ie. .tar.gz). I'm not sure, I believe it is just
attempting to get the files, prior to any external unzipping efforts,
correct?
Correct. But I'm referring to something downstream from that. Once you have successfully filtered the filenames so that .tar.gz gets mapped to either .tar-gz or .tgz, you'll have to unzip the files that you download. If you have the Compress::Zlib extension installed, CPAN will use that, but if you don't it will do something like
$ gzip -dc foo > barUnderstood and I figured that would be the next hurdle if Martin's fix doesn't handle it.
where the unixy command-line redirection won't be available on VMS with that syntax, or rather, it's not provided by DCL. One can modify gzip to do its own redirection (like Perl and some other ports do) or one could modify CPAN.pm to add a "pipe" in front of the command on VMS.Actually, that is exactly what I was considering... Since VMS's pipe command does a reasonable job of mimicking the Unix shell, I was going to head down that road to see if the short-cut was in fact that...
Best regards,
Barry
--
Barry Treahy, Jr E-mail: [EMAIL PROTECTED]
Midwest Microwave Phone: 480/314-1320
Vice President & CIO FAX: 480/661-7028
