tospo has asked for the wisdom of the Perl Monks concerning the following question:
I just started to use perlbrew on an Ubuntu Precise installation and I guess I'm doing something wrong but can't figure it out.
I want to install my perls into a nfs mounted directory /software/lib/perl5/perlbrew I set PERLBREW_ROOT to that directory and the two perl versions I installed so far have both correctly been installed there. I also added export PERLBREW_ROOT=/software/lib/perl5/perlbrew to my .bashrc and I can confirm in a terminal that this is indeed set correctly. In addition, perlbrew info also confirms that PERLBREW_ROOT is set to the above directory.
However, when I install a module like this
It is successfully installed in my home directory under ${HOME}/lib/perl5 and I can't figure out why. Any clues what I might be doing wrong? I can also confirm that the cpanm that is used appears to be the one installed with perlbrew (it's in the perlbrew path given above) Thanks for your help!perlbrew exec --with 5.14.2 cpanm Module::Build
UPDATE ====== Turns out (thanks Corion) that it was an old .modulebuildrc file that had set the install_base to my home dir, so all modules based on Module::Build ended up there.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perlbrew seems to ignore PERLBREW_ROOT
by tospo (Hermit) on Nov 29, 2013 at 12:33 UTC | |
Re: perlbrew seems to ignore PERLBREW_ROOT
by tospo (Hermit) on Nov 29, 2013 at 13:55 UTC | |
Re: perlbrew seems to ignore PERLBREW_ROOT
by tospo (Hermit) on Nov 29, 2013 at 14:35 UTC | |
by tospo (Hermit) on Nov 29, 2013 at 14:51 UTC | |
by Corion (Patriarch) on Nov 29, 2013 at 14:55 UTC | |
by tospo (Hermit) on Nov 29, 2013 at 15:35 UTC |