The error is coming from this line: configure:5326: gfortran -c -g -02 -x f95 conftest.f90 >&5 The "-02" should be "-O2" i.e. the letter "O" instead of the digit "0". Are you specify this flag in say CFLAGS environment variable? > > > > Dear sir. > > I have been trying to install netCDF-Fortran 4.4 in my Ubuntu 16.04 system. > > I have installed ZLIB-1.2.7, HDF5-1.8.12, netCDF-C-4.4.1.1. But, when I try > > to configure netCDF-Fortran -4.4, it shows me "configure: error: Fortran > > could not compile .f90 files". I have attached my config.log file here. > > please, can you find a solution to this problem? > > Thank you > > > > > > > =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: RFD-455704 Department: Support netCDF Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.