FGMGIT

FGMGIT

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

https://github.com/erlang/otp

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?

Showing Posts 1 to 9

FGMGIT

FGMGIT OP

UPDATE!!! To compile Erlang 23.0.3 from source yo can use “maint” brach, they rebased bugs related with MacOS 11 builds into that branch.

fireyang

fireyang

you can use : brew install erlang

mikeway1

mikeway1

Brew Install consistently has a problem with late Erlang (23.0.4) and Elixir(10.0.4) installations. Erlang will run erl -v and shows OTP 22. When attempting to build (23.0.4) via asdf it fails stating I am trying to build with a later version of MacOS than 11. There is no later version.

Eshell v10.7.1 runs appropriately but Elixir crashes looking for some Elixir files.

I really want to use this package, any ideas?

smedegaard

smedegaard

got this problem after updating to Mac OS Big Sur. Ended up uninstalling my asdf version and installing with brew.

axelson

axelson

Scenic Core Team

I’m not on Big Sur and haven’t tested this but I believe this kerl GitHub issue has a workaround for this issue: Configure error with erlang 23.0.3 in MacOS 11 (Big sur) · Issue #346 · kerl/kerl · GitHub

rodrigues

rodrigues

I’ve had this issue last week in Big Sur, indeed appending the && false to that line in configure.in helped fix it :+1:

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

axelson

Scenic Core Team

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 :heart:) 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).

kkempin

kkempin

This is a workaround that I’ve figured out. It seems to work: Fix for Erlang installation with asdf on macOS 11 Big Sur - DEV Community

axelclark

axelclark

I just installed erlang 23.2.1 with asdf in MacOS 11 (Big Sur) and didn’t have any issues. It looks like the issue is fixed (bumped kerl version to 2.0.2) with this commit. Thanks @fhunleth!

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews