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.
William, > To: address@hidden > From: William Wilcock <address@hidden> > Subject: NetCDF under RedHat Linux 6.0 with g77 > Organization: . > Keywords: 199907030049.SAA29932 In the above message, you wrote: > I am trying to compile NetCDF 3.4 with RedHat Linux 6.0 using gcc and g77. > I get the following output which finishes with an error in make. What > should I do? ... > Making `all' in directory /usr/local/gmt/netcdf-3.4/src/cxx > > make[2]: Entering directory `/usr/local/gmt/netcdf-3.4/src/cxx' > /usr/bin/c++ -c -O -I../libsrc -DNDEBUG -Df2cFortran netcdf.cc > In file included from netcdf.hh:16, > from netcdf.cc:12: > ncvalues.hh:13: iostream.h: No such file or directory > ncvalues.hh:17: strstream.h: No such file or directory > make[2]: *** [netcdf.o] Error 1 > make[2]: Leaving directory `/usr/local/gmt/netcdf-3.4/src/cxx' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory `/usr/local/gmt/netcdf-3.4/src' > make: *** [cxx/all] Error 2 > > [root@wilcock src]# Please see the following, which was found by entering "iostream.h" to the netCDF support email archive search engine: <http://www.unidata.ucar.edu/glimpse/netcdf/3438> -------- Steve Emmerson <http://www.unidata.ucar.edu>