in reply to Re^2: Cannot install Config::Augeas on Mac, Big Sur
in thread Cannot install Config::Augeas on Mac, Big Sur

Wild guess: if you built your perl with perlbrew before upgrading the OS that (or some of the config baked therein) may be the source of the older version. Try reinstalling your perl (although if that's the problem you may need to recompile all the XS modules as well to ensure they match the new binary).

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re^3: Cannot install Config::Augeas on Mac, Big Sur

Replies are listed 'Best First'.
Re^4:Cannot install Config::Augeas on Mac, Big Sur
by nysus (Parson) on Mar 11, 2021 at 01:11 UTC

    I thought for sure you were on to something. I installed latest version of perl with perlbrew and migrated all the modules over and I switched to latest version. Still getting this error, however, with "cpanm Config::Augeas":

    Building Config-Augeas cc -I/Users/me/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/darwin-2lev +el/CORE -DVERSION="1.000" -DXS_VERSION="1.000" -I/usr/local/Cellar/au +geas/1.12.0/include -Wall -Wformat -Werror=format-security -c -fno-co +mmon -DPERL_DARWIN -mmacosx-version-min=11.2 -fno-strict-aliasing -pi +pe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTE +NV -O3 -o lib/Config/Augeas.o lib/Config/Augeas.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Config/Augeas/Augea +s.bs') cc -mmacosx-version-min=11.2 -bundle -undefined dynamic_lookup -L/usr/ +local/lib -fstack-protector-strong -o blib/arch/auto/Config/Augeas/Au +geas.bundle lib/Config/Augeas.o -L/usr/local/Cellar/augeas/1.12.0/lib + -laugeas Can't call method "get" on an undefined value at /Users/stevedondley/. +cpanm/work/1615424668.56822/Config-Augeas-1.000/blib/lib/Config/Augea +s.pm line 227.
    # Looks like your test exited with 255 just after 2.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks