[AMBER] Compiling AmberTools 1.4 on MacOS10.5

From: Dean Cuebas <deancuebas.missouristate.edu>
Date: Tue, 27 Apr 2010 12:26:37 -0500

I get the following error message during preparation of ./configure gnu and
not sure how to handle the lgfortran error:

Thanks in advance!

Your AMBERHOME environment variable should be set to /usr/local/amber11

Obtaining the gnu suite version:
      gcc -v
The version is 4.0.1

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

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

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

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 -o testp testp.c.o testp.f.o -lgfortran
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
./configure: line 1057: ./testp: No such file or directory
WARNING: Unable to compile mixed C/Fortran code.

Testing pointer size:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size
Detected 32 bit operating system.

Testing flex:

Configuring NetCDF; (may be time-consuming)

    NetCDF configure succeeded.

Configuring fftw-2.1.5; (may be time-consuming)

    fftw-2.1.5 configure succeeded.
The configuration file, config.h, was successfully created.
The next step is to type 'make install'

AMBER mailing list
Received on Tue Apr 27 2010 - 10:30:06 PDT
Custom Search