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.
> Full Name: Lucy Hi Lucy, > Email Address: address@hidden > Organization: UC > Package Version: 4.1.3 > Operating System: Ubuntu 12.04 LTS > Hardware: > Description of problem: While running the configuration I am getting the > error: > configure: error: C compiler cannot create executables > Here are my settings and config.log. OK, I see a problem in your setting for these 3 environment variables: CFLAGS='-g –O' CPPFLAGS='-DNDEBUG –DpgiFortran' FFLAGS='-g –O2 –mp –recursive' The character '–' you are using for some of these options is not the same as an ASCII '-' character that is required. Try using these settings instead: CFLAGS='-g -O' CPPFLAGS='-DNDEBUG -DpgiFortran' FFLAGS='-g -O2 -mp -recursive' They may look the same, but note that '–O' is different from '-O', for example. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: BNX-671086 Department: Support netCDF Priority: Normal Status: Closed