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

Frank Muller frank.muller.erl@REDACTED
Sat Dec 29 18:17:15 CET 2018


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/4710bbb4/attachment.htm>


More information about the erlang-questions mailing list