> > > configure: setting up Fortran 90 > > > checking what FC is set to... f77 > > > checking for Fortran flag to compile .f90 files... unknown > > > configure: error: Fortran could not compile .f90 files The immediate problem you're encountering is that your Fortran compiler, /usr/bin/f77 (fort77 Version 1.15), is incapable of compiling Fortran-90 files, a capability which is required to build and install the netCDF Fortran-90 interface, which is the default for all netCDF-4 versions. If you have a different Fortran compiler you'd like netCDF to use, you have to specify it as the value of the FC environment variable before running the configure script, as in FC=/usr/bin/gfortran ./configure --prefix= ... To see more details about options to configure and enviroment variables, use "./configure --help" . If you really don't need the netCDF Fortran programming interface, you could just specify FC="". But in that case there is no reason to use the old netCDF-4.1.3 version that builds both the C and Fortran libraries. Even if you need the Fortran library, it would be better to use a more recent supported version of the netCDF C library, such as the recently released netcdf-184.108.40.206 version with the recently released netcdf-fortran-4.4.2, according to these instructions: http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: BCT-221199 Department: Support netCDF Priority: Normal Status: Closed
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.