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 In the terminal type "perldoc cpan" for more information about CPAN. HTH Robin On Wednesday, October 2, 2002, at 09:53 PM, Richard Jolly wrote: > tar: Failed open to read on > y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz <No such file or > directory> > Couldn't opendir y/build/ANDK000: No such file or directory at > /Library/Perl/CPAN.pm line 4873 > > I'm not sure what to do next. I've excerpted quite a lot from my > terminal below - hopefully this will be clear to someone with more > experience. >
