For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2008 > RE: How to install Date::Manip on cygwin perl?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: How to install Date::Manip on cygwin perl?
Siegfried Heintze

2008-03-18, 7:03 pm

Can someone advise me as to where I should put the quotes? All I did was ty=
pe

perl -MCPAN -e 'install Date::Manip'

Somewhere the is a perl script that needs to be edited. Can someone tell me=
what script this is?
Thanks,
Siegfried

-----Original Message-----
From: Mike Wohlrab [mailto:perl@mikewohlrab.com]
Sent: Monday, March 17, 2008 7:16 PM
To: beginners@perl.org
Subject: RE: How to install Date::Manip on cygwin perl?

Greetings,

I am not familiar at all with Perl, but from my experiences with MS-DOS, if=
you
want to have the CLI read something, IE file name or path, then you need to
enclose the filename and path in quotes. So if you could try to enclose the=
path
in quotes, that may work.

Regards,

Mike Wohlrab
www.mikewohlrab.com

-----Original Message-----
From: Siegfried Heintze (Aditi) [mailto:a-siehei@microsoft.com]
Sent: Monday, March 17, 2008 6:34 PM
To: beginners@perl.org
Subject: FW: How to install Date::Manip on cygwin perl?


Hmm... I did not see this appear on the list so I'm posting it again. I'm u=
sing
cygwin perl on windows and as you can see below, cpan seems to choking on =
the
path name "/cygdrive/c/Documents and settings/a-siehei/My Documents" becaus=
e of
the spaces.

Surely someone else has a workaround!

My apologies if this appears twice.
Siegfried

From: Siegfried Heintze (Aditi)
Sent: Monday, March 17, 2008 12:42 PM
To: 'beginners-help@perl.org'
Subject: How to install Date::Manip on cygwin perl?

It looks like the CPAN program does not anticipate paths with spaces in the=
m. I
did a google search with no luck. Surely someone has already fixed this pro=
blem!
How do I fix it?

Thanks,
Siegfried

$ perl -MCPAN -e 'install Date::Manip'
CPAN: Storable loaded ok
Going to read /cygdrive/c/Documents and Settings/a-siehei/.cpan/Metadata
Database was generated on Mon, 17 Mar 2008 10:30:46 GMT
Running install for module Date::Manip
Running make for S/SB/SBECK/Date-Manip-5.48.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /cygdrive/c/Documents and Settings/a-siehei/.cpan/sources/auth=
ors/i
d/S/SB/SBECK/Date-Manip-5.48.tar.gz ok
Scanning cache /cygdrive/c/Documents and Settings/a-siehei/.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/a-siehei/.cpan/sources/auth=
ors/i
d/S/SB/SBECK/Date-Manip-5.48.tar.gz successfully
Using Tar:/usr/bin/tar xvf /cygdrive/c/Documents and Settings/a-siehei/.cpa=
n/sou
rces/authors/id/S/SB/SBECK/Date-Manip-5.48.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/a-siehei/.cpan/sources/au=
thors
/id/S/SB/SBECK/Date-Manip-5.48.tar


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com