On Fri, 2 Aug 2002, Stas Bekman wrote: > Bill Moseley wrote: > > <rant day="too long"> > > [1] I'm into old right now. I'm tying to move a client to a new ISP > > that's running 5.00503, soon to be 5.6.1. For now I need a few updated > > modules, but when I try to use CPAN to install them it tries to install > > perl 5.8. Typical story. The client home directory is on an nfs share > > where the parent directory does not have read access so I can't install > > perl 5.6.1 or 5.8.0 locally (FindBin fails with permission error. 5.6.1 > > fails make test and won't install, and 5.8 fails Configure. > > I can't see what it has to do with mod_perl's "old"?
Not much. I was ranting...(because things that day didn't go as smoothly as I would have liked). I needed a newer version of a module, but loading it from CPAN.pm loaded a version dependent on a newer perl (used "our" keyword, for one thing). So what I needed was the most current version that would work with 5.00503. So, sometime it's handy to be able to get an "old" version. Not sure if that would ever apply to mod_perl, but someone might have a reason for not being able to install the latest version. Someone might have a policy that they don't use any package until it's six months old or some such thing, for example. > > The 5.8 issue on CPAN should be resolved at some point, it's being > discussed on p5p. The issue of CPAN trying to install 5.8? This ISP has removed read perms from the account's parent directory. This cause FindBin to fail and thus prevents perl (5.6.1 or 5.8.1) from installing in that account. I'm not sure how I feel about that -- seems like I should be able to install locally. What do you think? > > Another thing that bugs me is that when installing modules it seems to > > ignore PERL5LIB environment setting. I just tried to install something > > that required a never version of HTML::Parser. So I installed HTML::Parser > > locally, but it still kept finding the old version, and not the one in my > > PERL5LIB path..... > > </rant> > > what's "it"? CPAN.pm? works fine on apache.org where I've the same setup > 5.005_03 with local modules. I've seen this before. Perhaps I'm missing a setting in CPAN's MyConfig.pl. $ $echo $PERL5LIB /home/moseley/perl_lib $ perl -MHTML::Parser -le 'print $HTML::Parser::VERSION' 3.26 $ perl -MCPAN -e 'install HTML::FillInForm' Going to read /home/moseley/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok CPAN: LWP::UserAgent loaded ok Fetching with LWP: ... Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.005/i386-linux -I/usr/lib/perl5/5.005 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00_base...........HTML::Parser version 3.08 required--this is only version 3.02 at blib/lib/HTML/FillInForm.pm line 8. $ unset PERL5LIB $ perl -MHTML::Parser -le 'print $HTML::Parser::VERSION' 3.02 Another thing that is odd is when I run perl Makefile.PL PREFIX=$HOME/perl_lib the generated Makefile doesn't have the prefix in all the needed places, so install fails. All in a day's wasted time... ;) -- Bill Moseley [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
