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.
>To: address@hidden >From: "L. Holcombe" <address@hidden> >Subject: successful build of netcdf >Organization: UCAR/Unidata >Keywords: 200304022144.h32LiE7U015878 Interix XP Hi Leigh, > Just wanted to report a successful build of the NetCDF > version 3.5.0 libraries on my system. I thought your > troubled customers might like to know what worked for > me. This is slightly different than Paul Wessel's > report at: > http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#interix > > OS: Interix via Windows XP Pro > > environment variables: > % setenv CC /usr/contrib/bin/gcc > % setenv CXX > % setenv FC > % setenv F90 > (since no fortran or C++ compiler was available) > > potential issues: > *using WinZip to untar the archive is a bad idea. > > *failing to set the CC variable will result in a > successful configure but a failed make, because the > code defaults to c89 as its compiler, which on this > system is simply a reference to the MSVisualC++ > compiler, which it won't find unless it is installed > locally. gcc works just fine. > > *using these same variables, I have had successful > builds with both versions 3.5.0 and 3.4.0. > > *GMT users will want to add the following line to > their > /usr/etc/csh.lcl file: > % setenv NETCDFHOME /usr/local/netcdf-3.5.0 > leave the csh.login and csh.cshrc files alone! they > reference the csh.lcl file. I've added your contribution to http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#interix-xp > Thank you so much for providing such great support for > your products. I hope that my minor contribution will > offer someone out there some assistance, and thus pay > back my debt to the computing community. Thanks for taking the time to contribute! --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://my.unidata.ucar.edu