robertwhittaker has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install Date::Calc in OS X via the CPAN shell but I just get the following message:
You have not configured a urllist and did not allow to connect to the internet. I will continue but it is very likely that we will face problems. If this happens, please consider to call either o conf init connect_to_internet_ok or o conf init urllist Sleeping 5 seconds now.
I have absolutely no idea where to go next. Does anyone else have a clue?

Replies are listed 'Best First'.
Re: Problems With CPAN
by jhourcle (Prior) on Apr 01, 2009 at 18:35 UTC

    I ran into the same problem last week. (and for those who are quickly dismissive -- 'o conf init urllist' did _not_ do anything)

    It turned out that Apple's 2009-01 security update breaks CPAN because they insert an outdated IO.bundle. See the previous link for information on how to fix it.

Re: Problems With CPAN
by apl (Monsignor) on Apr 01, 2009 at 19:06 UTC
    I had the same problem last night under Ubuntu with a different module (and the recommended commands didn't change a thing).

    Try downloading and using cpanplus. That hasn't reported a similar problem.

Re: Problems With CPAN
by Bloodnok (Vicar) on Apr 01, 2009 at 16:51 UTC
    You could always try the suggested commands (within the CPAN shell]) ... :P

    A user level that continues to overstate my experience :-))
Re: Problems With CPAN
by netvarun (Initiate) on Oct 19, 2009 at 21:26 UTC
    I had the same issue too.

    After reconfiguring CPAN the problem went away.

    To reconfigure CPAN

    Start cpan:

    perl -MCPAN -e shell

    once you get to the prompt,enter:

    o conf init

    to automatically reset all config parameters to default values.

    this should fix the issue.