Closed mrflip closed 2 years ago
Was able to replicate the issue, I think; looks like the Homebrew cpanminus
formula was updated to use the system Perl, which breaks things in the Sqitch installer. See Homebrew/homebrew-core#103511 for details. Will update with a fix ASAP.
tl;dr
I tried twelve different angles on this, using homebrew and then directly with homebrew cpanm; errors included
Module::Build
, and then the next on the dependency list, and so on. By force installing all of those I finally go to it only fail building the DBD:(anything) filesLibrary/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto
which had at least one copy of the header file it wantedFinally, I caught it trying to run
/usr/bin/perl
version 5.30.3 -- i.e. the system perl -- during the install process of that. it might be I was always running into the same problem; or that the issue was the homebrew perl is 5.34.0 vs 5.30.3; or that I am still on bash and the system has switched to zsh.In any case, I instead blew away perl completely by
rm -rf ~/.cpan ~/.cpanm ~/perl5
andbrew uninstall cpanm perl
and then installed perl 5.3.0 using asdf:Added this to my .bashrc:
Finally did the install:
I've retconned some of those commands as of course I was just spamming anything I could at the command line but that gives you the gist. No idea if I was hitting one problem or several and whether all of this is necessary.