Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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>


In reply to Install Module with no admin permission by avico78

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (5)
    As of 2021-01-24 00:42 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Notices?