Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3471 CPAN install doesn't handle gobal cpan mirrors

1.480
open
Jamie Cameron
5
2009-08-07
2009-08-07
d elleray
No

Hi,

When trying to get cpan modules i keep coming across this error loop because cpan is requesting user input not provided by the perl module output stack.

Running it manually at the command line and inputting a country selection number works fine

regards

dick

extract...

Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.

First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.

(1) Africa
(2) Asia
(3) Australasia
(4) Central America
(5) Europe
(6) North America
(7) Oceania
(8) South America
Select your continent (or several nearby continents)

Sorry! since you don't have any existing picks, you must make a
geographic selection.>>> loop >>> timeout

Discussion

  • d elleray
    d elleray
    2009-08-07

    Hi

    it appears that it is caused when no-one has run cpan from command line and saved the configuration to disk (rather than in memory)

    d.