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


in reply to Install Module with no admin permission

The --shelltype option was introduced with local::lib 2.0.

I guess a quick workaround could be to use a more bourne sh-compatible shell instead of csh.

The somewhat longer approach would be to install a more recent local::lib, potentially from within that bourne shell.

Replies are listed 'Best First'.
Re^2: Install Module with no admin permission
by avico78 (Novice) on Jul 05, 2017 at 13:50 UTC

    Tnx, Maybe i miss something .. I'm following this guide: https://srcc.stanford.edu/farmshare2/software-perllocallib#useManually is it not suppose to install the local::lib? case not, how can install it then? Need more details how to have the ability add modules to some private directory and use it where I'm not the admin. also download: local-lib-2.000023 Tried to install

    perl -Mlocal::lib Makefile.PL Warning: prerequisite ExtUtils::MakeMaker 7.00 not found. We have 6.68 +. Writing Makefile for local::lib [user@illinxxxx local-lib-2.000023]$ pwd /testusers/env/test/nadavp/perl5/local-lib-2.000023 also... [user@illinxxxx local-lib-2.000023]$ perl Makefile.PL Warning: prerequisite ExtUtils::MakeMaker 7.00 not found. We have 6.68 +. Writing Makefile for local::lib
    Please assist

      It seems that local::lib raised its minimum prerequisite version in 2014, for one reason or another.

      Either you patch their Makefile.PL to use any version of ExtUtils::MakeMaker or you try to install local::lib 2.000014 or earlier to work around this.

      Maybe you can also just copy the files of local::lib to their target destination, but I don't know where that should be.

      Maybe their bootstrapping technique works for you, even though their Makefile.PL really wants ExtUtils::MakeMaker v7.00. Hopefully just commenting out the line below PREREQ_PM with ExtUtils::MakeMaker on it makes everything work.

        Tnx,The idea of installing local::lib is the have the option of installing module on private directory with non admin permission right? then all modules i want to install will be install under the same private directory? what do u mean copying the files of local::lib to their target destination? what is the their target destination ? As u suggest i tried lower version:

        [xxxx@illinxxxx local-lib-2.000014]$ perl -Mlocal::lib Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite ExtUtils::MakeMaker 6.74 not found. We have 6.68 +. Writing Makefile for local::lib [xxxx@illinxxxx local-lib-2.000014]$ perl -Mlocal::lib Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite ExtUtils::MakeMaker 6.74 not found. We have 6.68 +. Writing Makefile for local::lib
        The issue is that its not clear for me what is require in order to have the ability to install private module as non admin- If install local::lib - cool, how? once i get local::lib installed - can install modules with their dependencies automatically into the private folder? can u please clear what do u mean by commenting PREREQ_PM with ExtUtils::MakeMaker? do u mean to replace strings of PREREQ_PM with ExtUtils::MakeMaker?