It doesn't like having the .cpan directory to
have directory path with spaces.  Notice how it is
looking for "/cygdrive/c/Documents", which is your
path truncated at the first space, but not finding
it.
   Perhaps the gurus here have a better solution, but
what I would do is have your "udk" home directory
(which contains .cpan) be somewhere else.  For
example on my system my cygwin home directory
is:
  /cygwin/home/putch

HTH


Udaya K (udk) wrote:
> Hi,
> Can anyone please help in working out the following error.
> I am trying to install Perl Modules in Cygwin.
> Same error when I try to insall IO::Tty and Expect
>  
> Thanks
> Udaya
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> /cygdrive/c
> $ perl -MCPAN -e shell
>  
> cpan shell -- CPAN exploration and modules installation (v1.7602)
> ReadLine support enabled
> cpan> install Bundle::CPAN
> CPAN: Storable loaded ok
> Going to read /cygdrive/c/Documents and Settings/udk/.cpan/Metadata
>   Database was generated on Sat, 17 May 2008 03:29:47 GMT
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /cygdrive/c/Documents and 
> Settings/udk/.cpan/sources/authors/id/A/A
> N/ANDK/Bundle-CPAN-1.857.tar.gz ok
> Scanning cache /cygdrive/c/Documents and Settings/udk/.cpan/build for sizes
> sh: /cygdrive/c/Documents: No such file or directory
> /usr/bin/tar: This does not look like a tar archive
> /usr/bin/tar: Error exit delayed from previous errors
> Uncompressed /cygdrive/c/Documents and 
> Settings/udk/.cpan/sources/authors/id/A/A
> N/ANDK/Bundle-CPAN-1.857.tar.gz successfully
> Using Tar:/usr/bin/tar xvf /cygdrive/c/Documents and 
> Settings/udk/.cpan/sources/
> authors/id/A/AN/ANDK/Bundle-CPAN-1.857.tar:
> /usr/bin/tar: /cygdrive/c/Documents: Cannot open: No such file or directory
> /usr/bin/tar: Error is not recoverable: exiting now
> Couldn't untar /cygdrive/c/Documents and 
> Settings/udk/.cpan/sources/authors/id/A
> /AN/ANDK/Bundle-CPAN-1.857.tar
>  
> 
> cpan>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to