Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Problem using Cygwin tools with perl's CPAN module Date: Mon, 22 Nov 1999 20:07:11 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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