http://www.perlmonks.org?node_id=1194235

avico78 has asked for the wisdom of the Perl Monks concerning the following question:

I'm running without root/admin permission on Linux illinXXXX 3.10.0-514.6.1.el7.x86_64 #1 SMP Sat Dec 10 11:15:38 EST 2016 x86_64 x86_64 x86_64 GNU/Linux Perl version:

xxxxx@illinxxxx~/perl5]$ perl -V /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 also.. perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-li +nux-thread-multi (with 28 registered patches, see perl -V for more detail)
I want to have the option to install Perl modules , following this guide : https://srcc.stanford.edu/farmshare2/software-perllocallib#useManually running:

[user@illinXXXX ~]$ perl -Mlocal::lib Attempting to create directory /testusers/env/test/user/perl5 test 1 == ${?PERL_LOCAL_LIB_ROOT} && setenv PERL_LOCAL_LIB_ROOT "${PER +L_LOCAL_LIB_ROOT}:/testusers/env/test/user/perl5" || setenv PERL_LOCA +L_LIB_ROOT "/testusers/env/test/user/perl5"; setenv PERL_MB_OPT "--install_base /testusers/env/test/user/perl5"; setenv PERL_MM_OPT "INSTALL_BASE=/testusers/env/test/user/perl5"; test 1 == ${?PERL5LIB} && setenv PERL5LIB "/testusers/env/test/user/pe +rl5/lib/perl5:${PERL5LIB}" || setenv PERL5LIB "/testusers/env/test/us +er/perl5/lib/perl5"; test 1 == ${?PATH} && setenv PATH "/testusers/env/test/user/perl5/bin: +${PATH}" || setenv PATH "/testusers/env/test/user/perl5/bin";

from the installation guide: "Attempting to create directory...is what's important ..." If you see that message, and no errors, then local::lib is ready to use!" I see perl5 directory created but nothing in it. I need Perl to work with Couchbase DB - mostly for reading and updating , Found this module: http://search.cpan.org/~norbu/Store-CouchDB-3.8/lib/Store/CouchDB.pm But when trying to install as:

perl -Mlocal::lib Makefile.PL following guide instruction : Warning: prerequisite Any::Moose 0 not found. Warning: prerequisite Data::Dump 0 not found. Warning: prerequisite Data::Printer 0 not found. Warning: prerequisite JSON 0 not found. Warning: prerequisite Types::Serialiser 0 not found. Writing Makefile for Store::CouchDB

secondly , I tried to install from cpan:

eval `perl -I$HOME/perl5/lib -Mlocal::lib=--shelltype=csh` [user@illinXXXX Store-CouchDB-3.8]$ eval `perl -I$HOME/perl5/lib -Mloc +al::lib=--shelltype=csh` Unknown import argument: --shelltype=csh at /usr/share/perl5/vendor_pe +rl/local/lib.pm line 47.

Your help is high appreciated </code>