TinyBFG
Asdf erlang 24.2.2 installation failure
So I am trying to install Erlang 24.2.2 and 24.3.2 but the build keeps failing, this is my first time using a Mac so I have minimal knowledge on what might be going on. Any and all help and advice is very welcome.
I get this response every time I try to install either
asdf install erlang 24.3.2
Extracting source code
Building Erlang/OTP 24.3.2 (asdf_24.3.2), please wait...
APPLICATIONS DISABLED (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log)
* jinterface : No Java compiler found
DOCUMENTATION INFORMATION (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Build failed.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Please see /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log for full details.
Trending in Questions
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated!
To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead.
Sta...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
I am using Oban and occasionally, shortly after a deployment, a handful of jobs can fail because of dependency on other parts of the syst...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
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
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
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
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #performance










First 10 of 15 Posts
eksperimental
You need a Java compiler.
What’s your OS?
This may be helpful How compile erlang without modules 'jinterface, odbc, wx' · Issue #83 · asdf-vm/asdf-erlang · GitHub
TinyBFG
MacOS monterey 12.3.1
Are there any you would recommend?
eksperimental
Not a Mac user here, but did you follow the instrauctions in GitHub - asdf-vm/asdf-erlang: Erlang plugin for asdf version manager · GitHub
You may have to set certain variables.
In those instructions it also explains how to install the dependencies if needed, for MacOs
al2o3cr
The contents of the
otp_build_24.3.2.logreferenced in the last line of that message would make this a lot easier to troubleshoot.Also, are you using an Intel Mac or an M1 Mac?
0x107
If you don’t need the jinterface. You can exclude it from compilation by adding
export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"to your.zshrc.Tested with asdf and Erlang 24.3.3 on macOS 12.3.1.
TinyBFG
What is the .zshrc?
Here is the top build log or at least as much as I can fit in here
al2o3cr
That message matches this bug report:
https://github.com/erlang/otp/issues/5893
TinyBFG
Where in .zshrc would I put that?
TinyBFG
Doesn’t this just indicate that the problem should be fixed? I have widget fully updated
TinyBFG
It didn’t work to add it to
.zshrcbut puttingexport KERL_CONFIGURE_OPTIONS="--without-wx --without-javac"beforeasdf install erlang 24.2.2in the terminal and it worked