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.
Advait, > Here they are.. The file "make.log" contained the following: making `all' in directory /usr/local/src/udunits-1.12.9/src/lib make[1]: Entering directory `/usr/local/src/udunits-1.12.9/src/lib' ln -s ../port/misc/udalloc.c . ln -s ../port/misc/udalloc.h . c89 -c -g -O2 -I../port/misc -I../port/cfortran -DUT_DEFAULT_PATH='"/usr/local/src/udunits-1.12.9/etc/udunits.dat"' utlib.c In file included from utlib.c:29: ../port/cfortran/cfortran.h:133:3: error: #error "cfortran.h: Can't find your environment among: - MIPS cc and Note the lack of something like "-Df2cFortran" from the compile command. This indicates that the CPPFLAGS environment variable wasn't correctly set. If you're using a standard shell, then something like the following should work: export CPPFLAGS='-Df2cFortran' Otherwise, if you're using a csh(1)-like shell, then something like this should work: setenv CPPFLAGS -Df2cFortran You can verify that an environment variable is set via something like this env | grep CPPFLAGS Start the build process from the beginning (starting with the "make distclean" command). Verify that the CPPFLAGS environment variable is correctly set before executing the configure(1) script. Regards, Steve Emmerson Ticket Details =================== Ticket ID: SCG-741485 Department: Support UDUNITS Priority: Normal Status: Closed