delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/22/23:08:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <002601bf3568$38561620$948b4218@cs492126-a.nops1.bc.wave.home.com>
From: "Paul Vasile" <webmaster AT gulf-island-digital DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Problem using Cygwin tools with perl's CPAN module
Date: Mon, 22 Nov 1999 20:07:11 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0

Hi there,
On a Win98 box, after installing the full.exe binary, making a /tmp, and
/bin
directory, as well as putting bash.exe and sh.exe in /bin ...

I went into the cygnus.bat shell, and ran the command:

    $ perl -MCPAN -e shell

I then configured my perl CPAN module to use various Cygwin tools (tar,
gzip,
sh, etc.).
I gave the paths to the utils in:

    C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\tar.exe
    C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gzip.exe
    C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gunzip.exe
    C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe

When I then tried to run this command, from CPAN within the Cygwin shell:

    cpan> install Net::FTP

It downloads the module, uncompresses it, and gives me the following error:

    Uncompressed C:\perl\.cpan\sources\authors\id\GBARR\libnet-1.0607.tar.gz
successfully
    /cygnus/cygwin-b20/H-i586-cygwin32/bin/tar.exe: Cannot execute remote
shell: No such file or directory
    /cygnus/cygwin-b20/H-i586-cygwin32/bin/tar.exe: Cannot open
C:\perl\.cpan\sources\authors\id\GBARR\libnet-1.0607.tar: I/O error
    /cygnus/cygwin-b20/H-i586-cygwin32/bin/tar.exe: Error is not
recoverable: exiting now
    Couldn't untar C:\perl\.cpan\sources\authors\id\GBARR\libnet-1.0607.tar

I had to type that all out! ;( [harr harr]

I know that there is no problem with the tar file itself. This same error
message comes up for any module I try to install.

Perhaps this problem has to do with the CPAN module interpreting paths wrong
for
Windows... UNIX style paths (forward slashes), versus Windows (backslashes
with
a drive name).

Any workarounds, without having to modify the CPAN module itself? (that'd
make
for painful updates)


Thanks,
Paul

*********************************************************
Paul Vasile
Gulf Island Digital
webmaster AT gulf-island-digital DOT com
phone: (250) 247-9484
fax: (603) 907-5829
*********************************************************


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019