Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Cannot install Config::Augeas on Mac, Big Surby bliako (Monsignor) |
on Mar 09, 2021 at 20:41 UTC ( [id://11129381]=note: print w/replies, xml ) | Need Help?? |
Try installing libaugeas.dylib from source. If you are using macports, then ports -s will fetch the source and compile locally. Other package managers will have their own equivalent. If that fails, fetch the source yourself and compile it locally. For this last option, I am not sure installing it over existing /usr/local/lib will be a good idea though. Edit: hang on I got it totally wrong. The error message says that your library is version 11 which more-or-less matches your OS. And it is linked with something which is 10.13. The only thing is lib/Config/Augeas.o Perhaps bumping up -mmacosx-version-min=10.13? Edit2: How to do this? make CFLAGS="-mmacosx-version-min=11.0" LDFLAGS="-mmacosx-version-min=11.0" and if that creates contradictory options then cpanm My::Module --configure-args='CFLAGS="-mmacosx-version-min=11.0" LDFLAGS="-mmacosx-version-min=11.0"' And if all else fails, edit Makefile and bump up the version from 10.13 to 11.0 manually and be careful not to re-run Makefile.PL which will re-create Makefile. bw, bliako
In Section
Seekers of Perl Wisdom
|
|