[sf-perl] macOS 11.2.1 Perl 5.28.2 ExtUtils::MakeMaker 7.34 'perl Makefile.PL' Segmentation fault: 11

yary not.com at gmail.com
Fri Feb 12 14:09:57 PST 2021


Even though local::lib is pure Perl, it can compile & locally install
modules that aren't pure perl. And you're using the system perl. So all
non-pure-Perl modules that local::lib installed with Perl 5.18 in MacOS X
will likely break in Perl 5.28 MacOS 11 (or be missing- if I
recall correctly there are subdirectories with the Perl version number in
it for XS modules, though I'm fuzzy on that)

Issues with upgrading the OS is why I prefer using perlbrew, it lets me
independently upgrade/switch OS and Perl without them stepping on each
other.

local::lib is a decent first step, though I ended up removing the
local::lib boilerplate from my shell ".profile" login script when I
switched to perlbrew, it was better to let perlbrew have cpan/cpanm install
in its directory scheme.

-y


On Fri, Feb 12, 2021 at 4:48 PM David Christensen <dpchrist at holgerdanske.com>
wrote:

> 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
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> https://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20210212/60c6c60b/attachment-0001.html>


More information about the SanFrancisco-pm mailing list