On Wed, 12 Jun 2019 05:23:01 +0530, Utkarsh Gupta wrote:
> PERL5LIB=/home/utkarsh2102/perl5/lib/perl5
> PERL_LOCAL_LIB_ROOT=/home/utkarsh2102/perl5
> PERL_MB_OPT=--install_base "/home/utkarsh2102/perl5"
> PERL_MM_OPT=INSTALL_BASE=/home/utkarsh2102/perl5
And that exactly explains why perl modules get installed to
/home/utkarsh2102/perl5 in your "normal" enviroment :)
And as there is a PERL_LOCAL_LIB_ROOT variable, this looks very much
like you are after all using local::lib; at least "using" in the
sense of that someone/something sets these variables (maybe in
~/.bashrc or something similar).
Which is fine for using perl modules outside the system installation
but causes grieve when building packages (but that's what chroots are
for anyway).
Ah, I followed the docs for setting things up.
But nevermind, I could perhaps live with it.
Thanks for clearing this up :D
Best,
Utkarsh