Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: windows 2003
Web server: Apache HTTP 2.2.4
Perl version: v5.8.8
Client OS: xp
Web Browser: firefox 2.0.0.2
Categories: Plugins

-- JasonOKeeffe - 03 Mar 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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 smile

-- JasonOKeeffe - 03 Mar 2007

I'm having this same issue... what did you name this system variable in XP?

-- EricScott - 08 Jun 2007

 
Change status to:
Topic revision: r4 - 08 Jun 2007 - 15:03:29 - EricScott
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback