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 (Fuzia Larif) >Subject: help on netcdf installation >Organization: ? >Keywords: 199708051029.EAA29823 netCDF make Sun Solaris Hi Fuzia, > I'm trying to install netcdf in my system. I work on sun staion, > the out put from 'uname -a' gives: > SunOS dungbeatle 5.5 Generic sun4m sparc SUNW,SPARCstation-10. > My problem is that: when I execute the command make, it gives the > following result > dungbeatle% /usr/ccs/bin/make > make: Warning: Can't find `macros.make': No such file or directory > make: Fatal error in reader: Makefile, line 4: Read of include file > `macros.make' failed. > I couldn't find the file macros.make in the netcdf package. > Can you please give me some explanation about this? To build and install netCDF, you need to read and follow the instructions in the INSTALL file in the netcdf-3.3.1/src/ directory. In particular, you need to run the "configure" script before trying to run "make", because the "configure" script generates some files, such as "macros.make", that are used by "make". Running the "configure" script determines what compilers are available and figures out various other configuration parameters needed to build the package. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu