I am trying to build Erlang with kerl on mac, using latest wxwidgets installed with homebrew. I have tried both R23 and R25 builds but always get the following:
$ KERL_BUILD_DOCS=yes KERL_DOC_TARGETS=chunks kerl build 25.2.3 25.2.3
Extracting source code
Building Erlang/OTP 25.2.3 (25.2.3), please wait...
20.6.0
APPLICATIONS INFORMATION (See: /Users/geib/.kerl/builds/25.2.3/otp_build_25.2.3.log)
* wx : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
* wxWidgets was not compiled with --enable-compat30, wx will NOT be useable
* wxWidgets don't have gl support, wx will NOT be useable
* Can not link wx program are all developer packages installed?
When I try an R23 build the message changes slightly to "wxWidgets was not compiled with --enable-compat28, wx will NOT be useable.
Edit: Sorry for the noise. One thing just occured to me, make sure you’re using the latest version of kerl.iirc, when that issue cropped up in OTP Lukas send up a lot of PRs to kerl.
Team policy more than anything. We are starting to talk regarding moving to R25, but we have seen that rebar3 must be updated when moving to R25, and we have a number of rebar3 plugins internally, and need to verify they work with the new rebar3, etc…
Gotcha. I suppose you could open an issue with Erlang/OTP, but I do think the message is saying what you should do and what @LostKobrakai pointed out. That is wxwidgets <3.0 or compile wxwidgets with compat for 2.x.
I have all the same versions and hardware down to an intel chip / installed with homebrew. i couldn’t replicate the error but now you know what it isn’t. Sorry, mate.