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.
Alex, > To: address@hidden > From: address@hidden (Coal Availability-1996) > Organization: . > Keywords: 199702191628.JAA23504 In the above message, you wrote: > Hello. My name is Alex, and I am trying to install netCDF, but am > having difficulties. Actually, I am trying to install GMT, and this is > part of that installation process. I have attached the file INSTALL, > which gives instruction on netCDF installation. > > As suggested, I have also included the following: > > 1. Output from the command `uname -a'; > > SunOS gis.igs.indiana.edu 5.5 Generic sun4m sparc SUNW,SPARCstation-10 > > 2. Output from the command `env'; > > HOME=/ > HZ=100 > LOGNAME=root > MAIL=/var/mail/root > PATH=/usr/local/adm/bin:/usr/local/bin:/opt/gnu/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb:/usr/dt/bin:/usr/openwin/bin:/usr/sbin:/usr/bin > SHELL=/sbin/sh > TERM=sun-cmd > TZ=US/East-Indiana > PWD=/opt/gmt/netcdf-2.4.3/src > USER=root > DISPLAY=coal:0 > > 4. Output from the `configure' script. > > gis.igs.indiana.edu# ./configure > creating cache ./config.cache > checking for catman... catman > checking for fill-value usage... new usage > checking the installation prefix... /opt/gmt/netcdf-2.4.3 > checking the installation exec-prefix... /opt/gmt/netcdf-2.4.3 > checking for cc... cc > checking type of operating system... sunos5 > checking for ranlib... ranlib > checking how to run the C preprocessor... /lib/cpp > checking the C preprocessor... configure: warning: C preprocessor, > `/lib/cpp', doesn't work The above line indicates a problem running your C preprocessor. > checking for f77... f77 > checking for CC... CC > checking for yacc... yacc > checking for neqn... neqn > checking for tbl... tbl > checking for ar... ar > checking for makeinfo... no > checking for tar flags... -chof > checking for dependency generation mechanism... cc -xM > checking for C position-independent-code compile-option... > checking whether cross-compiling... yes > checking size of int... configure: error: can not run test program while > cross compiling The above line indicates that you can't compile a simple program. Would you please send me the file `config.log' in the top-level source directory. -------- Steve Emmerson <address@hidden>