asdf-vm/asdf-erlang

22.3.4.26 not installing on M1, but no error

krisalyssa opened this issue · 5 comments

MacBook Pro 2021, M1 processor
macOS Ventura 13.3.1 (a)

% asdf version
v0.11.3-0adc6c1
% asdf install erlang 22.3.4.26
asdf_22.3.4.26 is not a kerl-managed Erlang/OTP installation
The asdf_22.3.4.26 build has been deleted
Extracting source code
Building Erlang/OTP 22.3.4.26 (asdf_22.3.4.26), please wait...
APPLICATIONS DISABLED (See: /Users/ccottingham/.asdf/plugins/erlang/kerl-home/builds/asdf_22.3.4.26/otp_build_22.3.4.26.log)
 * jinterface     : Java compiler disabled by user

 * odbc           : ODBC library - link check failed

APPLICATIONS INFORMATION (See: /Users/ccottingham/.asdf/plugins/erlang/kerl-home/builds/asdf_22.3.4.26/otp_build_22.3.4.26.log)
 * wx             : wxWidgets not found, wx will NOT be usable

DOCUMENTATION INFORMATION (See: /Users/ccottingham/.asdf/plugins/erlang/kerl-home/builds/asdf_22.3.4.26/otp_build_22.3.4.26.log)
 * documentation  :
 *                  fop is missing.
 *                  Using fakefop to generate placeholder PDF files.

Erlang/OTP 22.3.4.26 (asdf_22.3.4.26) has been successfully built
% asdf list erlang
  23.3.4.18
  24.3.4.11
  25.3.2

I'll attach the log file rather than paste it here.

It looks like Erlang is building fine, but the equivalent of make install isn't running.

I updated asdf and plugins prior to this (the asdf version is at the top of the output above; I don't see any way to get the version of the plugin).

otp_build_22.3.4.26.log

Hi there! 👋 I have the same issues and it happens like this with all versions I'm trying to install. It works with 26.0, though. Any news on the problem?

Output of one of my tries:

% export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix openssl@1.1)"
% asdf install erlang
asdf_25.3.2 is not a kerl-managed Erlang/OTP installation
The asdf_25.3.2 build has been deleted
Extracting source code
Building Erlang/OTP 25.3.2 (asdf_25.3.2), please wait...
APPLICATIONS DISABLED (See: /Users/ulbrich/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2/otp_build_25.3.2.log)
 * jinterface     : Java compiler disabled by user
 * odbc           : ODBC library - link check failed

Building docs...
Erlang/OTP 25.3.2 (asdf_25.3.2) has been successfully built
ulbrich /Users/ulbrich/src/bwb/api % erl
No erl executable found for erlang 25.3.2

@ulbrich Odd -- I have 25.3.2 installed on my M1 MacBook and it runs fine.

Have you ruled out a problem with PATH? Does 25.3.2 show up when you run asdf list erlang?

Also, if that's all the output you got when installing 25.3.2, there may be something else at play. You should get a lot more output than that.

Try following?

asdf plugin remove erlang
asdf plugin add erlang
asdf install erlang <version-you-want>

Wow, that worked! Hmmm, so an update of the plugin didn't, but a fresh install did: Will add that to my future strategy. Thank you! 👏

I think this is the same issue as: #266 (comment), which have fixed on master, not sure it had a release or not.