[erlang-questions] Unable to compile 21.2.2 because of “wx”
Mikael Pettersson
mikpelinux@REDACTED
Sun Dec 30 14:00:58 CET 2018
On Sat, Dec 29, 2018 at 6:29 PM Frank Muller <frank.muller.erl@REDACTED> wrote:
>
> And I got the very same error on CentOS7 (—without-wx):
>
> _______________________________________________________________
> [...]
> === Entering application debugger
> gmake[3]: Entering directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger/src'
> ERLC ../ebin/debugger.beam
> ERLC ../ebin/i.beam
> ERLC ../ebin/int.beam
> ERLC ../ebin/dbg_debugged.beam
> ERLC ../ebin/dbg_icmd.beam
> ERLC ../ebin/dbg_idb.beam
> ERLC ../ebin/dbg_ieval.beam
> ERLC ../ebin/dbg_iload.beam
> ERLC ../ebin/dbg_iserver.beam
> ERLC ../ebin/dbg_istk.beam
> ERLC ../ebin/dbg_wx_break.beam
> ERLC ../ebin/dbg_wx_break_win.beam
> ERLC ../ebin/dbg_wx_code.beam
> ERLC ../ebin/dbg_wx_filedialog_win.beam
> compile: warnings being treated as errors
> dbg_wx_filedialog_win.erl:22: behaviour wx_object undefined
> gmake[3]: *** [../ebin/dbg_wx_filedialog_win.beam] Error 1
> gmake[3]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger/src'
> gmake[2]: *** [opt] Error 2
> gmake[2]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger'
> gmake[1]: *** [opt] Error 2
> gmake[1]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib'
> gmake: *** [libs] Error 2
I can reproduce this error on Fedora 28 (not using kerl). Adding
--without-debugger doesn't help, but omitting --without-wx does. And
to be clear, I also does not have wxWidgets so I also get the "wx will
not be usable" warning.
More information about the erlang-questions
mailing list