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.
>From: address@hidden (Annette Koontz) >Subject: netcdf-3.1a "configure" problems >Organization: Battelle PNL >Keywords: 199609051434.AA17837 Hi Annette, > I have installed the prerelease version (C only) of netcdf version 3.1a on > our Sun Solaris system. Here's the "uname" info: > > SunOS radius 5.5 Generic sun4m sparc SUNW,SPARCstation-20 > > > I encountered some syntax problems in the configure file. There were > several instances of syntax that looked like > > if test $variable = yes > > or > > if test $variable = no > > that resulted in errors like > > test ... missing argument. > > > I changed the above syntax to look like: > > if test "$variable" = yes > or > if test "$variable" = no > > and this seemed to correct the problem. After that, installation went OK, > and the "make test" worked just fine. Also note that we are using GNU > C for the compiler. We'll try to find a way to correct this. Since the configure script is automatically generated by autoconf from "configure.in", this may be a bug in the autoconf program. Thanks for reporting the problem! _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu