B
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?

I suppose yes, see below.

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

That's invalid. You haven't paid attention to what I've said:

Are you sure that PERL5LIB is properly set? e.g. that's the one I use at apache.org:
setenv PERL5LIB /home/stas/lib/perl5/5.00503:/home/stas/lib/perl5/site_perl/5.005:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/


Notice that you've to make it look like @INC and not just tell the base dir.

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... ;)

that's a known kludge with 5.005_03, see: http://perl.apache.org/docs/1.0/guide/install.html#Installation_Without_Superuser_Privileges

  % perl Makefile.PL PREFIX=/home/stas \
    INSTALLPRIVLIB=/home/stas/lib/perl5 \
    INSTALLSCRIPT=/home/stas/bin \
    INSTALLSITELIB=/home/stas/lib/perl5/site_perl \
    INSTALLBIN=/home/stas/bin \
    INSTALLMAN1DIR=/home/stas/lib/perl5/man  \
    INSTALLMAN3DIR=/home/stas/lib/perl5/man3

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to