GROMACS version: 2024.2
GROMACS modification: No
Operating system: macOS 14.0 Sonoma (M1 chip)
I am trying to install GROMACS, and am getting an error when I run make that says
WARNING: 'automake-1.15' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
from the gromacs-2024.2/build/src/external/build-fftw/fftwBuild-prefix/src/fftwBuild/missing script.
The settings I am using with make are make --always-make CFLAGS="-Wl,-ld_classic" CXXFLAGS="-Wl,-ld_classic"
. I am using these arguments to fix another issue I came across earlier, which was a bug in Apple’s current implementation of the linker that came with my computer (ld). I was unable to tell gcc/g++ to use a different linker because I don’t think any of the ones given as options could work with Mach-O files. If I remove --always-make
, I get the linker bug again.
To solve the automake-1.15 issue I have tried installing Automake 1.15 via Homebrew and creating an alias for automate-1.15 that points to the automake-1.15 executable installed by Homebrew, but I got the same error. I also tried running autoreconf -f -i
in the directory of the missing script that gave the error, but that didn’t work either. Maybe make --always-make
is undoing the fix done by autoreconf -f -i
?
I have tried searching the forum but can’t find a preexisting post about this issue.
Thank you
Update: I created a symlink from /opt/homebrew/Cellar/automake@1.15/1.15.1/bin/automake-1.15 to /opt/homebrew/bin/automake-1.15 and the error went away, but now the missing script is saying automake-1.15 is too old:
WARNING: 'automake-1.15' is probably too old.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>