Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Install Module with no admin permission

by avico78 (Novice)
on Jul 05, 2017 at 13:50 UTC ( #1194243=note: print w/replies, xml ) Need Help??


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 (Pope) 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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-05-14 17:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?