Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
The stupid question is the question not asked

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

by marto (Chancellor)
on Feb 11, 2014 at 21:22 UTC ( #1074510=note: print w/ replies, xml ) Need Help??

in reply to Re^2: 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?


Comment on Re^3: Why won't local::lib tell me what to put in .bashrc?
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

    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.

      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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-03-17 05:18 GMT
Find Nodes?
    Voting Booth?

    Have you used a cryptocurrency?

    Results (340 votes), past polls