On Oct 18, 2007, at 7:53 PM, A. Pagaltzis wrote:

* Matisse Enzer <[EMAIL PROTECTED]> [2007-10-18 19:35]:
From your shell prompt:

  sudo cpan

No, if you used to use CPAN.pm as root, then instead say this:

    sudo tar cf - .cpan -C ~root | tar xvf - -C ~
    sudo rm -r ~root/.cpan

You are right - one should properly copy the existing configuration.

In my case,  on OS X, the location of 'MyConfig.pm' is
   /Users/matisse/Library/Application Support/.cpan/CPAN/MyConfig.pm

so I did:

   cp /System/Library/Perl/5.8.6/CPAN/Config.pm \
"/Users/matisse/Library/Application Support/.cpan/CPAN/ MyConfig.pm"

Nothing is as simple as it seems. Or almost nothing anyway.

-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/  - http://www.eigenstate.net/



Reply via email to