OTP installed without docs

I am using asdf to install erlang 25.0.4
I specified kerl option

export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac --with-wx"
export KERL_BUILD_DOC=yes

However i still see with vscode

When running asdf i see

==> Checking whether specified Elixir release exists...
==> Downloading 1.14.0-otp-25 to /Users/me/.asdf/downloads/elixir/1.14.0-otp-25/elixir-precompiled-1.14.0-otp-25.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6496k  100 6496k    0     0  14.3M      0 --:--:-- --:--:-- --:--:-- 14.5M
==> Copying release into place
-n asdf_25.0.4 is not a kerl-managed Erlang/OTP installation
-n No build named asdf_25.0.4
-n Downloading 25.0.4 to /Users/me/.asdf/downloads/erlang/25.0.4...
  % 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 98.4M  100 98.4M    0     0  7153k      0  0:00:14  0:00:14 --:--:-- 7011k
-n Extracting source code
-n Building Erlang/OTP 25.0.4 (asdf_25.0.4), please wait...
APPLICATIONS DISABLED (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_25.0.4/otp_build_25.0.4.log)
 * jinterface     : Java compiler disabled by user

-n Erlang/OTP 25.0.4 (asdf_25.0.4) has been successfully built

It seems that the glaring problem is this
asdf_25.0.4 is not a kerl-managed Erlang/OTP installation
How can i get asdf to recognize and use kerl to build OTP

I think you might have to set the env variable KERL_BUILD_DOCS and then reinstall.

1 Like

I have this in my shell init:

export KERL_BUILD_DOCS=yes
export KERL_INSTALL_MANPAGES=yes
export KERL_INSTALL_HTMLDOCS=yes
2 Likes

I did that

Wait… I see what you mean. I am missing a S from my variable name :frowning:

Ok let me try this