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.
1 Like

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

MacOS monterey 12.3.1
Are there any you would recommend?

Not a Mac user here, but did you follow the instrauctions in GitHub - asdf-vm/asdf-erlang: Erlang plugin for asdf version manager

You may have to set certain variables.

In those instructions it also explains how to install the dependencies if needed, for MacOs

1 Like

The contents of the otp_build_24.3.2.log referenced 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?

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.

4 Likes

What is the .zshrc?

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

That message matches this bug report:

1 Like

Where in .zshrc would I put that?

Doesn’t this just indicate that the problem should be fixed? I have widget fully updated

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

7 Likes

if you place it in the same line directly before the asdf command you can omit the export

Thanks this worked. A side effect is that without wxwidgets, you wont be able to run observer or debugger since those rely on wxwidgets.