mron has asked for the wisdom of the Perl Monks concerning the following question:
The command fails to load the module, hanging until I kill it. Here's the output:perl -MCPAN -e 'install XML::Parser'
I'd like to know why it fails and how to fix it. Failing that, I'd like to know another way to load the module, ThanksReading '/Users/me/.cpan/Metadata' Database was generated on Wed, 26 Oct 2016 18:53:30 GMT Reading '/Users/me/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE Fetching with LWP: http://mirror.jre655.com/CPAN/modules/02packages.details.txt.gz LWP failed with code[500] message[Can't connect to mirror.jre655.com:8 +0 (nodename nor servname provided, or not known)] Trying with /usr/bin/curl -L -f -s -S --netrc-optional to get http://mirror.jre655.com/CPAN/modules/02packages.details.txt.gz curl: (6) Could not resolve host: mirror.jre655.com Function system("/usr/bin/curl -L -f -s -S --netrc-optional "http: +//mirror.jre655.com/CPAN/modules/02packages.details.txt.gz" > "/User +s/me/.cpan/sources/modules/02packages.details.txt.gz.tmp13888"") returned status 6 (wstat 1536), left /Users/me/.cpan/sources/modules/02packages.details.txt.gz.tmp13888 wit +h size 0 Warning: no success downloading '/Users/me/.cpan/sources/modules/0 +2packages.details.txt.gz.tmp13888'. Giving up on it. Fetching with LWP: http://mirrors.sohu.com/CPAN/modules/02packages.details.txt.gz
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Trouble with MCPAN
by marto (Cardinal) on Apr 01, 2024 at 06:44 UTC | |
Re: Trouble with MCPAN
by Anonymous Monk on Apr 01, 2024 at 12:24 UTC | |
by stevieb (Canon) on Apr 01, 2024 at 19:01 UTC |