[sf-perl] macOS 11.2.1 Perl 5.28.2 ExtUtils::MakeMaker 7.34 'perl Makefile.PL' Segmentation fault: 11
David Christensen
dpchrist at holgerdanske.com
Fri Feb 12 13:47:43 PST 2021
On 2021-02-12 10:45, William Michels wrote:
> Hi David,
>
> Chiming in only because you and I have MBPs of similar (identical?)
> vintage. I've been recently playing with a module and had to update
> CPAN. I ran into problems installing the 2 Mac-specific modules
> File::HomeDir and Mac::SystemDirectory , so maybe you can check if
> they're up-to-date for you.
>
> #CPAN output:
> Failed during this command:
> ETHER/Mac-SystemDirectory-0.13.tar.gz : make NO
> REHSACK/File-HomeDir-1.006.tar.gz : make_test NO one dependency
> not OK (Mac::SystemDirectory)
> ANDK/CPAN-2.28.tar.gz : make_test NO one dependency
> not OK (File::HomeDir)
>
>
> Possible "Big Sur" connection/resolution here:
>
> https://tex.stackexchange.com/questions/576232/latexindent-trouble-installing-filehomedir-macsystemdirectory-since-macos
I am also running into the EXTERN.h issue:
2021-02-11 22:57:47 dpchrist at MacBook-Pro ~
$ cpan List::AllUtils
...
Configuring D/DR/DROLSKY/List-SomeUtils-0.58.tar.gz with Makefile.PL
HASCOMPILERlSmZ/TESTv6X3.c:2:10: fatal error: 'EXTERN.h' file not found
#include "EXTERN.h"
^~~~~~~~~~
1 error generated.
Couldn't execute cc -g -pipe -fno-strict-aliasing
-fstack-protector-strong -DPERL_USE_SAFE_PUTENV -Os
"-I/System/Library/Perl/5.28/darwin-thread-multi-2level/CORE" -c
HASCOMPILERlSmZ/TESTv6X3.c -o HASCOMPILERlSmZ/TESTv6X3.o: Inappropriate
ioctl for device at Makefile.PL line 107.
I saw this same issue ~20 months ago. I filed a bug report with Apple
developer. They told me "this issue behaves as intended ...", and
directed me to install a macOS SDK headers package that was included
with Xcode. Looking at my current installation, I do not see an
analogous file.
stackexchange/ stackoverflow user-to-user work-arounds are not
appealing, but I'll keep that in mind as a last resort.
David
More information about the SanFrancisco-pm
mailing list