You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asdf install erlang
Downloading kerl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74085 100 74085 0 0 653k 0 --:--:-- --:--:-- --:--:-- 676k
asdf_26.0.2 is not a kerl-managed Erlang/OTP installation
No build named asdf_26.0.2
Downloading 26.0.2 to /Users/colesiegel/.asdf/downloads/erlang/26.0.2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 102M 100 102M 0 0 78.7M 0 0:00:01 0:00:01 --:--:-- 100M
Extracting source code
Building Erlang/OTP 26.0.2 (asdf_26.0.2), please wait...
APPLICATIONS DISABLED (See: /Users/colesiegel/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_build_26.0.2.log)
* jinterface : No Java compiler found
* odbc : ODBC library - link check failed
Erlang/OTP 26.0.2 (asdf_26.0.2) has been successfully built
Why are these applications disabled and what do I need to do to enable them? Are there other prerequisite steps that I am missing? I noticed other operating systems have steps to resolve odbc errors but I did not see any steps related to this for OSX in the README.
The text was updated successfully, but these errors were encountered:
colesiegel
changed the title
ODBC and interface applications disabled after installing on MacOS 13.2.1
ODBC and jinterface applications disabled after installing on MacOS 13.2.1
Mar 19, 2024
Some applications included in Erlang can't be compiled without external libraries already being present. You either don't have the necessary java and odbc libraries installed or you have them installed in places the Erlang build didn't think to check. If you don't need odbc and java features you don't need to worry about those apps being disabled. I've personally never used odbc and java in the 10+ years that I've been doing Erlang/Elixir (hence the poor docs).
For odbc please follow #191. I'd welcome a change documenting the odbc config needed for MacOS.
For Java I've not seen anyone commenting on it, and I've never built it on MacOS. You are welcome to contribute documentation for this as well if you like.
I'm running macOS
13.2.1
and I'm trying to installasdf-erlang
.I ran all the commands in https://github.com/asdf-vm/asdf-erlang?tab=readme-ov-file#osx followed by
asdf install erlang 26.0.2
, but the installation log indicates thatodbc
andjinterface
are disabled:Why are these applications disabled and what do I need to do to enable them? Are there other prerequisite steps that I am missing? I noticed other operating systems have steps to resolve
odbc
errors but I did not see any steps related to this for OSX in the README.The text was updated successfully, but these errors were encountered: