in reply to Re^4: Install Module with no admin permission
in thread Install Module with no admin permission
So local::lib now has a prerequsite of EUMM v7. You seem to have a method for transferring files onto this system somehow, here's a method for getting an up to date EUMM & local::lib installed. In my example below ignore the wgets for the packages, I'll leave them in for a complete end to end illustration:
marto@pihost:~$ perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for arm-linux +-gnueabihf-thread-multi-64int ........ marto@pihost:~$ wget http://search.cpan.org/CPAN/authors/id/H/HA/HAARG +/local-lib-2.000023.tar.gz marto@pihost:~$ wget http://search.cpan.org/CPAN/authors/id/B/BI/BINGO +S/ExtUtils-MakeMaker-7.30.tar.gz marto@pihost:~$ tar xzf ExtUtils-MakeMaker-7.30.tar.gz marto@pihost:~$ cd ExtUtils-MakeMaker-7.30/ marto@pihost:~$ perl Makefile.PL INSTALL_BASE=$HOME/perl5 marto@pihost:~$ make marto@pihost:~$ make test marto@pihost:~$ make install marto@pihost:~$ cd .. marto@pihost:~$ tar xzf local-lib-2.000023.tar.gz marto@pihost:~$ cd local-lib-2.000023/ marto@pihost:~$ perl -I $HOME/perl5/lib Makefile.PL --bootstrap marto@pihost:~$ make marto@pihost:~$ make test marto@pihost:~$ make install
Now follow the remainder of the local::lib config. As mentioned earlier a minicpan is a great advantage working the sort of envrionements you and I seem to. After the above I installed cpanm and was able to use it to automatically install modules without issue. Let me know if this causes any problems.
Update: As mentioned earlier, we installed our own perl, which is far more recent than the system perl, in another directory, and all our apps use this. Negates lots of issues. Our client saw this as a sane and logical suggestion, keeping clear of the system perl.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Install Module with no admin permission
by avico78 (Novice) on Jul 06, 2017 at 08:04 UTC | |
I installed ExtUtils-MakeMaker-7.30
going back to local-lib-2.000023 and install
... I dont understand whats wrong, I install the ExtUtils::MakeMaker , I think locally but when i try to install the local::lib it still see the old verison of ExtUtils::MakeMaker | [reply] [d/l] [select] |
by marto (Cardinal) on Jul 06, 2017 at 08:21 UTC | |
"I dont understand whats wrong, I install the ExtUtils::MakeMaker , I think locally but when i try to install the local::lib it still see the old verison of ExtUtils::MakeMaker" Take a look at the instructions I posted, when boostrapping local::lib I include the path to where I installed EUMM v7. The instructions I gave you should be pretty much copy & paste. | [reply] |
by choroba (Cardinal) on Jul 06, 2017 at 08:07 UTC | |
| [reply] [d/l] [select] |
by avico78 (Novice) on Jul 06, 2017 at 13:21 UTC | |
| [reply] [d/l] |