RE: Trouble installing Perl Module in cygwin

2008-05-18 Thread Udaya K (udk)
 Hi Michael, 
Thank you for your help and suggestions. 
I fixed them by enclosing the file parameter within "'" in CPAN.pm
That solved my problem. 

Regards
Udaya

-Original Message-
From: Michael Putch [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 19, 2008 2:31 AM
To: Udaya K (udk)
Cc: perl-win32-users@listserv.ActiveState.com;
[EMAIL PROTECTED]
Subject: Re: Trouble installing Perl Module in cygwin

Michael Putch wrote:

.  For
> example on my system my cygwin home directory
> is:
>   /cygwin/home/putch
>
   Of course that is C:/cygwin/home/putch (since "/" within Cygwin
itself refers to the Cygwin root.  My apologies for any confusion.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Trouble installing Perl Module in cygwin

2008-05-18 Thread Michael Putch
Michael Putch wrote:

.  For
> example on my system my cygwin home directory
> is:
>   /cygwin/home/putch
>
   Of course that is C:/cygwin/home/putch (since
"/" within Cygwin itself refers to the Cygwin
root.  My apologies for any confusion.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Trouble installing Perl Module in cygwin

2008-05-18 Thread Michael Putch
   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]  /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


Trouble installing Perl Module in cygwin

2008-05-17 Thread Udaya K (udk)
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] /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