FGMGIT
Configure error with erlang 23.0.3 in MacOS 11 (Big sur)
Hello everyone,
I’m working unfortunately or necessarily with MacOS 11 Big Sur. And tried to install Elixir Nerves 1.6.3 and uninstall Erlang 23 with Hombrew, according with Nerves 1.6.3 install documentation, it seems that is not possible to reinstall that version with asdf, kerl or brew, even building Erlang / OTP from scratch will not be possible for OTP 23.0.3.
It seems that the only version that builds for MacOSX 11 is Erlang/OTP24. With what you will have:
** (Mix) Major version mismatch between host and target Erlang/OTP versions
I have only been able to build Erlang on MacOSX 11 by following this bug note. But only in OTP 24.
and
If I try asdf or kerl to build 23.0.3:
checking OTP version... 23.0.3
configure: error:
You are natively building Erlang/OTP for a later version of MacOSX
than current version (11.0). You either need to
cross-build Erlang/OTP, or set the environment variable
MACOSX_DEPLOYMENT_TARGET to 11.0 (or a lower version).
Try to set MACOSX_DEPLOYMENT_TARGET to 11.0 or 10.5 doesn’t seems to work
export MACOSX_DEPLOYMENT_TARGET=11
Is there any advance with support for MacOS 11? or someone facing problems with erlang 23.0.3 in MacOS 11?
Most Liked
axelclark
rodrigues
I’ve had this issue last week in Big Sur, indeed appending the && false to that line in configure.in helped fix it ![]()
This thread describes how to deal with it in the context of asdf builds:
https://github.com/asdf-vm/asdf-erlang/issues/161#issuecomment-731477842
axelson
Now that there’s a patch for Apply Erlang patch to build on OSX Big Sur by fhunleth · Pull Request #356 · kerl/kerl · GitHub (thanks @fhunleth
) hopefully this won’t be an issue for much longer. Although I’m not sure if ASDF needs a PR to pull in the latest kerl (or if a kerl release is needed).
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









