it looks like https://metacpan.org/source/RAPHINK/Config-Augeas-1.000/lib%2FConfig%2FAugeas.pm#L142 calls https://metacpan.org/source/RAPHINK/Config-Augeas-1.000/lib%2FConfig%2FAugeas.xs#L86. It looks like it fails to init but none-the-less that undef return value is stored in the $self, and when get() is called it is on an undef ref. But I have no idea what's going on further down inside XS. If you manage to insert here https://metacpan.org/source/RAPHINK/Config-Augeas-1.000/lib%2FConfig%2FAugeas.pm#L141 a debug message showing $root and $loadpath you may be able to get a hint at least where does it look for libraries. That means something like: 1) run the cpanm command which will fail, 2) chdir to the cpanm work dir mentioned in the error message, 3) edit Config::Augeaus within this path with diag messages, 4) Somehow try to initiate the build process again MANUALLY (not via cpanm), usually with a make, or perl Makefile.PL or ./Build but beware what I mentioned earlier on how to force it to create a Build file.

FWIW I managed to macport install augeas and then cpanm Config::Augeas with no problems, on OSX 10.13


In reply to Re^5: Cannot install Config::Augeas on Mac, Big Sur by bliako
in thread Cannot install Config::Augeas on Mac, Big Sur by nysus

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.