Problem with Erlang 26.0.2 in Debian 12

I have problem installing Erlang in Debian 12 like this

Building Erlang/OTP 26.0.2 (asdf_26.0.2), please wait…
APPLICATIONS DISABLED (See: /home/dev/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_build_26.0.2.log)

  • jinterface : No Java compiler found
    APPLICATIONS INFORMATION (See: /home/dev/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_build_26.0.2.log)
  • wx : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
  •     wxWidgets must be installed on your system.
  •     Please check that wx-config is in path, the directory
  •     where wxWidgets libraries are installed (returned by
  •     'wx-config --libs' or 'wx-config --static --libs' command)
  •     is in LD_LIBRARY_PATH or equivalent variable and
  •     wxWidgets version is 3.0.2 or above.

DOCUMENTATION INFORMATION (See: /home/dev/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_build_26.0.2.log)

  • documentation :
  •              xsltproc is missing.
  •              fop is missing.
  •              xmllint is missing.
  •              The documentation cannot be built.

Erlang/OTP 26.0.2 (asdf_26.0.2) has been successfully built
Cleaning up compilation products for 26.0.2
Cleaned up compilation products for 26.0.2 under /home/dev/.asdf/plugins/erlang/kerl-home/builds

At the end, my Erlang is successful installed, but not smoothly, I think Debian 12 still not have many lib to support

Try installing with this env variable:

export KERL_CONFIGURE_OPTIONS=“–disable-debug --without-javac”

1 Like

Tks for suggestion,

I would prefer install the Java …

sudo apt install default-jdk -y

But still problem with wxWidgets …

After searching for Debian 12, finally it’s works…

Additional library Debian -- Package Search Results -- libwxgtk-webview

Add 2 library such as :

apt install libwxgtk-webview3.2-1 libwxgtk-webview3.2-dev

The library libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev is not working anymore in Debian 12, so don’t include it.

The complete prerequisites for asdf before installing Erlang in Debian 12 is

apt-get -y install build-essential autoconf m4 libncurses5-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev default-jdk libwxgtk-webview3.2-1 libwxgtk-webview3.2-dev