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.
Ping,
>Date: Fri, 3 May 96 08:35:53 -0700
>From: address@hidden (Ping Ding)
>Organization: Stanford University
>Keywords: 199605031540.AA04099
In the above message you wrote:
> Hi Steve, thanks for your mail to help my
> installing netCDF problem. It really helps
> a lot. Now I have another question. It seems
> that there is no C++ compiler on the machine
> I want to install netCDF. Can I just ignore
> the error messages and go ahead to install
> the fortran interface, or I have to edit
> the script configure?
The standard way to build the netCDF package without C++ support is to
set the environment variable `CXX' to the empty-string prior to
executing the configure script. For example, using csh(1):
% setenv CXX ''
% ./configure >&! configure.log
and using a POSIX shell:
$ CXX= ./configure >configure.log 2>&1
You can then procede with a `make all'.
I believe all this is documented in the INSTALL file.
Please let me know if this helps.
--------
Steve Emmerson <address@hidden>