[gmx-users] OS X compiling woes
nicolis at guideo.fr
nicolis at guideo.fr
Wed Apr 10 20:00:36 CEST 2002
En réponse à "Kenneth P. Murphy" <k-murphy at uiowa.edu>:
> I'm having difficulty getting GROMACS to compile under Mac OS X.
> I get through the configuration process OK, including the changes
> necessary to avoid the sed errors. However, when I run make, I get
> numerous errors regarding header files. The error messages are:
>
> ../../include/<file>.h:46: undefined or invalid # directive
>
> I'd appreciate any suggestions on how to fix this.
Did you installed packages from gnu-darwin or elsewhere that install gnu make? I had similar problems (not with gromacs but another software) after installing some packages (unfortunately I don't remember which ones) that installed an older version of make.
Try a
which make
to verify if you use the make in /usr/bin/make or another make in /usr/local/bin/make.
If you see that the make used is /usr/local/bin/make try instead of make to type /usr/bin/make
If this fix the problem than you can delete the make in /usr/local/bin
Good luck,
Ioannis
More information about the gromacs.org_gmx-users
mailing list