Blog

Dependencias en Arch al compilar Erlang: ODBC y wxWebView

Dependencias en Arch al compilar Erlang: ODBC y wxWebView

Compilando Erlang con Kerl:

j@arai /usr/local/share/zsh/site-functions % KERL_BUILD_DOCS=yes kerl build 27.0.1 27.0.1-builtdocs                                                                                        [0]
Downloading (from GitHub) Erlang/OTP 27.0.1 to /home/j/.kerl/archives...
Extracting source code for normal build...
Building (normal) Erlang/OTP 27.0.1 (27.0.1-builtdocs); please wait...
Initializing (build) log file at /home/j/.kerl/builds/27.0.1-builtdocs/otp_build_27.0.1.log.
automake: error: 'configure.ac' is required
autoconf: error: no input file
APPLICATIONS DISABLED (See: /home/j/.kerl/builds/27.0.1-builtdocs/otp_build_27.0.1.log)
 * odbc           : ODBC library - link check failed

APPLICATIONS INFORMATION (See: /home/j/.kerl/builds/27.0.1-builtdocs/otp_build_27.0.1.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.

Después de instalar unixodbc y wxwidgets-gtk3 y webkit2gtk-4.1 (vi esta dependencia aquí):

sudo pacman -F unixodbc webkit2gtk-4.1 wxwidgets
j@arai /usr/local/share/zsh/site-functions % KERL_BUILD_DOCS=yes kerl build 27.0.1 27.0.1-builtdocs
Extracting source code for normal build...
Building (normal) Erlang/OTP 27.0.1 (27.0.1-builtdocs); please wait...
Initializing (build) log file at /home/j/.kerl/builds/27.0.1-builtdocs/otp_build_27.0.1.log.
automake: error: 'configure.ac' is required
autoconf: error: no input file
APPLICATIONS INFORMATION (See: /home/j/.kerl/builds/27.0.1-builtdocs/otp_build_27.0.1.log)
 * wx             : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available

Building docs...
Erlang/OTP 27.0.1 (27.0.1-builtdocs) has been successfully built.

El error de automake/autoconf es normal. Ver aquí.