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.
Rafael, > To: <address@hidden> > From: "Rafael Aizatulin" <address@hidden> > Organization: Estonian Meteorological and Hydrological Institute > Keywords: 200402181646.i1IGk4rV000777 netCDF install Sun Solaris 5.8 The above message contained the following: > I have problem with installation of netcdf package. > I would like to install on SUN Solaris 5.8 workstation. I use Forte = > Developer 7 compiler collection 7. > Could you help me with my problem? > > Best regards > > Rafael. > > > > ------------------------------------------------------------------------ > Rafael Aizatulin http://www.emhi.ee > Estonian Meteorological and Hydrological Institute > Telecommunication Center > address@hidden > Phone : (372) 64 61 532 > Fax: (372) 64 61 577 > R=E4vala 8, 10143 Tallinn, Estonia > ----------------------------------------------------------------------- ... Everything looked good up to this point: > Making `all' in directory /GMT/netcdf-3.5.1/src/f90 > > f77 -c typeSizes.f90 > NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=3D%none -c = > typeSizes.f90 > typeSizes.f90: > typesizes: > *** Error code 1 > *** Error code 1 > *** Error code 1 The f77(1) compiler should not be used to compile a Fortran-90 module. Please try the following: 1. Go to the top-level source directory. 2. Perform steps 3 and 4 of http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems 3. Execute ONE of the following sets of commands to set environment variables: export CC=c89 export CPPFLAGS=-DNDEBUG export CFLAGS=-O export FC=f77 export FFLAGS='-O -w' export F90=f90 export F90FLAGS='-O -w' export CXX=CC export CXXFLAGS=-O or setenv CC c89 setenv CPPFLAGS -DNDEBUG setenv CFLAGS -O setenv FC f77 setenv FFLAGS '-O -w' setenv F90 f90 setenv F90FLAGS '-O -w' setenv CXX CC setenv CXXFLAGS -O depending on your user-shell. 4. Perform steps 6 through 9 of http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems Please let me know what you discover. Regards, Steve Emmerson