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.
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.
Here is the top build log or at least as much as I can fit in here
-apple-darwin21.4.0/opt/jit/asmjit/core/compiler.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/constpool.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/cpuinfo.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/emithelper.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/emitter.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/emitterutils.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/environment.o
asmjit/core/emitterutils.cpp:42:10: warning: variable 'currentSize' set but not used [-Wunused-but-set-variable]
size_t currentSize = sb.size();
^
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/errorhandler.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/formatter.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/func.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/funcargscontext.o
1 warning generated.
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/globals.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/inst.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/jitallocator.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/jitruntime.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/logger.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/operand.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/osutils.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/ralocal.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/rapass.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/rastack.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/string.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/support.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/target.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/type.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/virtmem.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zone.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zonehash.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zonelist.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zonestack.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zonetree.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/core/zonevector.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86assembler.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86builder.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86compiler.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86emithelper.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86features.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86formatter.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86func.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86instapi.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86instdb.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86operand.o
CXX obj/x86_64-apple-darwin21.4.0/opt/jit/asmjit/x86/x86rapass.o
AR /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.4.0/opt/libepcre.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.4.0/opt/libepcre.a(pcre_string_utils.o) has no symbols
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/beam.jit
/usr/local/bin/ginstall -c /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/beam.jit /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/beam.smp
MAKE opt
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/inet_gethost.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/heart.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/erlexec.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/typer.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/dialyzer.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/erlc.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/escript.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/ct_run.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/safe_string.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/run_erl.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/to_erl.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/dyn_erl.o
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/erl_call
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/jit-reader.o
VSN Install
VSN erl.src
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/heart
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/typer
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/dialyzer
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/erlc
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/escript
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/ct_run
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/to_erl
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/dyn_erl
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/jit-reader.so
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/run_erl
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/inet_gethost
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/erlexec
GEN etp-commands
MAKE opt
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/epmd.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/epmd_cli.o
CC /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.4.0/epmd_srv.o
LD /Users/ian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.4.0/epmd
MAKE opt
make[4]: Nothing to be done for `all'.
(cd preloaded/src && make ../ebin/erts.app)
VSN ../ebin/erts.app
MAKE secondary_bootstrap_build
=== Entering application parsetools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application parsetools
make[2]: Nothing to be done for `opt'.
MAKE secondary_bootstrap_copy
MAKE tertiary_bootstrap_build
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application erl_interface
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_interface
=== Skipping subdir jinterface, reason:
Java compiler disabled by user
===
=== Entering application syntax_tools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application syntax_tools
=== Entering application wx
make[3]: Nothing to be done for `opt'.
=== Leaving application wx
=== Entering application public_key
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application public_key
MAKE tertiary_bootstrap_copy
MAKE libs
=== Entering application stdlib
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application stdlib
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application kernel
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application kernel
=== Entering application compiler
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application compiler
=== Entering application tools
MAKE opt
CC ../obj/x86_64-apple-darwin21.4.0/opt/emem/erl_memory.o
CC ../obj/x86_64-apple-darwin21.4.0/opt/emem/erl_memory_trace_block_table.o
LD ../bin/x86_64-apple-darwin21.4.0/emem
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application tools
=== Entering application common_test
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
MAKE opt
make[4]: Nothing to be done for `debug'.
=== Leaving application common_test
=== Entering application runtime_tools
make[3]: Nothing to be done for `opt'.
MAKE opt
CC ../priv/obj/x86_64-apple-darwin21.4.0/dyntrace.o
CC ../priv/obj/x86_64-apple-darwin21.4.0/trace_file_drv.o
CC ../priv/obj/x86_64-apple-darwin21.4.0/trace_ip_drv.o
LD ../priv/lib/x86_64-apple-darwin21.4.0/dyntrace.so
LD ../priv/lib/x86_64-apple-darwin21.4.0/trace_file_drv.so
LD ../priv/lib/x86_64-apple-darwin21.4.0/trace_ip_drv.so
rm ../priv/obj/x86_64-apple-darwin21.4.0/trace_file_drv.o ../priv/obj/x86_64-apple-darwin21.4.0/dyntrace.o ../priv/obj/x86_64-apple-darwin21.4.0/trace_ip_drv.o
make[3]: Nothing to be done for `opt'.
=== Leaving application runtime_tools
=== Entering application inets
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application inets
=== Entering application parsetools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application parsetools
=== Entering application xmerl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application xmerl
=== Entering application edoc
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application edoc
=== Entering application erl_docgen
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_docgen
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
=== Entering application erl_interface
MAKE opt
make[4]: Nothing to be done for `debug'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_interface
=== Entering application asn1
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
CC ../priv/obj/x86_64-apple-darwin21.4.0/asn1_erl_nif.o
LD ../priv/lib/x86_64-apple-darwin21.4.0/asn1rt_nif.so
=== Leaving application asn1
=== Skipping subdir jinterface, reason:
Java compiler disabled by user
===
=== Entering application wx
make[3]: Nothing to be done for `opt'.
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_2.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_1.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_3.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_4.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_5.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_6.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_7.o
CXX x86_64-apple-darwin21.4.0/wxe_wrapper_8.o
In file included from gen/wxe_wrapper_4.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_1.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_7.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_6.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_3.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_5.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_8.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_2.cpp:23:
In file included from /usr/local/include/wx-3.1/wx/wx.h:24:
In file included from /usr/local/include/wx-3.1/wx/event.h:22:
In file included from /usr/local/include/wx-3.1/wx/cursor.h:75:
/usr/local/include/wx-3.1/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
gen/wxe_wrapper_5.cpp:2165:29: error: taking the address of a temporary object of type 'wxBitmap' [-Waddress-of-temporary]
const wxBitmap * Result = &This->GetBitmap();
^~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[3]: *** [x86_64-apple-darwin21.4.0/wxe_wrapper_5.o] Error 1
make[3]: *** Waiting for unfinished jobs....
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
It didn’t work to add it to .zshrc but putting export KERL_CONFIGURE_OPTIONS="--without-wx --without-javac" before asdf install erlang 24.2.2 in the terminal and it worked
Thank you very much for solve my same problem, my environment like:
1.macOS Monterey 12.1
2.I want to install erlang 24.2.2
log on terminal:
[~/work/XXX/YYY]$ asdf install erlang 24.2.2
asdf_24.2.2 is not a kerl-managed Erlang/OTP installation
No build named asdf_24.2.2
Downloading 24.2.2 to /Users/username/.asdf/downloads/erlang/24.2.2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 102M 100 102M 0 0 519k 0 0:03:21 0:03:21 --:--:-- 569k
Extracting source code
Building Erlang/OTP 24.2.2 (asdf_24.2.2), please wait...
DOCUMENTATION INFORMATION (See: /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.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/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.2.log for full details.
[~/work/XXX/YYY]$
[~/work/XXX/YYY]$ asdf install erlang 24.2.2
asdf_24.2.2 is not a kerl-managed Erlang/OTP installation
The asdf_24.2.2 build has been deleted
Extracting source code
Building Erlang/OTP 24.2.2 (asdf_24.2.2), please wait...
DOCUMENTATION INFORMATION (See: /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.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/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.2.log for full details.
last part of /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.2.log:
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_valid_utf8.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_version.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_byte_order.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_jit_compile.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_string_utils.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_ucd.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_xclass.o
CC obj/x86_64-apple-darwin21.2.0/opt/jit/erl_child_setup.o
CXX x86_64-apple-darwin21.2.0/opt/jit/asmjit/asmjit.hpp.gch
CC obj/x86_64-apple-darwin21.2.0/opt/jit/erl_poll.flbk.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/pcre_exec.o
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/erl_child_setup
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/beam_asm.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/beam_asm_global.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/beam_asm_module.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/beam_asm_perf.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_arith.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_bs.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_bif.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_call.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_common.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_float.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_guard_bifs.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_map.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_msg.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_select.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/instr_trace.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/archtraits.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/assembler.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/builder.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/codeholder.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/codewriter.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/compiler.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/constpool.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/cpuinfo.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/emithelper.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/emitter.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/emitterutils.o
asmjit/core/emitterutils.cpp:42:10: warning: variable 'currentSize' set but not used [-Wunused-but-set-variable]
size_t currentSize = sb.size();
^
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/environment.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/errorhandler.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/formatter.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/func.o
1 warning generated.
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/funcargscontext.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/globals.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/inst.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/jitallocator.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/jitruntime.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/logger.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/operand.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/osutils.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/ralocal.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/rapass.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/rastack.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/string.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/support.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/target.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/type.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/virtmem.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zone.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zonehash.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zonelist.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zonestack.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zonetree.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/core/zonevector.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86assembler.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86builder.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86compiler.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86emithelper.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86features.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86formatter.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86func.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86instapi.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86instdb.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86operand.o
CXX obj/x86_64-apple-darwin21.2.0/opt/jit/asmjit/x86/x86rapass.o
AR /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/libepcre.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/emulator/pcre/obj/x86_64-apple-darwin21.2.0/opt/libepcre.a(pcre_string_utils.o) has no symbols
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/beam.jit
/usr/local/bin/ginstall -c /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/beam.jit /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/beam.smp
MAKE opt
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/inet_gethost.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/heart.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/erlexec.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/typer.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/dialyzer.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/erlc.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/escript.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/ct_run.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/safe_string.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/run_erl.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/to_erl.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/dyn_erl.o
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/erl_call
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/jit-reader.o
VSN Install
VSN erl.src
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/heart
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/typer
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/dialyzer
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/erlc
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/escript
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/ct_run
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/to_erl
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/dyn_erl
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/jit-reader.so
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/run_erl
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/inet_gethost
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/erlexec
GEN etp-commands
MAKE opt
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/epmd.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/epmd_cli.o
CC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/erts/obj/x86_64-apple-darwin21.2.0/epmd_srv.o
LD /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/bin/x86_64-apple-darwin21.2.0/epmd
MAKE opt
make[4]: Nothing to be done for `all'.
(cd preloaded/src && make ../ebin/erts.app)
VSN ../ebin/erts.app
MAKE secondary_bootstrap_build
=== Entering application parsetools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application parsetools
make[2]: Nothing to be done for `opt'.
MAKE secondary_bootstrap_copy
MAKE tertiary_bootstrap_build
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application erl_interface
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_interface
=== Entering application jinterface
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpAuthException.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangDecodeException.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangException.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangExit.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpException.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangRangeException.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangAtom.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangBinary.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangBitstr.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangBoolean.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangByte.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangChar.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangDouble.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangFloat.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangShort.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangUInt.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangUShort.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpCookedConnection.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpNodeStatus.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpMbox.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpNode.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpServer.class
JAVAC /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/priv/com/ericsson/otp/erlang/OtpSystem.class
VSN /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/ebin/jinterface.app
VSN /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_src_24.2.2/lib/jinterface/ebin/jinterface.appup
make[3]: Nothing to be done for `opt'.
=== Leaving application jinterface
=== Entering application syntax_tools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application syntax_tools
=== Entering application wx
make[3]: Nothing to be done for `opt'.
=== Leaving application wx
=== Entering application public_key
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application public_key
MAKE tertiary_bootstrap_copy
MAKE libs
=== Entering application stdlib
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application stdlib
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application kernel
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application kernel
=== Entering application compiler
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application compiler
=== Entering application tools
MAKE opt
CC ../obj/x86_64-apple-darwin21.2.0/opt/emem/erl_memory_trace_block_table.o
CC ../obj/x86_64-apple-darwin21.2.0/opt/emem/erl_memory.o
LD ../bin/x86_64-apple-darwin21.2.0/emem
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application tools
=== Entering application common_test
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
MAKE opt
make[4]: Nothing to be done for `debug'.
=== Leaving application common_test
=== Entering application runtime_tools
make[3]: Nothing to be done for `opt'.
MAKE opt
CC ../priv/obj/x86_64-apple-darwin21.2.0/dyntrace.o
CC ../priv/obj/x86_64-apple-darwin21.2.0/trace_file_drv.o
CC ../priv/obj/x86_64-apple-darwin21.2.0/trace_ip_drv.o
LD ../priv/lib/x86_64-apple-darwin21.2.0/trace_file_drv.so
LD ../priv/lib/x86_64-apple-darwin21.2.0/dyntrace.so
LD ../priv/lib/x86_64-apple-darwin21.2.0/trace_ip_drv.so
rm ../priv/obj/x86_64-apple-darwin21.2.0/dyntrace.o ../priv/obj/x86_64-apple-darwin21.2.0/trace_file_drv.o ../priv/obj/x86_64-apple-darwin21.2.0/trace_ip_drv.o
make[3]: Nothing to be done for `opt'.
=== Leaving application runtime_tools
=== Entering application inets
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application inets
=== Entering application parsetools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application parsetools
=== Entering application xmerl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application xmerl
=== Entering application edoc
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application edoc
=== Entering application erl_docgen
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_docgen
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[5]: Nothing to be done for `behaviour_targets'.
make[5]: Nothing to be done for `targets'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
=== Entering application erl_interface
MAKE opt
make[4]: Nothing to be done for `debug'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_interface
=== Entering application asn1
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
CC ../priv/obj/x86_64-apple-darwin21.2.0/asn1_erl_nif.o
LD ../priv/lib/x86_64-apple-darwin21.2.0/asn1rt_nif.so
=== Leaving application asn1
=== Entering application jinterface
make[3]: Nothing to be done for `opt'.
=== Leaving application jinterface
=== Entering application wx
make[3]: Nothing to be done for `opt'.
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_1.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_2.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_3.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_4.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_5.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_6.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_7.o
CXX x86_64-apple-darwin21.2.0/wxe_wrapper_8.o
In file included from gen/wxe_wrapper_6.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_8.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_2.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_7.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_5.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_3.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_4.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
In file included from gen/wxe_wrapper_1.cpp:23:
In file included from /usr/local/include/wx-3.2/wx/wx.h:24:
In file included from /usr/local/include/wx-3.2/wx/event.h:22:
In file included from /usr/local/include/wx-3.2/wx/cursor.h:75:
/usr/local/include/wx-3.2/wx/utils.h:749:35: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
wxEventLoop* m_modalEventLoop = NULL;
^
gen/wxe_wrapper_5.cpp:2165:29: error: taking the address of a temporary object of type 'wxBitmap' [-Waddress-of-temporary]
const wxBitmap * Result = &This->GetBitmap();
^~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[3]: *** [x86_64-apple-darwin21.2.0/wxe_wrapper_5.o] Error 1
make[3]: *** Waiting for unfinished jobs....
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
Here’s my solution: execute export KERL_CONFIGURE_OPTIONS="--without-wx --without-javac" on terminal and install erlang 24.2.2 again(adsf install erlang 24.2.2). I got successful response:
[~]$ asdf install erlang 24.2.2
asdf_24.2.2 is not a kerl-managed Erlang/OTP installation
The asdf_24.2.2 build has been deleted
Extracting source code
Building Erlang/OTP 24.2.2 (asdf_24.2.2), please wait...
APPLICATIONS DISABLED (See: /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.2.log)
* jinterface : Java compiler disabled by user
* wx : User gave --without-wx option
DOCUMENTATION INFORMATION (See: /Users/username/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2.2/otp_build_24.2.2.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Erlang/OTP 24.2.2 (asdf_24.2.2) has been successfully built
Cleaning up compilation products for
Cleaned up compilation products for under /Users/username/.asdf/plugins/erlang/kerl-home/builds
ariel@ariel-Desktop-pc:~ $ KERL_CONFIGURE_OPTIONS="--without-wx --without-javac" asdf install erlang 24.2
ERROR: 'asdf_24.2' is not a kerl-managed Erlang/OTP installation.
Build 'asdf_24.2' has been deleted.
Extracting source code for normal build...
Building (normal) Erlang/OTP 24.2 (asdf_24.2); please wait...
Initializing (build) log file at /home/ariel/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2/otp_build_24.2.log.
APPLICATIONS DISABLED (See: /home/ariel/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2/otp_build_24.2.log)
* jinterface : Java compiler disabled by user
* wx : User gave --without-wx option
Erlang/OTP 24.2 (asdf_24.2) has been successfully built.
but then when I try to list it the 24.2 version is not there, any clues?