On Wednesday, February 6, 2002, at 05:34 PM, Geoffrey F. Green wrote:
> > As the subject line indicates, all of my questions relate to CPAN. > > 1. I think I've got the configuration pretty well set up. Using > the default > installation of perl and CPAN, and recognizing that the > case-insensitivity > of HFS+ can cause problems, am I in any immediate danger of > screwing up my > system beyond repair if I update CPAN and install Bundle:libnet? (I'm > familiar with the libwww "head/HEAD" issues.) Is there an easy > way I can > tell CPAN to install everything in a separate directory so it > doesn't tromp > on anything (including if I decide to install libwww in the future)? Here is my .cshrc setup for use with Perl: setenv PERL_BADLANG "0" # get rid of locale error messages - 5.7.2 issue only setenv PREFIX "$HOME/install" # a convenience variable setenv PERL5LIB "$PREFIX/lib/site_perl/5.7.2" # where Perl will install downloaded modules and then from perl -MCPAN -e shell cpan> o conf prefix /Users/metaperl/install cpan> quit This will make it so that perl -MCPAN -e 'install Rad::Module' will install in the directory indicated by prefix > > 1a. Do I have to run CPAN as root? (I'm a bit paranoid of overwriting > critical system files). Absolutely not, if you setup prefix as shown above. Also, if manually making a module, the above allows you to do this: perl Makefile.PL PREFIX=$PREFIX # set prefix to $PREFIX make make test make install > > 2. Each time I've tried to install a module using CPAN, CPAN appears to > download the source to Perl 5.6.1. I've read enough of the trials and > travails people have had installing 5.6.1 that I don't want to > join the fun. > So each time I've killed CPAN. CPAN's not going to try to install Perl > 5.6.1 automatically, is it? > no it won't. I am having a great time with 5.7.2. For some reason, it compiles out of the box. to compile it, all I did was sh Configure -DPrefix=/Users/metaperl/install -des > That's it for now. TIA for your help; if there's some kind of > resource with > answers to these questions that I've overlooked, I'll be happy to > head in > that direction, tail between my legs . . . . :-) > how about this resource - http://www.perlmonks.org just another business objects layer hacker
