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.
Hello - I am trying to install nco via fink on MAC OS 10.3.6 and this requires udunits. I have tried many things suggested out on the web, but it seems to get stuck on the utlib.c file no matter what I do. Can you give me some suggestions? Below is the information that I believe you need to get started from an attempt to manually install. Thanks, Galen McKinley [oaxaca:udunits-1.11.7-4/udunits-1.11.7/src] root# uname -a Darwin oaxaca.aos.wisc.edu 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc [oaxaca:udunits-1.11.7-4/udunits-1.11.7/src] root# make > make.log utlib.c: In function `dectime': utlib.c:420: `__DBL_MANT_DIG__' undeclared (first use in this function) utlib.c:420: (Each undeclared identifier is reported only once utlib.c:420: for each function it appears in.) utlib.c: In function `utPrint': utlib.c:1212: `__DBL_DIG__' undeclared (first use in this function) make[1]: *** [utlib.o] Error 1 make: *** [lib/all] Error 1 [oaxaca:udunits-1.11.7-4/udunits-1.11.7/src] root# more make.log making `all' in directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/port making `all' in directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/port/misc /usr/bin/gcc2 -c -O -I. -D_REENTRANT -Df2cFortran uddummy.c ar rcuv libudport.a uddummy.o a - uddummy.o case "" in \ '') ;; \ *) ar rucv libudport.a ;; \ esac ranlib libudport.a returning to directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/port making `all' in directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/port/cfortran make[2]: Nothing to be done for `all'. returning to directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/port returning to directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src making `all' in directory /sw/src/udunits-1.11.7-4/udunits-1.11.7/src/lib ln -s ../port/misc/udalloc.c . ln -s ../port/misc/udalloc.h . /usr/bin/gcc2 -c -O -I../port/misc -I../port/cfortran -DUT_DEFAULT_PATH='"/sw/src/udunits-1.11.7-4/udunits-1.11.7/etc/udunits.dat" ' -Df2cFortran utlib.c [oaxaca:udunits-1.11.7-4/udunits-1.11.7/src] root# Some environment variables that might be of importance are set as: CC=/usr/bin/gcc2 NETCDF_LIB=/sw/lib CXX= FC= CPPFLAGS=-Df2cFortran From address@hidden Tue Nov 16 19:55:28 2004 Hello again - I've got this worked out. I found and installed the just-released udunits-1.12.3 (unstable) with fink and then I could install nco. And it now works. Galen McKinley