cnd has asked for the wisdom of the Perl Monks concerning the following question:
My onion2+ gadget has "perl 5, version 22, subversion 1 (v5.22.1) built for mipsel-linux-musl"
It has no cpanm/-MCPAN/ppm installed, on the FS, or visible in any opkg repos.
I get this when I tried the obvious:-
root@Omega-C50F:~/un/Bundle-CPAN-1.862# perl Makefile.PL Can't locate strict.pm in @INC (you may need to install the strict mod +ule) (@INC contains: /usr/lib/perl5/5.22 .) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1.
And this when I pulled "use strict" out of the Makefile.PL
root@Omega-C50F:~/un/Bundle-CPAN-1.862# perl Makefile.PL Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install th +e ExtUtils::MakeMaker module) (@INC contains: /usr/lib/perl5/5.22 .) +at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1.
and I'm pretty sure MakeMaker is going to lead to dependancy nightmare...
similar story for CPAN.pm itself (missing strict.pm, vars.pm, MakeMaker too, etc)
For now, I'm not interested in XS or binary - just pure-perl modules.
What's the procedure to bootstrap a working perl environment? (I got the executable via "opkg install perl")
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Can I install CPAN itself on busybox?
by marto (Cardinal) on Jul 09, 2017 at 19:14 UTC | |
by cnd (Acolyte) on Jul 09, 2017 at 19:43 UTC | |
by marto (Cardinal) on Jul 09, 2017 at 19:57 UTC | |
by stevieb (Canon) on Jul 09, 2017 at 20:07 UTC | |
by tobyink (Canon) on Jul 09, 2017 at 20:25 UTC | |
| |
by afoken (Chancellor) on Jul 10, 2017 at 19:30 UTC | |
by huck (Prior) on Jul 09, 2017 at 20:45 UTC | |
Re: Can I install CPAN itself on busybox?
by shmem (Chancellor) on Jul 10, 2017 at 06:08 UTC | |
Re: Can I install CPAN itself on busybox?
by stevieb (Canon) on Jul 09, 2017 at 19:10 UTC | |
by cnd (Acolyte) on Jul 09, 2017 at 19:47 UTC | |
by stevieb (Canon) on Jul 09, 2017 at 20:04 UTC |
Back to
Seekers of Perl Wisdom