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")


In reply to Can I install CPAN itself on busybox? by cnd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.