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.
>From: address@hidden >Organization: ? >Keywords: 200307091435.h69EZeLd007658 netCDF configure CFLAGS CPPFLAGS Laetitia, >I'm sorry, this is my fault, I wrote it in a hurry so I just copied the >lines but the line that appears on my screen is : >configure:1094: c89 -c -o -DNDEBUG conftest.c 1>&5 There will be a number of things that look like errors in the configure.log file. 'configure' compiles and runs small test programs to see what works on the target system and what doesn't. Based on what it finds, it sets up defines that are used in the actual build of the netCDF package. At this point, I am unsure of where your netCDF build process is failing. Please resend the various log files that are generated when you attempt the build. Before doing this, please make sure to do a 'make distclean' before starting the process from the beginning. >In fact I have some questions. >When I execute configure, it is said in the paper "installing netcdf" that >it installs the package's files in ../bin,../lib,../man relative to the >netcdf src/directory. Does it mean that it should create it next to the src >directory when I execute configure? Because nothing appears at all so the >troubles begin with that. The 'make install' step will create the installation subdirectories. You do not need to create them by hand. After fixing your CFLAGS and/or CPPFLAGS, exactly where is the build failing? Along with the various log files requested, please include the output of 'env' so we can see how your CFLAGS, CC, etc. are defined. Thanks. Tom