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.
Bob, The problem is you're specifying "cc -w" as a C++ compiler: setenv CXX "cc -w" so when the build tries to compile the C++ interface, it fails, because cc can't handle C++ syntax. If you have a C++ compiler (e.g. /opt/SUNWspro/bin/CC or just "CC") you could specify that for CXX. You could use g++, but then you should also use gcc instead of cc. If you don't need the C++ interface, you can just specify a value of '' for the CXX environment variable or use the "--disable-cxx" argument to the configure script. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: KGU-334499 Department: Support netCDF Priority: Normal Status: Closed