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

22.3.4.26 not installing on M1, but no error #275

Open
krisalyssa opened this issue May 7, 2023 · 5 comments
Open

22.3.4.26 not installing on M1, but no error #275

krisalyssa opened this issue May 7, 2023 · 5 comments

Comments

@krisalyssa
Copy link

krisalyssa commented May 7, 2023

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

@ulbrich
Copy link

ulbrich commented May 22, 2023

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 [email protected])"
% 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

@krisalyssa
Copy link
Author

@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.

@hugo-tubi
Copy link
Contributor

Try following?

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

@ulbrich
Copy link

ulbrich commented Jun 7, 2023

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! 👏

@hugo-tubi
Copy link
Contributor

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

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

3 participants