Thank you very much.

I "o conf init"'ed (in case I'd pressed 'y' instead of return for 
anything else) and everything worked fine.

Richard

__

On Wednesday, October 2, 2002, at 02:37 PM, Robin wrote:

> You don't need to re-install CPAN, just re-configure it -
>
> So in the terminal type:
> 1) [terminal commandline:]user% cd ~
> 2) [terminal commandline:~]user% sudo mkdir .cpan
> 3) [terminal commandline:~]user% cd ~/.cpan
> 4) [terminal commandline:~/.cpan]user% sudo mkdir build
> 5) [terminal commandline:~/.cpan]user% sudo mkdir sources
> 6) [terminal commandline:~/.cpan]user% sudo perl -MCPAN -e shell
> cpan>o conf
>
>
> What you wrote:
> 1) makes sure you're in your userfolder
> 2) makes a folder called '.cpan' which is the default install name
> 3) moves you into the new .cpan dir
> 4) makes a folder called 'build', used by cpan
> 5) makes a folder called 'sources', used by cpan
> 6) will list the current CPAN configuration
>
> to change the config data so that CPAN can see and use the folders you 
> made, still from the command line
>
>
>
> EITHER:
> i)  cpan>o conf cpan_home =  /User/YOUR USERNAME/cpan
> ii)  cpan>o conf build_dir= /User/YOUR USERNAME/cpan/build
> iii) cpan>o conf keep_source_where= /User/YOUR USERNAME/cpan/sources
> iv) cpan> o conf commit  (save changes to the config info)
>
> What you wrote:
> i)    sets the cpan folder to /User/YOUR USERNAME/cpan
> ii)   sets the new  build_dir
> iii)  sets the source dir
> iv)  saves changes tyou just made
>
>
>
> OR :
> cpan> o conf init
>
> which will run the script which asked you for the config info the 
> first time you ran CPAN

<snip>

> HTH
>
> Robin

Reply via email to