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.
Fabian, > To: address@hidden > From: Fabian Ochs <address@hidden> > Subject: need help! > Organization: UCAR/Unidata > Keywords: 200006291630.e5TGUIT01311 In the above message, you wrote: > i tryed to understand all of the INSTALL file and more but ..... > > therefore items A) to H) as attachment .... > > > thank you for helping me ... > > regards > fabian What help do you need? You seem to have successfully built and tested the netCDF package. All you need to do now is a "make install" followed by a "make clean" (or "make distclean"). Regards, Steve Emmerson <http://www.unidata.ucar.edu> > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="test.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="test.log" > > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `test' in directory /netcdf/netcdf-3.4/src/libsrc > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/libsrc' > cc -c -O -I. -DNDEBUG t_nc.c > ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o > putget.o string.o v1hpg.o v2i.o var.o > ranlib libnetcdf.a > cc -o t_nc -O t_nc.o -L. -lnetcdf > ./t_nc > dimrename: IXX > nc_close ret = 0 > > reopen id = 6 for filename test.nc > NC done > GATTR VAR VATTR > VATTR > VATTR > VATTR > VATTR > VATTR > fill_seq indices 1 2 3 75.000000 != 2.718282 > Done > got val = 3.250000 > got val = 0.000000 > got val = 2.718282 > got val = 82555 > got val = 97 > got NC_CHAR val = A (0x41) > got NC_CHAR val = B (0x42) > got NC_CHAR val = "The red death had long devastated the country." > got val = A (0x41) > got val = B (0x42) > got val = "The red death had long devastated the country." > got vals = 0.000000 ... 447.000000 > re nc_close ret = 0 > cmp test.nc test_nc.sav > *** Success *** > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/libsrc' > > Returning to directory /netcdf/netcdf-3.4/src > > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `test' in directory /netcdf/netcdf-3.4/src/nctest > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/nctest' > cc -c -O -I../libsrc -DNDEBUG varget.c > cc -c -O -I../libsrc -DNDEBUG vargetg.c > cc -c -O -I../libsrc -DNDEBUG varput.c > cc -c -O -I../libsrc -DNDEBUG varputg.c > cc -c -O -I../libsrc -DNDEBUG vardef.c > cc -c -O -I../libsrc -DNDEBUG vartests.c > cc -c -O -I../libsrc -DNDEBUG vputget.c > cc -c -O -I../libsrc -DNDEBUG vputgetg.c > cc -c -O -I../libsrc -DNDEBUG driver.c > cc -c -O -I../libsrc -DNDEBUG cdftests.c > cc -c -O -I../libsrc -DNDEBUG dimtests.c > cc -c -O -I../libsrc -DNDEBUG rec.c > cc -c -O -I../libsrc -DNDEBUG atttests.c > cc -c -O -I../libsrc -DNDEBUG misctest.c > cc -c -O -I../libsrc -DNDEBUG add.c > cc -c -O -I../libsrc -DNDEBUG error.c > cc -c -O -I../libsrc -DNDEBUG emalloc.c > cc -c -O -I../libsrc -DNDEBUG val.c > cc -c -O -I../libsrc -DNDEBUG slabs.c > cc -o nctest -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 -L../libsrc -lnetcdf > ./nctest > cmp testfile.nc testfile_nc.sav > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/nctest' > > Returning to directory /netcdf/netcdf-3.4/src > > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `test' in directory /netcdf/netcdf-3.4/src/nc_test > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/nc_test' > cc -c -O -I../libsrc -DNDEBUG nc_test.c > cc -c -O -I../libsrc -DNDEBUG error.c > cc -c -O -I../libsrc -DNDEBUG test_get.c > cc -c -O -I../libsrc -DNDEBUG test_put.c > cc -c -O -I../libsrc -DNDEBUG test_read.c > cc -c -O -I../libsrc -DNDEBUG test_write.c > cc -c -O -I../libsrc -DNDEBUG util.c > cc -o nc_test -O nc_test.o error.o test_get.o test_put.o test_read.o > test_write.o util.o -L../libsrc -lnetcdf -lm > ./nc_test -c > ./nc_test > *** Success *** > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/nc_test' > > Returning to directory /netcdf/netcdf-3.4/src > > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `test' in directory /netcdf/netcdf-3.4/src/fortran > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/fortran' > cc -c -O -I../libsrc -DNDEBUG fort-attio.c > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/fortran' > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="config.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="config.log" > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > configure:1020: cc -c -O -DNDEBUG conftest.c 1>&5 > configure:1153: c++ -c -DNDEBUG conftest.C 1>&5 > configure:1220: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out > configure:1373: g77 -c -O conftest.f > configure:1422: g77 -o conftest -O conftest.F > configure:1463: g77 -c -O conftest.f > configure:1498: g77 -c -O conftest.f > configure:1521: g77 -c -O conftest.f > configure:1555: cc -c -DNDEBUG -O conftest.c > configure:1557: g77 -O -c conftestf.f > configure:1559: g77 -o conftest -O conftestf.o conftest.o > configure:1561: ./conftest > configure:1602: cc -c -DNDEBUG -O conftest.c > configure:1604: g77 -O -c conftestf.f > configure:1606: g77 -o conftest -O conftestf.o conftest.o > configure:1608: ./conftest > configure:1649: cc -c -DNDEBUG -O conftest.c > configure:1651: g77 -O -c conftestf.f > configure:1653: g77 -o conftest -O conftestf.o conftest.o > configure:1655: ./conftest > configure:1696: cc -c -DNDEBUG -O conftest.c > configure:1698: g77 -O -c conftestf.f > configure:1700: g77 -o conftest -O conftestf.o conftest.o > configure:1702: ./conftest > configure:1747: cc -c -DNDEBUG -O conftest.c > configure:1749: g77 -O -c conftestf.f > configure:1751: g77 -o conftest -O conftestf.o conftest.o > configure:1753: ./conftest > configure:1794: cc -c -DNDEBUG -O conftest.c > configure:1796: g77 -O -c conftestf.f > configure:1798: g77 -o conftest -O conftestf.o conftest.o > configure:1800: ./conftest > configure:1841: cc -c -DNDEBUG -O conftest.c > configure:1843: g77 -O -c conftestf.f > configure:1845: g77 -o conftest -O conftestf.o conftest.o > configure:1847: ./conftest > configure:1890: cc -c -DNDEBUG -O conftest.c > configure:1892: g77 -O -c conftestf.f > configure:1894: g77 -o conftest -O conftestf.o conftest.o > configure:1896: ./conftest > configure:1937: cc -c -DNDEBUG -O conftest.c > configure:1939: g77 -O -c conftestf.f > configure:1941: g77 -o conftest -O conftestf.o conftest.o > configure:1943: ./conftest > configure:1984: cc -c -DNDEBUG -O conftest.c > configure:1986: g77 -O -c conftestf.f > configure:1988: g77 -o conftest -O conftestf.o conftest.o > configure:1990: ./conftest > configure:2023: g77 -c -O conftest.f > configure:2044: g77 -c -O conftest.f > configure:2084: cc -o conftest -O -DNDEBUG conftest.c -lc 1>&5 > /tmp/ccWu7sZG.o: In function `t': > /tmp/ccWu7sZG.o(.text+0x14): undefined reference to `tanh' > collect2: ld returned 1 exit status > configure:2118: cc -o conftest -O -DNDEBUG conftest.c -lm 1>&5 > configure:2213: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out > configure:2247: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out > configure:2297: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2331: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2398: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2428: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2476: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2644: cc -c -O -DNDEBUG conftest.c 1>&5 > configure:2702: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:2731: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out > configure:2796: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3014: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3052: cc -c -O -DNDEBUG conftest.c 1>&5 > configure:3068: cc -c -O -DNDEBUG conftest.c 1>&5 > configure: In function `t': > configure:3063: `not' undeclared (first use in this function) > configure:3063: (Each undeclared identifier is reported only once > configure:3063: for each function it appears in.) > configure:3063: parse error before `big' > configure:3136: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3170: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3204: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3238: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3272: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3310: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > configure:3348: cc -o conftest -O -DNDEBUG conftest.c 1>&5 > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="configure.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="configure.log" > > creating cache ./config.cache > checking for m4... m4 > checking for xlc... no > checking for c89... no > checking for acc... no > checking for cc... cc > checking C compiler... works > checking how to make dependencies... false > checking for CC... no > checking for cxx... no > checking for c++... c++ > checking C++ compiler "c++"... works > checking how to run the C preprocessor... cc -E > checking for f77... no > checking for fort77... no > checking for g77... g77 > checking for Fortran .F compiler... > checking if Fortran compiler handles *.F files... yes > checking for C-equivalent to Fortran routine "SUB"... sub_ > checking for Fortran "byte"... yes > checking for Fortran "integer*2"... yes > checking if Fortran "byte" is C "signed char"... yes > checking if Fortran "byte" is C "short"... no > checking if Fortran "byte" is C "int"... no > checking if Fortran "byte" is C "long"... no > checking if Fortran "integer*2" is C "short"... yes > checking if Fortran "integer*2" is C "int"... no > checking if Fortran "integer*2" is C "long"... no > checking if Fortran "integer" is C "int"... yes > checking if Fortran "real" is C "float"... yes > checking if Fortran "doubleprecision" is C "double"... yes > checking for Fortran-equivalent to netCDF "byte"... byte > checking for Fortran-equivalent to netCDF "short"... integer*2 > checking for math library > checking for -lc... no > checking for -lm... yes > checking for ar... ar > checking for ranlib... ranlib > checking for stdlib.h... yes > checking for sys/types.h... yes > checking for strerror... yes > checking whether cross-compiling... no > checking for working ftruncate()... yes > checking for working alloca.h... yes > checking for alloca... yes > checking for st_blksize in struct stat... yes > checking for IEEE floating point format... yes > checking for ANSI C header files... yes > checking for size_t... yes > checking for off_t... yes > checking for ssize_t... yes > checking for ptrdiff_t... yes > checking for uchar... no > checking whether char is unsigned... no > checking whether byte ordering is bigendian... no > checking size of short... 2 > checking size of int... 4 > checking size of long... 4 > checking size of float... 4 > checking size of double... 8 > checking size of off_t... 4 > checking size of size_t... 4 > checking for manual-page index command... > checking binary distribution directory... /home/ftp/pub/binary/dummy_system > updating cache ./config.cache > creating ./config.status > creating macros.make > udcreating fortran/nfconfig.inc > creating libsrc/ncconfig.h > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="make.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="make.log" > > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `all' in directory /netcdf/netcdf-3.4/src/libsrc > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/libsrc' > cc -c -O -I. -DNDEBUG attr.c > cc -c -O -I. -DNDEBUG dim.c > cc -c -O -I. -DNDEBUG error.c > cc -c -O -I. -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c > cc -c -O -I. -DNDEBUG nc.c > cc -c -O -I. -DNDEBUG ncio.c > cc -c -O -I. -DNDEBUG ncx.c > cc -c -O -I. -DNDEBUG putget.c > cc -c -O -I. -DNDEBUG string.c > cc -c -O -I. -DNDEBUG v1hpg.c > cc -c -O -I. -DNDEBUG v2i.c > cc -c -O -I. -DNDEBUG var.c > ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o > putget.o string.o v1hpg.o v2i.o var.o > ranlib libnetcdf.a > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/libsrc' > > Returning to directory /netcdf/netcdf-3.4/src > > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > make[1]: Entering directory `/netcdf/netcdf-3.4/src' > > Making `all' in directory /netcdf/netcdf-3.4/src/fortran > > make[2]: Entering directory `/netcdf/netcdf-3.4/src/fortran' > cc -c -O -I../libsrc -DNDEBUG fort-attio.c > make[2]: Leaving directory `/netcdf/netcdf-3.4/src/fortran' > make[1]: Leaving directory `/netcdf/netcdf-3.4/src' > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="compiler.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="compiler.log" > > /usr/bin/g77 > /usr/bin/cc > /usr/bin/f2c > /usr/bin/c++ > /usr/bin/gcc > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="uname.log" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="uname.log" > > Linux rio 2.2.13 #1 Mon Nov 8 15:37:25 CET 1999 i586 unknown > > --------------D4C0B030267405E717384D70 > Content-Type: text/plain; charset=us-ascii; > name="Version" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="Version" > > 3.4 > > --------------D4C0B030267405E717384D70-- > > > ------- End of Forwarded Message