[AMBER] Problem installing AmverTools 1.5 on Mac

From: Alexej Grjasnow <grjasnow.gmx.de>
Date: Fri, 19 Aug 2011 10:49:13 +0200

Hi,
I use Mac OS X 10.6 and I tried to install AmberTools 1.5 . I installed gfortran as well as gcc but i keep having the same problem. The mixed C/Fortran compiler seems to be not working. I also tried to replace gcc with gcc-4 and g++ with g++-4. Does anybody know how to fix this ?



./configure -macAccelerate gnu
Obtaining the gnu suite version:
      gcc -v
The version is 4.2.1

Testing the gcc compiler:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK

Validating the C++ compiler version:
     g++ -v
The version is 4.2.1
OK

Testing the gfortran compiler:
     gfortran -O0 -o testp testp.f
OK

Testing mixed C/Fortran compilation:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
     gfortran -O0 -c -o testp.f.o testp.f
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -lgfortran -framework Accelerate
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
./configure: line 1397: ./testp: No such file or directory
Error: Unable to compile mixed C/Fortran code.
    Please check your compiler settings and configure flags.


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Aug 19 2011 - 02:00:03 PDT
Custom Search