address@hidden> wrote: > New Client Reply: Error while configuring netcdf-4 > > Thanks for your support. > > However, the make check install is failing for the following errors. > > collect2: error: ld returned 1 exit status > make: *** [nf_test] Error 1 > make: Leaving directory `/home/iitgn/mhm/netcdf-4.1.3/nf_test' > make: *** [check-am] Error 2 > make: Leaving directory `/home/iitgn/mhm/netcdf-4.1.3/nf_test' > make: *** [check-recursive] Error 1 > That's not enough information to determine what the problem is. Are you now using a different compiler than f77? If so, could you please send the complete config.log as well as the complete output from "make check" up to the point at which the error occurred? Thanks. --Russ > address@hidden> wrote: > > > > > > 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-188.8.131.52 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 > > > > > > > -- > > Keerthi Priya Kasturi > PhD Research Scholar, > Civil Engineering Department > IIT Gandhinagar > > > > Ticket Details > =================== > Ticket ID: BCT-221199 > Department: Support netCDF > Priority: Normal > Status: Open > Link: > https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=25384 Ticket Details =================== Ticket ID: BCT-221199 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.