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.
Cara, >Date: Thu, 11 Jan 1996 15:06:27 +0800 >From: address@hidden (Cara Wilson) >Organization: Oregon State University >Subject: Re: 960111: netCDF installation >Keywords: 199601102202.AA13288 In the above message you wrote: > I changed my path so that it used the c compiler in /usr/lang/bin and no > longer got the compilation errors, but instead got compilation warnings > with some of the files that say 'semantics of ">" change in ANSI C; use > explicit cast' (output from make all enclosed). You may safely ignore those warnings. > Running make test I again got errors with all the files in nctest. I don't see that in the `make test' output you sent me: > making `all' in directory /home/zelda/bernard/gmt/netcdf-232pl2/nctest > > cc -c -I../libsrc -DNDEBUG -O varget.c > cc -c -I../libsrc -DNDEBUG -O vargetg.c > cc -c -I../libsrc -DNDEBUG -O varput.c > cc -c -I../libsrc -DNDEBUG -O varputg.c > cc -c -I../libsrc -DNDEBUG -O vardef.c > cc -c -I../libsrc -DNDEBUG -O vartests.c > cc -c -I../libsrc -DNDEBUG -O vputget.c > cc -c -I../libsrc -DNDEBUG -O vputgetg.c > cc -c -I../libsrc -DNDEBUG -O driver.c > cc -c -I../libsrc -DNDEBUG -O cdftests.c > cc -c -I../libsrc -DNDEBUG -O dimtests.c > cc -c -I../libsrc -DNDEBUG -O rec.c > cc -c -I../libsrc -DNDEBUG -O atttests.c > cc -c -I../libsrc -DNDEBUG -O misctest.c > cc -c -I../libsrc -DNDEBUG -O add.c > cc -c -I../libsrc -DNDEBUG -O error.c > cc -c -I../libsrc -DNDEBUG -O val.c > cc -c -I../libsrc -DNDEBUG -O slabs.c > cc -O varget.o vargetg.o varput.o varputg.o vardef.o vartests.o vputget.o > vputgetg.o driver.o cdftests.o dimtests.o rec.o atttests.o misctest.o add.o > error.o emalloc.o val.o slabs.o ../libsrc/libnetcdf.a -o nctest The above looks OK. > making `test' in directory /home/zelda/bernard/gmt/netcdf-232pl2/nctest > > ./nctest > *** Testing nccreate ... ok *** > *** Testing ncopen ... ok *** > *** Testing ncredef ... ok *** > *** Testing ncendef ... ok *** > *** Testing ncclose ... ok *** > *** Testing ncinquire ... ok *** > *** Testing ncsync ... ok *** > *** Testing ncabort ... ok *** > *** Testing ncdimdef ... ok *** > *** Testing ncdimid ... ok *** > *** Testing ncdiminq ... ok *** > *** Testing ncdimrename ... ok *** > *** Testing ncvardef ... ok *** > *** Testing ncvarid ... ok *** > *** Testing ncvarinq ... ok *** > *** Testing ncvarput1 ... ok *** > *** Testing ncvarget1 ... ok *** > *** Testing ncvarput ... ok *** > *** Testing ncvarget ... ok *** > *** Testing ncvarputg ... ok *** > *** Testing ncvargetg ... ok *** > *** Testing ncrecinq ... ok *** > *** Testing ncrecput ... ok *** > *** Testing ncrecget ... ok *** > *** Testing ncvarrename ... ok *** > *** Testing ncattput ... ok *** > *** Testing ncattinq ... ok *** > *** Testing ncattget ... ok *** > *** Testing ncattcopy ... ok *** > *** Testing ncattname ... ok *** > *** Testing ncattrename ... ok *** > *** Testing ncattdel ... ok *** > *** Testing nctypelen ... ok *** > > returning to directory /home/zelda/bernard/gmt/netcdf-232pl2 The above also looks OK. I would appear that you have successfully build and tested the netCDF packge. All you need to now is install it with `make install'. Please let me know if you succeed. -------- Steve Emmerson <address@hidden>