[gmx-users] Make problems on OS X

Evan Kelly ebkelly at ucalgary.ca
Wed Jul 3 18:09:58 CEST 2002


Hello Everyone,

I have been trying to compile and install gromacs 3.1.4 at home on my 
iMac G3, running OS X 10.0.4 and I am almost sucessful.  I was hoping 
someone may have come across the problem I am having, or maybe someone 
has suggestions.

OS X doesn't come stock with compilers and libraries, so I have had to 
install all of those.  I am using the Apple Developers gcc compiler from 
their May 2001 release of the developers packages (from ADC).  I have 
successfully installed the single precision version of FFTW.

Now, the configure script runs fine as far as I can tell (I am new to 
building programs of this size).  The problem arises when running Make 
to compile everything.  I start having problems with X11 dynamic 
libraries, and this is out of my league.  The last command executed in 
the Makefile gives the output:


cc -O4 -fomit-frame-pointer -finline-functions -Wall -Wno-unused 
-no-cpp-precomp -faltivec -mcpu=powerpc -fno-schedule-insns -o grompp 
topio.o toppush.o topcat.o topshake.o convparm.o tomorse.o sorting.o 
splitter.o dum_parm.o readir.o add_par.o topexcl.o toputil.o topdirs.o 
grompp.o  ../mdlib/.libs/libmd.a -L/usr/X11R6/lib 
../gmxlib/.libs/libgmx.a /usr/local/lib/libsrfftw.a 
/usr/local/lib/libsfftw.a -lm -lX11
/usr/bin/ld: /usr/X11R6/lib/libX11.dylib load command 7 unknown cmd field
make[3]: *** [grompp] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


I have looked at the libX11.dylib file, and it is a link to a different 
dylib:

libX11.dylib -> libX11.6.2.dylib


So, I think that this is all of the important information about the 
problem.  I am fairly certain it is something wrong with my compiler 
setup.  Any suggestions would be greatly appreciated.  I have been 
thinking of installing gcc 3.1 straight from GNU, as they now support OS 
X in the latest release - this may or may not help, though, and will 
probably be a whole new set of headaches...

Thanks for any incoming help,


----------------------------
Evan Kelly
ebkelly at ucalgary.ca



More information about the gromacs.org_gmx-users mailing list