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:
I want to have the option to install Perl modules , following this guide : https://srcc.stanford.edu/farmshare2/software-perllocallib#useManually running: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)
[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>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Install Module with no admin permission
by marto (Cardinal) on Jul 05, 2017 at 12:51 UTC | |
by avico78 (Novice) on Jul 05, 2017 at 13:55 UTC | |
by marto (Cardinal) on Jul 05, 2017 at 14:21 UTC | |
by avico78 (Novice) on Jul 05, 2017 at 14:36 UTC | |
by marto (Cardinal) on Jul 05, 2017 at 14:48 UTC | |
by marto (Cardinal) on Jul 05, 2017 at 17:48 UTC | |
| |
Re: Install Module with no admin permission
by Corion (Patriarch) on Jul 05, 2017 at 12:29 UTC | |
by avico78 (Novice) on Jul 05, 2017 at 13:50 UTC | |
by Corion (Patriarch) on Jul 05, 2017 at 13:57 UTC | |
by avico78 (Novice) on Jul 05, 2017 at 14:21 UTC | |
by Corion (Patriarch) on Jul 05, 2017 at 14:27 UTC | |
Re: Install Module with no admin permission
by Haarg (Priest) on Jul 06, 2017 at 09:33 UTC | |
by marto (Cardinal) on Jul 06, 2017 at 09:44 UTC | |
by Haarg (Priest) on Jul 06, 2017 at 12:55 UTC | |
by marto (Cardinal) on Jul 06, 2017 at 13:44 UTC | |
by avico78 (Novice) on Jul 06, 2017 at 13:53 UTC | |
by marto (Cardinal) on Jul 06, 2017 at 15:21 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |