-
Notifications
You must be signed in to change notification settings - Fork 127
Description
As it sometimes happens, an uncontrolled brew upgrade seems to have messed up the compatibility of the asdf-installed packages.
I use asdf to install Erlang, however the wxwidgets, openssl, and some other dependencies, as well as asdf itself, are installed by brew.
I had Erlang 27.1.2 installed for quite some time, and recently discovered that the :observer
doesn't start anymore, crashing complaining about missing a wx binary.
Trying to resolve this I attempted several reinstalls, building various versions of wxwidgets, including in interactive mode with the --enable-compat30
, etc. Similarly I built erlang with many combinations of switches in its KERL_CONFIGURE_OPTIONS
. Even though sometimes I was able to go through with the installation itself, the resulting setup was not working. The :observer
was still failing to start with various issues still pointing to wxwidgets. Finally I decided to give up and uninstalled the asdf's erlang versions and the plugin itself, as well as whatever custom-built wxwidgets I had in brew, and reinstalled everything from brew via brew install erlang@27
. This was what finally fixed the installation and :observer
started working. However now my build tools are interspersed between asdf and brew, and the erlang version switching became more difficult.
This is not the first time I'm having issues with this plugin and asdf in general after its transition to brew. Last upgrade round also required some manual fiddling with erlang build flags, etc. I don't know if this is related, but when asdf was just a plain cloned repo, it used to work very well and was stable between the upgrades. Now that the result is an inconsistent install of things in random places I think I'm going to look for another solution beyond asdf.