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.
Andre, >Date: Wed, 20 Aug 2003 22:47:30 -0400 >From: "Andre Luiz Mendes Matos" <address@hidden> >Organization: Home >To: "'Steve Emmerson'" <address@hidden> >Subject: RES: 20030729: NetCDF 3.5.1 beta 11 & RedHat 9: environment variables The above message contained the following: > Hi Steve, > > I compiled the minc library using this: > > ./configure --prefix=/usr/local/bin --with-build-path=/usr/local/minc > > > Without the "--with-build-path=/usr/local/minc" does not compile. Interesting. I've never used that option myself. > By the way, yesterday I decided to reinstall my Linux RedHat 9 and try to > install everything again to check if my steps were corrected. > > I set the environment variables that you gave me and try to compile the > NetCDF version 3.5.1-beta12. However, I got the same error that I wrote to > you before and I thought "What I am missing now?". > > What I did: > > set environment: > > file -> .bash_profile > > export CPPFLAGS='-Df2cFortran -DNDEBUG' > export CC=/usr/bin/cc > export CFLAGS=-O > export FC=g77 > export FFLAGS=-O > export CXX=/usr/bin/c++ > > wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.gz > tar -xvzf netcdf-beta.tar.gz > cd netcdf-3.5.1-beta13/src > ./configure --disable-shared --prefix=/usr/local/mni > make > > ***** error ***** > > But you know, I didn't miss anything. I received an email from RedHat > telling about a bugfix on glibc. > (https://rhn.redhat.com/errata/RHBA-2003-136.html) > > Then, I downloaded and installed the glic path and others, and it worked. > Compiled without errors. Excellent! I'm glad you were able to solve your problem. > Thanks a lot. > > Cheers, > > Andre Matos > address@hidden Regards, Steve Emmerson