[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!
Dean

+++++++++++++++++++++++++++++++++++++
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
OK

Validating the C++ compiler version:
     g++ -v
The version is 4.0.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 -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
test_pointer_size.c
Detected 32 bit operating system.

Testing flex:
OK

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
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 27 2010 - 10:30:06 PDT
Custom Search