I just got my new M2 macbook pro in the mail! Excited to get going with it but am having trouble installing Erlang…
I installed asdf through the official git method per their website. I then did the before erlang plugin install instructions on the readme and installed the plugin. Then I tried to install erlang and it just sits at the build step… it’s been there for hours without failing. I assume something has gone wrong but am unsure of how to check? Any help is appreciated.
You could try to find if asdf has something like verbose flags, otherwise you can clone the git repository and try to compile it yourself. Note that compilation process is quite resource hungry and might take from 10 to 20 minutes on an idle machine.
Also, thanks to everyone else who responded. I did install later versions (25.2) with asdf and it worked perfectly. I was looking at compiling directly but then decided to try @adamu solution of copying from homebrew install and that now works.
No, the build log sometimes does not contain all the information, or the information is not useful. I made the switch after I was experiencing failures that failed with asdf-erlang using the same kerl version with the same build options, but worked using kerl directly.
If you add another dependency in the pipeline, there are more things that can go wrong Rather than spend time trying to figure out what went wrong and if it’s related to asdf-erlang or the wiring between asdf-erlang and kerl, now I just use kerl and want to point out that’s an option to others.