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.
Matt, >Date: Mon, 28 Feb 2000 12:40:24 +1000 >From: address@hidden >Organization: AUSTRALIA/NAVY >To: Steve Emmerson <address@hidden> >Subject: SEC: UNCLASSIFIED:-Re: 20000225: building on SPARC ultra 4, SunOS >5.5.1: missing ar >Keywords: 200002232345.QAA00827 In the above message, you wrote: > I'm still having problems with the intallation of netcdf. Perhaps I > need to set some different compile options? > Following is my configure and configure log and make log files. > > ------------------------------------------------------------ > configure script > ----------------------------------------------------------- > #! /bin/sh > > # From configure.in Id: configure.in > RANLIB=/usr/ccs/bin/ranlib > AR=/usr/xpg4/bin/ar > > > M4=/opt/FSFm4/bin/m4 > M4FLAGS=-B7168 > > CPPFLAGS=-Df2cFortran > CC=/usr/local/bin/sparc-sun-solaris2.5.1-gcc > > CFLAGS=-g > > FC=/usr/local/bin/g77 > FFLAGS="-g -w" > CXX=/home/devenv/gcc-sol2-2.8.1/bin/g++ ... > Making `all' in directory /home/mjones/netcdf-3.3/src/cxx > > /home/devenv/gcc-sol2-2.8.1/bin/g++ -c -g -I../libsrc -Df2cFortran netcdf.cc > In file included from netcdf.hh:16, > from netcdf.cc:12: > ncvalues.hh:13: generic.h: No such file or directory > ncvalues.hh:14: iostream.h: No such file or directory > ncvalues.hh:18: strstream.h: No such file or directory > *** Error code 1 > make: Fatal error: Command failed for target `netcdf.o' > Current working directory /home/mjones/netcdf-3.3/src/cxx > *** Error code 1 > make: Fatal error: Command failed for target `subdir_target' > Current working directory /home/mjones/netcdf-3.3/src > *** Error code 1 > make: Fatal error: Command failed for target `cxx/all' The above indicates that your C++ development environment is broken. Please see the following URL for more information: <http://www.unidata.ucar.edu/glimpse/netcdf/3681> Regards, Steve Emmerson <http://www.unidata.ucar.edu>