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.
Ping, > From: address@hidden (Ping Ding) > Organization: . > Subject: netCDF problem > Keywords: 199605022227.AA13413 > > Hi, when I am tring to install netCDF on a SGI, I got following > messages: > 1). The directory I want to install the software is > /usr/people/ping/netcdf_241 > 2). After I run script configure by > >configure --prefix=/usr/people/ping/netcdf_241 > I got: > creating cache ./config.cache > checking for fill-value usage... new usage > checking the installation prefix... /usr/people/ping/netcdf_241 > - - ------ > creating port/Makefile > creating libsrc/local_nc.h > expanding `include's in file `Makefile' > expanding `include's in file `xdr/Makefile' > depend: No such file or directory > > 3). If I try make all, it turned out that > making `all' in directory /usr/people/ping/netcdf_241/port > returning to directory /usr/people/ping/netcdf_241 > making `all' in directory /usr/people/ping/netcdf_241/xdr > cannot get depend for including. > *** Error code 1 (bu21) > > Could you help to solve the problem? Many thanks!! It appears that you no longer have the file `src/xdr/depend', which was in the distribution. You should recreate it before continuing. I suggest the following: 1. Go to the `src/xdr/' directory. 2. Execute the command `touch depend'. 3. Execute the command `make depend'. 4. Go up one level to the `src/' directory. 5. Execute the command `./config.status'. You should then be able to procede with a `make all'. Please let me know if this helps. -------- Steve Emmerson <address@hidden>