Question
when i run the script
perl
DBCacheContrib_installer.pl
i get the following...
Checking dependency on Time::ParseDate....
* DBCacheContrib depends on cpan package Time::ParseDate >=2003.0211
which is described as "Required. Available from [[http://cpan.uwinnipeg.ca/dist/
Time-modules][CPAN]]."
But when I tried to find it I got this error:
Can't locate Time/ParseDate.pm
This module is available from the CPAN archive (
http://www.cpan.org
). You
can download and install it from here. The module will be installed
to wherever you configured CPAN to install to.
Would you like me to try to download and install the latest version of Time::Par
seDate from cpan.org? [y/n] y
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
Warning: Found only 0 objects in C:\Perl\cpan\Metadata
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to ppm.activestate.com:80 (conne
ct: Unknown error)]
Fetching with LWP:
http://cpan.perl.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (connect: Un
known error)]
No external ftp command available
Please check, if the URLs I found in your configuration file
(
http://ppm.activestate.com/CPAN
,
http://cpan.perl.org
) are valid. The
urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'
Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
LWP failed with code[500] message[Can't connect to ppm.activestate.com:80 (conne
ct: Unknown error)]
Fetching with LWP:
http://cpan.perl.org/modules/02packages.details.txt.gz
LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (connect: Un
known error)]=
I have configured the perl
DBCacheContrib_installer.pl to have
$lwp->proxy(['http', 'ftp'], 'http://proxy:8088/');
but i still get the above errors.. any help much appricated.
Environment
--
JasonOKeeffe - 03 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
best solution is to manually install Time::ParseDate using the commands:
perl -MCPAN -e shell
install Time::ParseDate
You don't say whether you are running
ActiveState perl or not; if you are, there may be some other route you have to follow to install this module.
--
CrawfordCurrie - 03 Mar 2007
got it working i had to add a system variable for the proxy to windows xp
--
JasonOKeeffe - 03 Mar 2007
I'm having this same issue... what did you name this system variable in XP?
--
EricScott - 08 Jun 2007