This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Reinhard, >Date: Wed, 15 Jul 1998 10:38:13 -0600 (MDT) >From: "Reinhard W. Stotzer" <address@hidden> >Organization: Sandia National Laboratory >To: Steve Emmerson <address@hidden> >Subject: Re: 19980715: Fortran interface: NF_INT_IS_C_... not defined >Keywords: 199807151505.JAA17877 In the above message, you wrote: > File: config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > configure:1020: c89 -c -O -DNDEBUG conftest.c 1>&5 > configure:1153: CC -c -DNDEBUG conftest.C 1>&5 > configure:1220: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out > configure:1373: fort77 -c -O conftest.f > cf90-2239 fort77: ERROR in command line > No valid filenames are specified on the command line > configure:1373: cf77 -c -O conftest.f > cf77-39 cf77: ERROR in command line > "conftest.f" is not a valid argument to the "-O" option. > cf77-7 cf77: ERROR in command line > No valid filenames are given on the command line. > configure:1373: f90 -c -O conftest.f > cf90-2239 f90: ERROR in command line > No valid filenames are specified on the command line It appears from the above that the environment variables mentioned in the INSTALL file were not set appropriately for your system. Try the following: 1. Go to the top-level source directory. 2. Execute the command "make distclean". 3. Remove the file "config.cache" if it exists. 4. Set the following environment variables to the indicated values: VARIABLE VALUE -------- ----- CC c89 CPPFLAGS # i.e. the empty string CFLAGS -O3 FC f90 FFLAGS -g -F -dp CXX CC CXXFLAGS # i.e. the empty string. "-h char" # may be necessary with older rev # C++ compilers 5. Continue with step 6 near the end of the INSTALL file. Please let me know if this helps. -------- Steve Emmerson <http://www.unidata.ucar.edu>