<div><div dir="auto">Hi Mikael</div></div><div dir="auto"><br></div><div dir="auto">By simply omitting —without-wx, I was able to successfully compile it on both Ubuntu and CentOS7.</div><div dir="auto"><br></div><div dir="auto">I also noticed that this option only works when you don’t build Erlang from “git”.</div><div dir="auto"><br></div><div dir="auto">Thanks again !!!</div><div dir="auto"><br></div><div dir="auto">/Frank</div><div dir="auto"><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Dec 29, 2018 at 6:29 PM Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>> wrote:<br>
><br>
> And I got the very same error on CentOS7 (—without-wx):<br>
><br>
> _______________________________________________________________<br>
> [...]<br>
> === Entering application debugger<br>
> gmake[3]: Entering directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger/src'<br>
> ERLC ../ebin/debugger.beam<br>
> ERLC ../ebin/i.beam<br>
> ERLC ../ebin/int.beam<br>
> ERLC ../ebin/dbg_debugged.beam<br>
> ERLC ../ebin/dbg_icmd.beam<br>
> ERLC ../ebin/dbg_idb.beam<br>
> ERLC ../ebin/dbg_ieval.beam<br>
> ERLC ../ebin/dbg_iload.beam<br>
> ERLC ../ebin/dbg_iserver.beam<br>
> ERLC ../ebin/dbg_istk.beam<br>
> ERLC ../ebin/dbg_wx_break.beam<br>
> ERLC ../ebin/dbg_wx_break_win.beam<br>
> ERLC ../ebin/dbg_wx_code.beam<br>
> ERLC ../ebin/dbg_wx_filedialog_win.beam<br>
> compile: warnings being treated as errors<br>
> dbg_wx_filedialog_win.erl:22: behaviour wx_object undefined<br>
> gmake[3]: *** [../ebin/dbg_wx_filedialog_win.beam] Error 1<br>
> gmake[3]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger/src'<br>
> gmake[2]: *** [opt] Error 2<br>
> gmake[2]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib/debugger'<br>
> gmake[1]: *** [opt] Error 2<br>
> gmake[1]: Leaving directory `/home/frank/.kerl/builds/21.2.2/otp_src_git/lib'<br>
> gmake: *** [libs] Error 2<br>
<br>
I can reproduce this error on Fedora 28 (not using kerl). Adding<br>
--without-debugger doesn't help, but omitting --without-wx does. And<br>
to be clear, I also does not have wxWidgets so I also get the "wx will<br>
not be usable" warning.<br>
</blockquote></div></div>