[erlang-questions] Unable to compile 21.2.2 because of “wx”

Frank Muller frank.muller.erl@REDACTED
Sun Dec 30 17:44:00 CET 2018


Hi Mikael

By simply omitting —without-wx, I was able to successfully compile it on
both Ubuntu and CentOS7.

I also noticed that this option only works when you don’t build Erlang from
“git”.

Thanks again !!!

/Frank

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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181230/2e49b532/attachment.htm>


More information about the erlang-questions mailing list