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


in reply to Re^2: Install Module with no admin permission
in thread Install Module with no admin permission

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.

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

    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?

      In the file Makefile.PL, you find a line

      'ExtUtils::MakeMaker' => '7.00', # version INSTALL_BASE taken as + string, not shell

      Try changing that line to

      #'ExtUtils::MakeMaker' => '7.00', # version INSTALL_BASE taken a +s string, not shell

      and then retry installing local::lib.