configure error: (g)Fortran could not compile .f90 files


#1

Dear all,
This question was asked in 2008 but no answer ever solved the problem.

I have encountered the same issue while compiling HDF5 with --enable-fortran on High Sierra
using the following:

F77=/usr/local/gfortran/bin/gfortran
F90=/usr/local/gfortran/bin/gfortran
F9X=/usr/local/gfortran/bin/gfortran

./configure -enable-fortran --enable-fortran2003 --prefix=/opt/local/

Thank you for helping.