Asdf-erlang: How compile erlang without modules 'jinterface, odbc, wx'

Created on 19 Aug 2018  路  6Comments  路  Source: asdf-vm/asdf-erlang

In compilation process require install erlang modules? how fix them?

 * jinterface     : No Java compiler found
 * odbc           : ODBC library - link check failed
 * wx             : wxWidgets not found, wx will NOT be usable

Most helpful comment

i tried to follow this to install everything and it works

sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-dev libgl1-mesa-dev  libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils

All 6 comments

First you'll need to have Java, ODBC, and WxWidgets installed on your computer. You may also have to pass various flags to the build. Refer to the installation notes for the version of Erlang you are trying to install for more information. You may also find some information on this in the kerl readme: https://github.com/kerl/kerl

i tried to follow this to install everything and it works

sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-dev libgl1-mesa-dev  libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils

@chakming

 * odbc           : ODBC library - link check failed
 * wx             : wxWidgets not found, wx will NOT be usable

is ok

* jinterface : No Java compiler found - still report ((

openjdk-11-jdk

is installed

did you try sudo apt-get install default-jdk?

BTW I mainly follow the setup here: https://gist.github.com/beaorn/7b90a21b7e80e7744d8d2d08e49efcee

^ link expired, should be https://gist.github.com/brycejohnston/7b90a21b7e80e7744d8d2d08e49efcee

i tried to follow this to install everything and it works

sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-dev libgl1-mesa-dev  libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils

libwxgtk3.0-dev was changed to libgtk3.0-gtk3-dev in 20.04.

i tried to follow this to install everything and it works

sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-dev libgl1-mesa-dev  libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils

libwxgtk3.0-dev was changed to libgtk3.0-gtk3-dev in 20.04.

typo, libwxgtk3.0-gtk3-dev is the correct one

Was this page helpful?
0 / 5 - 0 ratings