[erlang-questions] Unable to compile 21.2.2 because of “wx”
Frank Muller
frank.muller.erl@REDACTED
Sat Dec 29 18:29:14 CET 2018
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
_______________________________________________________________
My CentOS7’s config:
$ uname -a
Linux xxxx-std-ipv6-64 #1 SMP Mon Oct 23 11:35:59 CEST 2017 x86_64 x86_64
x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ kerl version
1.8.5
Best
/Frank
<frank.muller.erl@REDACTED> wrote :
> Hello everyone
>
> I’m trying to compile 21.2.2 on Ubuntu 16.04 using kerl but without wx.
>
> But the process failed on “dbg_wx_filedialog_win.beam” (see kerl’s below).
>
> Question: why it keeps trying to compile dbg_wx_XXX.erl modules after I
> clearly specified —without-wx? I don’t need anything related to wx. How I
> can fix this please?
>
> ___________________________________
>
> [...]
> *********************************************************************
> ********************** APPLICATIONS DISABLED **********************
> *********************************************************************
>
> odbc : odbc disabled by user.
> odbc : User gave --without-odbc option
> wx : User gave --without-wx option
>
> *********************************************************************
> *********************************************************************
> ********************** APPLICATIONS INFORMATION *******************
> *********************************************************************
>
> wx : Can not link the wx driver, wx will NOT be useable
>
> *********************************************************************
> *********************************************************************
> ********************** DOCUMENTATION INFORMATION ******************
> *********************************************************************
>
> documentation :
> xsltproc is missing.
> fop is missing.
> xmllint is missing.
> The documentation can not be built.
>
> *********************************************************************
> [...]
> /home/frank/.kerl/builds/21.2.2/otp_src_git/make/x86_64-unknown-linux-gnu/
> otp.mk:131: recipe for
> target '../ebin/dbg_wx_filedialog_win.beam' failed
> make[3]: *** [../ebin/dbg_wx_filedialog_win.beam] Error 1
> make[3]: Leaving directory '/home/frank/.kerl/builds/21.2
> .2/otp_src_git/lib/debugger/src'
> /home/frank/.kerl/builds/21.2.2/otp_src_git/make/otp_subdir.mk:29: recipe
> for target 'opt' failed
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory '/home/frank/.kerl/builds/21.2
> .2/otp_src_git/lib/debugger'
> /home/frank/.kerl/builds/21.2.2/otp_src_git/make/otp_subdir.mk:29: recipe
> for target 'opt' failed
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory '/home/frank/.kerl/builds/21.2
> .2/otp_src_git/lib'
> Makefile:488: recipe for target 'libs' failed
> make: *** [libs] Error 2
>
> ___________________________________
>
> My Ubuntu-16.04 config:
>
> $ uname -a
> Linux 3.14.32-xxxx-grs-ipv6-64 #9 SMP Thu Oct 20 14:53:52 CEST 2016 x86_64
> x86_64 x86_64 GNU/Linux
>
> $ gcc --version
> gcc (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0
> Copyright (C) 2017 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
>
> $ kerl version
> 1.3.4
>
> Happy new year !!!
>
> Best
> /Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181229/ee0c6bf2/attachment.htm>
More information about the erlang-questions
mailing list