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.
Don,
>Date: Fri, 03 Dec 2004 06:28:15 -0700
>From: Don Murray <address@hidden>
>Organization: UCAR/Unidata
>To: Unidata Support <address@hidden>
>Subject: problem building udunits
The above message contained the following:
> I tried building udunits on a Fedora Core 3 system (chico) and
> it failed. I executed the following command:
>
> (./configure && make all install clean) >&! log &
>
> per the INSTALL document and the result is attached (udunits.log).
> I also tried setting the CPPFLAGS to be CPPFLAGS=-Df2cFortran per
> the linux config in INSTALL and that output from:
>
> make CPPFLAGS=-Df2cFortran all > & log.cpp
The CPPFLAGS macro must be set before the configure script is executed.
Try the following:
1. Go to the top-level source-directory.
2. Execute the command "make distclean".
3. Set you environment variable as before.
4. Ensure that the CPPFLAGS environment variable contains the
string "-Df2cFortran".
5. Execute the configure script.
6. Execute the command "make"
7. Execute the command "make install".
Regards,
Steve Emmerson