When running autoreconf -fi after having done brew install autoreconf on my ARM mac, I get the following error:
$ autoreconf -fi
Can't exec "aclocal": No such file or directory at /opt/homebrew/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2
How do I fix this?
The problem is that
aclocalwasn't installed together withautoreconf, see e.g. this homebrew issue.It's easy to solve by brew installing
aclocalseparately: