Building Erlang: Prerequisites (Ubuntu)
If you want to use
kerl to build your Erlang installation, you’re going to
need some packages installed first.
For Ubuntu, the list (taken from here) is as follows:
sudo apt-get -y install build-essential # assumed # These will result in the build failing if they're not present. sudo apt-get -y install autoconf m4 # ./otp_build: autoconf: not found sudo apt-get -y install libssl-dev # No usable OpenSSL found sudo apt-get -y install libncurses5-dev # configure: error: No curses library functions found
I’d consider this one “essential”, because you need it to make observer work.
sudo apt-get -y install libwxgtk3.0-dev # wxWidgets not found, wx will NOT be usable
This list is correct for Erlang/OTP-21.3 and Ubuntu 18.04; for Ubuntu 20.04, you’ll need the following instead:
sudo apt-get -y install libwxgtk3.0-gtk3-dev # wxWidgets not found, wx will NOT be usable
The following may not be correct, because I never bother installing them.
# I consider these "optional", because I've never noticed them missing. sudo apt-get -y install default-jdk # jinterface : No Java compiler found sudo apt-get -y install unixodbc-dev # odbc : ODBC library - link check failed # These are for the documentation. sudo apt-get -y install xsltproc fop libxml2-utils