* Problem using Cygwin tools with perl's CPAN module
@ 1999-11-22 20:07 Paul Vasile
1999-11-30 23:39 ` Paul Vasile
0 siblings, 1 reply; 2+ messages in thread
From: Paul Vasile @ 1999-11-22 20:07 UTC (permalink / raw)
To: cygwin
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@gulf-island-digital.com
phone: (250) 247-9484
fax: (603) 907-5829
*********************************************************
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Problem using Cygwin tools with perl's CPAN module
1999-11-22 20:07 Problem using Cygwin tools with perl's CPAN module Paul Vasile
@ 1999-11-30 23:39 ` Paul Vasile
0 siblings, 0 replies; 2+ messages in thread
From: Paul Vasile @ 1999-11-30 23:39 UTC (permalink / raw)
To: cygwin
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@gulf-island-digital.com
phone: (250) 247-9484
fax: (603) 907-5829
*********************************************************
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-11-30 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-22 20:07 Problem using Cygwin tools with perl's CPAN module Paul Vasile
1999-11-30 23:39 ` Paul Vasile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).