TinyBFG
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 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
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
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
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
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
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
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
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
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
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
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
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
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