for msys2 i cant get past previous reallocating error
but for wsl or uow windows on linux or ubuntu on windows
i see to manage with
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install g++ build-essential autoconf automake automake cmake doxygen bison flex libncurses5-dev libsdl1.2-dev libreadline-dev libusb-dev texinfo libgmp3-dev libmpfr-dev libelf-dev libmpc-dev libfreetype6-dev zlib1g-dev libtool libtool-bin subversion git tcl unzip
so remove the automake1.9 and replace with automake
then do automake1.9 manually
wget
https://ftp.gnu.org/gnu/automake/automake-1.9.tar.gz
tar xzf automake-1.9.tar.gz
cd automake
aclocal
autoconf
automake
./configure
make
sudo make install
and continue building toolchain in progrezz