%ENV: PERL5LIB="/root/perl5/lib/perl5:" PERL_LOCAL_LIB_ROOT=":/root/perl5" PERL_MB_OPT="--install_base /root/perl5" PERL_MM_OPT="INSTALL_BASE=/root/perl5" @INC: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
You can see from the config above why this server is installing modules into this location. Ideally your perls should have the same configuration across your fleet, do avoid any problems from this one being different. If your servers are uniform then there are alternatives (e.g. build your own perl say in /app/appname, building/installing modules on one server and deploying from there, rather than building on each).
Update: for clarity, note the PERL_ env vars.
In reply to Re^5: DBD::Oracle only installs under /root ?
by marto
in thread DBD::Oracle only installs under /root ?
by toledotown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |