Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Why won't local::lib tell me what to put in .bashrc?

by DarkMorford (Novice)
on Feb 13, 2014 at 04:10 UTC ( #1074730=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Why won't local::lib tell me what to put in .bashrc?
in thread Why won't local::lib tell me what to put in .bashrc?

After looking through the local::lib docs on CPAN, I found that just running perl -Mlocal::lib gave me a set of environment-variable definitions that seem to be working:

export PERL_LOCAL_LIB_ROOT="/home/smorford/perl5"; export PERL_MB_OPT="--install_base /home/smorford/perl5"; export PERL_MM_OPT="INSTALL_BASE=/home/smorford/perl5"; export PERL5LIB="/home/smorford/perl5/lib/perl5/x86_64-linux-gnu-threa +d-multi:/home/smorford/perl5/lib/perl5"; export PATH="/home/smorford/perl5/bin:$PATH";

I stuck those at the end of my .bashrc, restarted my shell to set up the environment, and CPAN seems to be letting me install things locally now. Really curious why it didn't display those at the end of the setup procedure, though.


Comment on Re^4: Why won't local::lib tell me what to put in .bashrc?
Select or Download Code
Re^5: Why won't local::lib tell me what to put in .bashrc?
by marto (Bishop) on Feb 13, 2014 at 10:36 UTC

    Thanks. Can you tell me which version of local::lib you have? The first thing we should do is check that you are not hitting a current or recently resolved bug, that is to say a bug which has been fixed in version released since the one you are using.

    If this turns up nothing then we have to be able to replicate the problem. At this stage it would be helpful if you can replicate this on your system. The next step would be to look at the code to see if we can pinpoint the cause of the problem and if possible provide a patch to resolve the issue.

    Patch or not, once we're sure the problem can be replicated a bug should be raised. Let me know if you need any help with this, though my free time is fairly limited at the time being.

      Looks like it's version 2.000004. I'll make a fresh Ubuntu VM tonight or tomorrow and see if I can replicate it there.

        Great, keep me posted, and let me know if I can help with anything.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1074730]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-12-26 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls