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.
Thomas, Tom has asked me to help you since he's out today and I'm a netCDF build expert. > cc: Balz Grollimund <address@hidden> > From: Thomas Finkbeiner <address@hidden> > Organization: Stanford > Keywords: 199706040139.TAA05059 netCDF lex In the above message, you wrote: > Tom, > > thanks again for your prompt answer. We tried your suggestions and the > error message disappeared; however, here is a new problem we got stuck > with: > When running make all, we get the following error messages: > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > making `all' in directory /pele/netcdf/netcdf-232pl2/xdr > > > returning to directory /pele/netcdf/netcdf-232pl2 > > > making `all' in directory /pele/netcdf/netcdf-232pl2/libsrc > > /usr/ucb/cc -c -DNDEBUG -Dconst= -O array.c Ouch! The C compiler /usr/ucb/cc isn't a Standard C compiler. I'd be very surprised if you could build the netCDF package with it. Do you have a Standard C compiler (e.g. /usr/lang/acc, gcc)? If so, then I recommend that you use it (you'll have to rerun the configure script after a "make distclean"). If you do have a Standard C compiler, then I'd further recommend that you build the netCDF 3.3 package rather than the netCDF 2.4 package. Version 3 is backward compatible with version 2, but is much improved and considerably faster. -------- Steve Emmerson <address@hidden>