Fatal error asdf install of erlang 24.2.1

I’m trying to install the latest version of Erlang and Elixir using asdf. I’ve successfully been using ASDF with older versions, but trying to the install 24.2.1 has encountered an error.

> asdf install erlang 24.2.1
asdf_24.2.1 is not a kerl-managed Erlang/OTP installation. # <-- is this important?
# ... some warnings, fop is missing, then...
gmake: *** [Makefile:498: libs] Error 2

The referenced log file has a lot of fatal errors like this:

In file included from gen/glu_nif.cpp:25:
gen/../egl_impl.h:34:11: fatal error: 'GL/glu.h' file not found
# include <GL/glu.h>

I am not specifying any KERL_CONFIGURE_OPTIONS during install. Host OS is MacOS 11.6.2 Big Sur; 2.6 GHz 6-Core Intel Core i7.

Anyone have any ideas on this one? I’m stymied. Thanks!