Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X Big Sur Configure fails #54

Open
garu opened this issue Mar 10, 2021 · 1 comment
Open

OS X Big Sur Configure fails #54

garu opened this issue Mar 10, 2021 · 1 comment

Comments

@garu
Copy link

garu commented Mar 10, 2021

Hey BingOS! Hope you're doing well in these crazy times :)

I'm having some trouble installing older perls on the new macbook pro with the m1 chip and big sur, using plenv. I have Devel::PatchPerl 2.08 and I'm pretty convinced it is being used by plenv. Here's what I'm trying:

$ plenv install 5.28.0
Installing 5.28.0 as 5.28.0
/Users/garu/.plenv/versions/5.32.1/bin/perl5.32.1 -- /opt/homebrew/Cellar/perl-build/1.31/libexec/bin/perl-build --symlink-devel-executables --build-dir /Users/garu/.plenv/build/1615352875.6259/ --tarball-dir /Users/garu/.plenv/cache/ -Dversiononly 5.28.0 /Users/garu/.plenv/versions/5.28.0
Use the previously fetched perl-5.28.0.tar.gz
Configuring perl '5.28.0'
rm -f config.sh Policy.sh
Auto-guessed '5.28.0'
patching Configure         <=== Devel::PatchPerl
sh Configure -Dprefix=/Users/garu/.plenv/versions/5.28.0 -de -Dversiononly -A'eval:scriptdir=/Users/garu/.plenv/versions/5.28.0/bin'

Beginning of configuration questions for perl5.
(snip!)
Which of these apply, if any? [darwin]

*** Unexpected product version 11.2.
***
*** Try running sw_vers and see what its ProductVersion says.

Installation failure: sh Configure -Dprefix=/Users/garu/.plenv/versions/5.28.0 -de -Dversiononly -A'eval:scriptdir=/Users/garu/.plenv/versions/5.28.0/bin' at /opt/homebrew/Cellar/perl-build/1.31/libexec/lib/perl5/Perl/Build.pm line 318.
ABORT

Any ideas on how to fix this?

Thank you! And thanks for all the amazing work you do <3

@garu garu changed the title Big Sur Configure fails on the M1 OS X Big Sur Configure fails Mar 10, 2021
@skaji
Copy link
Contributor

skaji commented Apr 7, 2021

@garu Use Perl-Build in github.com, not in homebrew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants