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.
Mae Qiu, > To: address@hidden > From: Mae Qiu <address@hidden> > >Subject: Problems with instaling Udunits > rganization: NOAA > Keywords: UDUNITS MacOS The above message contained the following: > A. uname -a > Darwin Mae-Qius-Computer.local. 6.8 Darwin Kernel Version 6.8: Wed Sep > 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power > Macintosh powerpc > > B. File version: 1.12.1 > > C. See attachment. ... > > creating cache ./config.cache > checking type of operating system... darwin > checking for catman... no > checking for makewhatis... no > checking for /usr/lib/makewhatis... no > checking for manual-page index command... > checking for C compiler... /usr/bin/cc= It appears that the environment variable CC was set to the string "/usr/bin/cc=" (note the equals-sign suffix) when the configure script was executed. This is probably not what you want -- judging from the file "config.log": ... > configure:1114: checking how to run the C preprocessor > configure:1135: /usr/bin/cc= -E conftest.c >/dev/null 2>conftest.out > ./configure: /usr/bin/cc=: No such file or directory Please try the following: 1. Go to the top-level source directory. 2. Perform steps 3 through 5 described near the end of the file INSTALL. 3. Ensure that the environment variable CC is set to the pathname of the C compiler and doesn't have a equals-sign suffix, e.g., export CC=/usr/bin/cc or setenv CC /usr/bin/cc depending on your user-shell. 4. Perform steps 6 through 9 described near the end of the file INSTALL. Please let me know if this helps. Regards, Steve Emmerson