Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Install Module with no admin permission

by Corion (Pope)
on Jul 05, 2017 at 13:57 UTC ( #1194245=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194245]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-01-17 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?