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.
Stephen, > To: address@hidden > From: "Stephen S. Leroy" <address@hidden> > Subject: Trouble compiling in SunOS 5.7 > Organization: Jet Propulsion Laboratory > Keywords: 200203212353.g2LNrsa13279 netCDF configure F90 Perl The above message contained the following: > I'm attempting to build a shareable object netcdf library for eventual > incorporation into netCDF-Perl and am having terrible trouble from almost > the very beginning. I'm attempting to configure using > > CC=/opt/SUNWspro/bin/c89 > CPPFLAGS=-DNDEBUG > CFLAGS=-O > FC=/opt/SUNWspro/bin/f77 > FFLAGS="-O -w" > F90=/opt/SUNWspro/bin/f90 > F90FLAGS="-O -w" > CXX=/opt/SUNWspro/bin/CC > CXXFLAGS=-O Those setting should work. > In the configure.in file. ./configure runs OK, except the sizeof > short/int/long/float are all returned as 0. This, of course, causes the > cpp of ncx.c to fail. > > What should I do? Please send me the file "configure.log" and "config.log", which are described near the end of the file "INSTALL.html" the the top-level, netCDF source directory. > FYI: I'm running > SunOS 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-2 > Stephen > > -- > Stephen S. Leroy, Division of Earth and Space Sciences > Office: 169-514A > > Jet Propulsion Laboratory, > 169-237 > 4800 Oak Grove Dr. > Pasadena, CA; 91109-8099 > (818) 354-4545 (phone) > (818) 393-4619 (fax) > mailto:address@hidden > --- > Disclaimer: All written material contained herein is that of the sender > and does not represent or reflect the positions of the Jet Propulsion > Laboratory. > Regards, Steve Emmerson <http://www.unidata.ucar.edu>