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


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

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

Replies are listed 'Best First'.
Re^3: Install Module with no admin permission
by Corion (Patriarch) on Jul 05, 2017 at 13:57 UTC

    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?

        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.