[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031023: netcdf installation problems logs



>From: Juan Diaz Naveas <address@hidden>
>Organization: Pontificia Universidad Catolica de Valparaiso
>Keywords: 200310231843.h9NIhFOb001951 netCDF GMT ncdump install

Juan,

>When trying to install netcdf-3.5.0 on cygwin I had problems at the very
>"install" stage. Please find the logs at the end of this message.

The logs you include below show that the only error comes when the
install tries to copy ncdump from the /usr/local/gmt/netcdf-3.5.0/src
directory to the /usr/local/gmt/netcdf-3.5.0/bin directory.  This could
be cause by a couple of things:

- /usr/local/gmt/netcdf-3.5.0/bin is a link to /usr/local/gmt/netcdf-3.5.0/src
  or visa versa -- this would be bad

- /usr/local/gmt/netcdf-3.5.0/bin/ncdump exists and is a link to
  /usr/local/gmt/netcdf-3.5.0/src/ncdump

To test the first possibility, please get a long listing in the
/usr/local/gmt/netcdf-3.5.0 directory and see if
/usr/local/gmt/netcdf-3.5.0/bin is a link to
/usr/local/gmt/netcdf-3.5.0/src.  If it is, remove the bin directory
link and redo your install.

If the bin and src directories are not one in the same, then please get
a long listing (one that shows inode numbers) for:

/usr/local/gmt/netcdf-3.5.0/bin/ncdump

and

/usr/local/gmt/netcdf-3.5.0/src/ncdump

If the files are the same (the inode numbers are the same), then
running a 'make distclean' and redoing the netCDF build (./configure,
make, make test, make install) should be successful.

>Although I have c++ I masked it with CXX="" in the configure file. I did
>it because this caused me even more problems in the past, but c++ is
>something I don't need at the moment, so I don't care.

You shouldn't modify the configure file as you may cause problems.  The
best way to tell configure to not build one or more interfaces (e.g.,
C++, Fortran, or Fortran 90) is to set the corresponding environment
variable to a blank:

CXX=""
FC=""
F90=""

before running configure.  If you did edit/change the netCDF configure
file, you may have caused unexpected side effects.  In this case, we
recommend that you either undo your edit, or, if that is not possible,
to download a new copy of the netCDF distribution and start the build
from scratch.

>If you can feedback me with a solution in order to successfully install
>netcdf I would greatly appreciate it.

If your problem is not related to an edit of configure, then it must be
related to the src and bin directories being the same, or for ncdump to
exist in both directories and be links to one another.

Cheers,

>Sincerely, yours
>Juan Diaz-Naveas
>
>-- 
>-------------------------------------------------------------------
>Juan Diaz Naveas                              E-Mail: address@hidden
>Escuela de Ciencias del Mar                   Tel.:   +56-32-274269
>Pontificia Universidad Catolica de Valparaiso         +56-32-274255
>Av. Altamirano 1480                           Fax:    +56-32-274206
>Valparaiso, CHILE                             Mobil:  +56-9-1630936
>-------------------------------------------------------------------
>
>uname -a
>========
>CYGWIN_NT-5.0 pc25-156 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
>unknown Cyg
>win
>
>which gcc
>=========
>/usr/bin/gcc
>
>which g77
>=========
>/usr/bin/g77
>
>which c++
>=========
>/usr/bin/c++
>
>configure.log
>=============
>creating cache ./config.cache
>checking for top-level source-directory
>/usr/local/gmt/netcdf-3.5.0/src
>checking for m4 preprocessor
>checking for m4... no
>checking for gm4... no
>checking m4 flags... -B10000
>checking for xlc... no
>checking for c89... no
>checking for acc... no
>checking for cc... no
>checking for gcc... gcc
>checking C compiler "gcc"... works
>checking how to make dependencies... false
>configure: warning: Empty CXX variable
>configure: warning: The C++ interface will not be built
>checking how to run the C preprocessor... gcc -E
>checking for xlf... no
>checking for fort77... no
>checking for ghf77... no
>checking for f77... no
>checking for cf77... no
>checking for g77... g77
>checking for Fortran .F compiler... 
>checking if Fortran-77 compiler handles *.F files... yes
>checking "g77" as Fortran-90 compiler... failed to build test program
>checking for xlf90... no
>checking for f90... no
>configure: warning: Could not find working Fortran-90 compiler
>configure: warning: The Fortran-90 interface will not be built
>checking for nm utility
>checking for nm... nm
>checking nm flags... 
>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 tanh in -lc... yes
>checking for ar utility
>checking for ar... ar
>checking ar flags... cru
>checking for nm utility
>checking for nm... (cached) nm
>checking nm flags... 
>checking for ranlib... ranlib
>checking for stdlib.h... yes
>checking for sys/types.h... yes
>checking for strerror... yes
>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... 8
>checking size of size_t... 4
>checking for catman... no
>checking for makewhatis... no
>checking for /usr/lib/makewhatis... no
>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
>
>
>
>make.log
>========
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `all' in directory /usr/local/gmt/netcdf-3.5.0/src/libsrc
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>gcc -c -O -D_WIN32 -I.  -DNDEBUG attr.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG dim.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG error.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG nc.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG ncio.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG ncx.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG putget.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG string.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG v1hpg.c
>gcc -c -O -D_WIN32 -I.  -DNDEBUG v2i.c
>gcc -c -O -D_WIN32 -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 `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `all' in directory /usr/local/gmt/netcdf-3.5.0/src/fortran
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-attio.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-control.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-dim.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-genatt.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-geninq.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-genvar.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-lib.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-misc.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-v2compat.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-vario.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-var1io.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-varaio.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-varmio.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG fort-varsio.c
>ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o
>fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o
>fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o
>fort-varsio.o
>ranlib ../libsrc/libnetcdf.a
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>Not making `f90/all' because no FORTRAN-90 compiler
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `all' in directory /usr/local/gmt/netcdf-3.5.0/src/ncdump
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG ncdump.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vardata.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG dumplib.c
>gcc -o ncdump -O -D_WIN32  ncdump.o vardata.o dumplib.o
>../libsrc/libnetcdf.a  
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `all' in directory /usr/local/gmt/netcdf-3.5.0/src/ncgen
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG main.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG load.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG ncgentab.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG escapes.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG getfill.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG init.c
>gcc -c -O -D_WIN32 -I../libsrc -I.  -DNDEBUG genlib.c
>gcc -o ncgen -O -D_WIN32  main.o load.o ncgentab.o escapes.o getfill.o
>init.o genlib.o ../libsrc/libnetcdf.a  
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>Not making `cxx/all' because no C++ compiler
>
>
>
>test.log
>========
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/libsrc
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>gcc -c -O -D_WIN32 -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
>gcc -o t_nc -O -D_WIN32  t_nc.o -L. -lnetcdf 
>./t_nc
>dimrename: IXX
>nc_close ret = 0
>
>reopen id = 3 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 `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/nc_test
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/nc_test'
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG nc_test.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG error.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG test_get.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG test_put.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG test_read.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG test_write.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG util.c
>gcc -o nc_test -O -D_WIN32  nc_test.o error.o test_get.o test_put.o
>test_read.o test_write.o util.o -L../libsrc -lnetcdf  
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>./nc_test -c
>./nc_test
>*** Testing nc_strerror ... ok
>*** Testing nc_open ... ok
>*** Testing nc_close ... ok
>*** Testing nc_inq ... ok
>*** Testing nc_inq_dimid ... ok
>*** Testing nc_inq_dim ... ok
>*** Testing nc_inq_dimlen ... ok
>*** Testing nc_inq_dimname ... ok
>*** Testing nc_inq_varid ... ok
>*** Testing nc_inq_var ... ok
>*** Testing nc_inq_natts ... ok
>*** Testing nc_inq_ndims ... ok
>*** Testing nc_inq_nvars ... ok
>*** Testing nc_inq_unlimdim ... ok
>*** Testing nc_inq_vardimid ... ok
*** Testing nc_inq_varname ... ok
>*** Testing nc_inq_varnatts ... ok
>*** Testing nc_inq_varndims ... ok
>*** Testing nc_inq_vartype ... ok
>*** Testing nc_get_var_text ...  179 good comparisons. ok
>*** Testing nc_get_var_uchar ...  264 good comparisons. ok
>*** Testing nc_get_var_schar ...  269 good comparisons. ok
>*** Testing nc_get_var_short ...  682 good comparisons. ok
>*** Testing nc_get_var_int ...  1189 good comparisons. ok
>*** Testing nc_get_var_long ...  1189 good comparisons. ok
>*** Testing nc_get_var_float ...  1194 good comparisons. ok
>*** Testing nc_get_var_double ...  1207 good comparisons. ok
>*** Testing nc_get_var1_text ...  179 good comparisons. ok
>*** Testing nc_get_var1_uchar ...  264 good comparisons. ok
>*** Testing nc_get_var1_schar ...  269 good comparisons. ok
>*** Testing nc_get_var1_short ...  682 good comparisons. ok
>*** Testing nc_get_var1_int ...  1189 good comparisons. ok
>*** Testing nc_get_var1_long ...  1189 good comparisons. ok
>*** Testing nc_get_var1_float ...  1194 good comparisons. ok
>*** Testing nc_get_var1_double ...  1207 good comparisons. ok
>*** Testing nc_get_vara_text ...  179 good comparisons. ok
>*** Testing nc_get_vara_uchar ...  264 good comparisons. ok
>*** Testing nc_get_vara_schar ...  269 good comparisons. ok
>*** Testing nc_get_vara_short ...  682 good comparisons. ok
>*** Testing nc_get_vara_int ...  1189 good comparisons. ok
>*** Testing nc_get_vara_long ...  1189 good comparisons. ok
>*** Testing nc_get_vara_float ...  1194 good comparisons. ok
>*** Testing nc_get_vara_double ...  1207 good comparisons. ok
>*** Testing nc_get_vars_text ...  179 good comparisons. ok
>*** Testing nc_get_vars_uchar ...  264 good comparisons. ok
>*** Testing nc_get_vars_schar ...  269 good comparisons. ok
>*** Testing nc_get_vars_short ...  682 good comparisons. ok
>*** Testing nc_get_vars_int ...  1189 good comparisons. ok
>*** Testing nc_get_vars_long ...  1189 good comparisons. ok
>*** Testing nc_get_vars_float ...  1194 good comparisons. ok
>*** Testing nc_get_vars_double ...  1207 good comparisons. ok
>*** Testing nc_get_varm_text ...  179 good comparisons. ok
>*** Testing nc_get_varm_uchar ...  264 good comparisons. ok
>*** Testing nc_get_varm_schar ...  269 good comparisons. ok
>*** Testing nc_get_varm_short ...  682 good comparisons. ok
>*** Testing nc_get_varm_int ...  1189 good comparisons. ok
>*** Testing nc_get_varm_long ...  1189 good comparisons. ok
>*** Testing nc_get_varm_float ...  1194 good comparisons. ok
>*** Testing nc_get_varm_double ...  1207 good comparisons. ok
>*** Testing nc_get_att_text ...  7 good comparisons. ok
>*** Testing nc_get_att_uchar ...  5 good comparisons. ok
>*** Testing nc_get_att_schar ...  7 good comparisons. ok
>*** Testing nc_get_att_short ...  15 good comparisons. ok
>*** Testing nc_get_att_int ...  19 good comparisons. ok
>*** Testing nc_get_att_long ...  19 good comparisons. ok
>*** Testing nc_get_att_float ...  21 good comparisons. ok
>*** Testing nc_get_att_double ...  27 good comparisons. ok
>*** Testing nc_inq_att ... ok
>*** Testing nc_inq_attname ... ok
>*** Testing nc_inq_attid ... ok
>*** Testing nc_inq_attlen ... ok
>*** Testing nc_inq_atttype ... ok
>*** Testing nc_create ... ok
>*** Testing nc_redef ...  1386 good comparisons.  34 good comparisons.
>ok
>*** Testing nc_sync ...  34 good comparisons.  1386 good comparisons. ok
>*** Testing nc_abort ...  1386 good comparisons.  34 good comparisons.
>ok
>*** Testing nc_def_dim ... ok
>*** Testing nc_rename_dim ... ok
>*** Testing nc_def_var ... ok
>*** Testing nc_put_var_text ...  179 good comparisons. ok
>*** Testing nc_put_var_uchar ...  264 good comparisons. ok
>*** Testing nc_put_var_schar ...  269 good comparisons. ok
>*** Testing nc_put_var_short ...  682 good comparisons. ok
>*** Testing nc_put_var_int ...  1189 good comparisons. ok
>*** Testing nc_put_var_long ...  1189 good comparisons. ok
>*** Testing nc_put_var_float ...  1194 good comparisons. ok
>*** Testing nc_put_var_double ...  1207 good comparisons. ok
>*** Testing nc_put_var1_text ...  179 good comparisons. ok
>*** Testing nc_put_var1_uchar ...  264 good comparisons. ok
>*** Testing nc_put_var1_schar ...  269 good comparisons. ok
>*** Testing nc_put_var1_short ...  682 good comparisons. ok
>*** Testing nc_put_var1_int ...  1189 good comparisons. ok
>*** Testing nc_put_var1_long ...  1189 good comparisons. ok
>*** Testing nc_put_var1_float ...  1194 good comparisons. ok
>*** Testing nc_put_var1_double ...  1207 good comparisons. ok
>*** Testing nc_put_vara_text ...  179 good comparisons. ok
>*** Testing nc_put_vara_uchar ...  264 good comparisons. ok
>*** Testing nc_put_vara_schar ...  269 good comparisons. ok
>*** Testing nc_put_vara_short ...  682 good comparisons. ok
>*** Testing nc_put_vara_int ...  1189 good comparisons. ok
>*** Testing nc_put_vara_long ...  1189 good comparisons. ok
>*** Testing nc_put_vara_float ...  1194 good comparisons. ok
>*** Testing nc_put_vara_double ...  1207 good comparisons. ok
>*** Testing nc_put_vars_text ...  179 good comparisons. ok
>*** Testing nc_put_vars_uchar ...  264 good comparisons. ok
>*** Testing nc_put_vars_schar ...  269 good comparisons. ok
>*** Testing nc_put_vars_short ...  682 good comparisons. ok
>*** Testing nc_put_vars_int ...  1189 good comparisons. ok
>*** Testing nc_put_vars_long ...  1189 good comparisons. ok
>*** Testing nc_put_vars_float ...  1194 good comparisons. ok
>*** Testing nc_put_vars_double ...  1207 good comparisons. ok
>*** Testing nc_put_varm_text ...  179 good comparisons. ok
>*** Testing nc_put_varm_uchar ...  264 good comparisons. ok
>*** Testing nc_put_varm_schar ...  269 good comparisons. ok
>*** Testing nc_put_varm_short ...  682 good comparisons. ok
>*** Testing nc_put_varm_int ...  1189 good comparisons. ok
>*** Testing nc_put_varm_long ...  1189 good comparisons. ok
>*** Testing nc_put_varm_float ...  1194 good comparisons. ok
>*** Testing nc_put_varm_double ...  1207 good comparisons. ok
>*** Testing nc_rename_var ...  1386 good comparisons. ok
>*** Testing nc_put_att_text ...  7 good comparisons. ok
>*** Testing nc_put_att_uchar ...  5 good comparisons. ok
>*** Testing nc_put_att_schar ...  7 good comparisons. ok
>*** Testing nc_put_att_short ...  15 good comparisons. ok
>*** Testing nc_put_att_int ...  19 good comparisons. ok
>*** Testing nc_put_att_long ...  19 good comparisons. ok
>*** Testing nc_put_att_float ...  21 good comparisons. ok
>*** Testing nc_put_att_double ...  27 good comparisons. ok
>*** Testing nc_copy_att ...  34 good comparisons. ok
>*** Testing nc_rename_att ...  34 good comparisons. ok
>*** Testing nc_del_att ... ok
>*** Testing nc_set_fill ...  2796 good comparisons. ok
>
>Total number of failures: 0
>*** Success ***
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/nc_test'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/nctest
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/nctest'
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG varget.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vargetg.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG varput.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG varputg.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vardef.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vartests.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vputget.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG vputgetg.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG driver.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG cdftests.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG dimtests.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG rec.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG atttests.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG misctest.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG add.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG error.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG emalloc.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG val.c
>gcc -c -O -D_WIN32 -I../libsrc  -DNDEBUG slabs.c
>gcc -o nctest -O -D_WIN32  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
>*** 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 ***
>cmp testfile.nc testfile_nc.sav
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/nctest'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/fortran
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>+ g77 -c ftest.F
>ftest.F: In subroutine `tncacpy':
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:196: (continued):
>               call ncagt (outcdf, NCGLOBAL, attnam, shval, iret) 
>                    2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:198: (continued):
>               call ncagt (outcdf, NCGLOBAL, attnam, lngval,
>iret)         
>                    2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:200: (continued):
>               call ncagt (outcdf, NCGLOBAL, attnam, flval, iret)
>                    2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:202: (continued):
>               call ncagt (outcdf, NCGLOBAL, attnam,
>doubval,iret)         
>                    2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:235: (continued):
>                     call ncagt (outcdf, i, attnam, shval, 
>                          2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:243: (continued):
>                     call ncagt (outcdf, i, attnam, lngval, 
>                          2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:250: (continued):
>                     call ncagt (outcdf, i, attnam, flval, 
>                          2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:257: (continued):
>                     call ncagt (outcdf, i, attnam, doubval,
>                          2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncagt':
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:384: (continued):
>               call ncagt (ncid, NCGLOBAL, attnam, shval, iret) 
>                    2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:386: (continued):
>               call ncagt (ncid, NCGLOBAL, attnam, lngval,
>iret)           
>                    2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:388: (continued):
>               call ncagt (ncid, NCGLOBAL, attnam, flval, iret)
>                    2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:390: (continued):
>               call ncagt (ncid, NCGLOBAL, attnam,
>doubval,iret)          
>                    2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:424: (continued):
>                     call ncagt (ncid, i, attnam, shval, 
>                          2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:432: (continued):
>                     call ncagt (ncid, i, attnam, lngval, 
>                          2
>Argument #4 of `ncagt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:439: (continued):
>                     call ncagt (ncid, i, attnam, flval, 
>                          2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:187: warning:
>               call ncagt (outcdf, NCBYTE, attnam, bytval, iret)
>                    1
>ftest.F:446: (continued):
>                     call ncagt (ncid, i, attnam, doubval,
>                          2
>Argument #4 of `ncagt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncapt':
>ftest.F:485: warning:
>         call ncapt (ncid, bid, 'validrange', NCBYTE, 2,
>              1
>ftest.F:494: (continued):
>         call ncapt (ncid, sid, 'validrange', NCSHORT, 2, 
>              2
>Argument #6 of `ncapt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:485: warning:
>         call ncapt (ncid, bid, 'validrange', NCBYTE, 2,
>              1
>ftest.F:503: (continued):
>         call ncapt (ncid, lid, 'validrange', NCLONG, 2,
>              2
>Argument #6 of `ncapt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:485: warning:
>         call ncapt (ncid, bid, 'validrange', NCBYTE, 2,
>              1
>ftest.F:512: (continued):
>         call ncapt (ncid, fid, 'validrange', NCFLOAT, 2,
>              2
>Argument #6 of `ncapt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:485: warning:
>         call ncapt (ncid, bid, 'validrange', NCBYTE, 2,
>              1
>ftest.F:521: (continued):
>         call ncapt (ncid, did, 'validrange', NCDOUBLE, 2,
>              2
>Argument #6 of `ncapt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncvgt':
>ftest.F:910: warning:
>               call ncvgt (ncid, m, start, count, barray, iret)
>                    1
>ftest.F:922: (continued):
>               call ncvgt (ncid, m, start, count, sarray, iret)
>                    2
>Argument #5 of `ncvgt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:910: warning:
>               call ncvgt (ncid, m, start, count, barray, iret)
>                    1
>ftest.F:934: (continued):
>               call ncvgt (ncid, m, start, count, larray, iret)
>                    2
>Argument #5 of `ncvgt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:910: warning:
>               call ncvgt (ncid, m, start, count, barray, iret)
>                    1
>ftest.F:945: (continued):
>               call ncvgt (ncid, m, start, count, farray, iret)
>                    2
>Argument #5 of `ncvgt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:910: warning:
>               call ncvgt (ncid, m, start, count, barray, iret)
>                    1
>ftest.F:965: (continued):
>               call ncvgt (ncid, m, start, count, darray, iret)
>                    2
>Argument #5 of `ncvgt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncvgt1':
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1039: (continued):
>         call ncvgt1 (ncid, sid, sindx, svalue, iret)
>              2
>Argument #4 of `ncvgt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1045: (continued):
>         call ncvgt1 (ncid, lid, lindx, lvalue, iret)
>              2
>Argument #4 of `ncvgt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1051: (continued):
>         call ncvgt1 (ncid, fid, findx, fvalue, iret)
>              2
>Argument #4 of `ncvgt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1058: (continued):
>         call ncvgt1 (ncid, did, dindx, dvalue, iret)
>              2
>Argument #4 of `ncvgt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncvpt':
>ftest.F:1121: warning:
>         call ncvpt (ncid, bid, start, count, barray, iret)
>              1
>ftest.F:1126: (continued):
>         call ncvpt (ncid, sid, start, count, sarray, iret)
>              2
>Argument #5 of `ncvpt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1121: warning:
>         call ncvpt (ncid, bid, start, count, barray, iret)
>              1
>ftest.F:1134: (continued):
>         call ncvpt (ncid, lid, start, count, larray, iret)
>              2
>Argument #5 of `ncvpt' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1121: warning:
>         call ncvpt (ncid, bid, start, count, barray, iret)
>              1
>ftest.F:1150: (continued):
>         call ncvpt (ncid, fid, start, count, farray, iret)
>              2
>Argument #5 of `ncvpt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:1121: warning:
>         call ncvpt (ncid, bid, start, count, barray, iret)
>              1
>ftest.F:1166: (continued):
>         call ncvpt (ncid, did, start, count, darray, iret)
>              2
>Argument #5 of `ncvpt' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tncvpt1':
>ftest.F:1213: warning:
>         call ncvpt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1217: (continued):
>         call ncvpt1 (ncid, sid, sindx, svalue, iret)
>              2
>Argument #4 of `ncvpt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1213: warning:
>         call ncvpt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1221: (continued):
>         call ncvpt1 (ncid, lid, lindx, lvalue, iret)
>              2
>Argument #4 of `ncvpt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1213: warning:
>         call ncvpt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1225: (continued):
>         call ncvpt1 (ncid, fid, findx, 3.14159, iret)
>              2
>Argument #4 of `ncvpt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:1213: warning:
>         call ncvpt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1229: (continued):
>         call ncvpt1 (ncid, did, dindx, onethird, iret)
>              2
>Argument #4 of `ncvpt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F: In subroutine `tfills':
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1261: (continued):
>         call ncvgt1(ncid, sid, ix, s, iret)
>              2
>Argument #4 of `ncvgt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1262: (continued):
>         call ncvgt1(ncid, lid, ix, l, iret)
>              2
>Argument #4 of `ncvgt1' is one precision at (2) but is some other
>precision at (1) [info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1263: (continued):
>         call ncvgt1(ncid, fid, ix, f, iret)
>              2
>Argument #4 of `ncvgt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ftest.F:1033: warning:
>         call ncvgt1 (ncid, bid, bindx, bvalue, iret)
>              1
>ftest.F:1264: (continued):
>         call ncvgt1(ncid, did, ix, d, iret)
>              2
>Argument #4 of `ncvgt1' is one type at (2) but is some other type at (1)
>[info -f g77 M GLOBALS]
>ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o
>fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o
>fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o
>fort-varsio.o
>ranlib ../libsrc/libnetcdf.a
>g77 -o ftest   ftest.o ../libsrc/libnetcdf.a 
>./ftest
>*** Testing nccre ...
>*** Testing ncddef ...
>*** Testing ncvdef ...
>*** Testing ncapt, ncaptc ...
>*** Testing ncclos ...
>*** Testing ncvpt1 ...
>*** Testing ncvgt1 ...
>*** Testing ncvpt ...
>*** Testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ...
>*** Testing ncvgt, ncvgtc ...
>*** Testing ncagt, ncagtc ...
>*** Testing ncredf, ncdren, ncvren, ncaren, ncendf ...
>*** Testing ncacpy ...
>*** Testing ncadel ...
>*** Testing fill values ...
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/nf_test
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/nf_test'
>+ g77 -c test_get.F
>+ g77 -c test_put.F
>+ g77 -c nf_error.F
>+ g77 -c nf_test.F
>+ g77 -c test_read.F
>+ g77 -c test_write.F
>+ g77 -c util.F
>gcc -c -O -D_WIN32   -DNDEBUG fortlib.c
>g77 -o nf_test   test_get.o test_put.o nf_error.o nf_test.o test_read.o
>test_write.o util.o fortlib.o ../libsrc/libnetcdf.a   
>./nf_test -c
>./nf_test
>*** Testing nf_strerror ... 
>*** Testing nf_open ... 
>*** Testing nf_close ... 
>*** Testing nf_inq ... 
>*** Testing nf_inq_dimid ... 
>*** Testing nf_inq_dim ... 
>*** Testing nf_inq_dimlen ... 
>*** Testing nf_inq_dimname ... 
>*** Testing nf_inq_varid ... 
>*** Testing nf_inq_var ... 
>*** Testing nf_inq_natts ... 
>*** Testing nf_inq_ndims ... 
>*** Testing nf_inq_nvars ... 
>*** Testing nf_inq_unlimdim ... 
>*** Testing nf_inq_vardimid ... 
>*** Testing nf_inq_varname ... 
>*** Testing nf_inq_varnatts ... 
>*** Testing nf_inq_varndims ... 
>*** Testing nf_inq_vartype ... 
>*** Testing nf_get_var1_text ... 
>*** Testing nf_get_var1_int1 ... 
>*** Testing nf_get_var1_int2 ... 
>*** Testing nf_get_var1_int ... 
>*** Testing nf_get_var1_real ... 
>*** Testing nf_get_var1_double ... 
>*** Testing nf_get_var_text ... 
>*** Testing nf_get_var_int1 ... 
>*** Testing nf_get_var_int2 ... 
>*** Testing nf_get_var_int ... 
>*** Testing nf_get_var_real ... 
>*** Testing nf_get_var_double ... 
>*** Testing nf_get_vara_text ... 
>*** Testing nf_get_vara_int1 ... 
>*** Testing nf_get_vara_int2 ... 
>*** Testing nf_get_vara_int ... 
>*** Testing nf_get_vara_real ... 
>*** Testing nf_get_vara_double ... 
>*** Testing nf_get_vars_text ... 
>*** Testing nf_get_vars_int1 ... 
>*** Testing nf_get_vars_int2 ... 
>*** Testing nf_get_vars_int ... 
>*** Testing nf_get_vars_real ... 
>*** Testing nf_get_vars_double ... 
>*** Testing nf_get_varm_text ... 
>*** Testing nf_get_varm_int1 ... 
>*** Testing nf_get_varm_int2 ... 
>*** Testing nf_get_varm_int ... 
>*** Testing nf_get_varm_real ... 
>*** Testing nf_get_varm_double ... 
>*** Testing nf_get_att_text ... 
>*** Testing nf_get_att_int1 ... 
>*** Testing nf_get_att_int2 ... 
>*** Testing nf_get_att_int ... 
>*** Testing nf_get_att_real ... 
>*** Testing nf_get_att_double ... 
>*** Testing nf_inq_att ... 
>*** Testing nf_inq_attname ... 
>*** Testing nf_inq_attid ... 
>*** Testing nf_inq_attlen ... 
>*** Testing nf_inq_atttype ... 
>*** Testing nf_create ... 
>*** Testing nf_redef ... 
>*** Testing nf_enddef ... 
>*** Testing nf_sync ... 
>*** Testing nf_abort ... 
>*** Testing nf_def_dim ... 
>*** Testing nf_rename_dim ... 
>*** Testing nf_def_var ... 
>*** Testing nf_put_var1_text ... 
>*** Testing nf_put_var1_int1 ... 
>*** Testing nf_put_var1_int2 ... 
>*** Testing nf_put_var1_int ... 
>*** Testing nf_put_var1_real ... 
>*** Testing nf_put_var1_double ... 
>*** Testing nf_put_var_text ... 
>*** Testing nf_put_var_int1 ... 
>*** Testing nf_put_var_int2 ... 
>*** Testing nf_put_var_int ... 
>*** Testing nf_put_var_real ... 
>*** Testing nf_put_var_double ... 
>*** Testing nf_put_vara_text ... 
>*** Testing nf_put_vara_int1 ... 
>*** Testing nf_put_vara_int2 ... 
>*** Testing nf_put_vara_int ... 
>*** Testing nf_put_vara_real ... 
>*** Testing nf_put_vara_double ... 
>*** Testing nf_put_vars_text ... 
>*** Testing nf_put_vars_int1 ... 
>*** Testing nf_put_vars_int2 ... 
>*** Testing nf_put_vars_int ... 
>*** Testing nf_put_vars_real ... 
>*** Testing nf_put_vars_double ... 
>*** Testing nf_put_varm_text ... 
>*** Testing nf_put_varm_int1 ... 
>*** Testing nf_put_varm_int2 ... 
>*** Testing nf_put_varm_int ... 
>*** Testing nf_put_varm_real ... 
>*** Testing nf_put_varm_double ... 
>*** Testing nf_rename_var ... 
>*** Testing nf_put_att_text ... 
>*** Testing nf_put_att_int1 ... 
>*** Testing nf_put_att_int2 ... 
>*** Testing nf_put_att_int ... 
>*** Testing nf_put_att_real ... 
>*** Testing nf_put_att_double ... 
>*** Testing nf_copy_att ... 
>*** Testing nf_rename_att ... 
>*** Testing nf_del_att ... 
>*** Testing nf_set_fill ... 
> Total number of failures:  0
>*** Success ***
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/nf_test'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>Not making `f90/test' because no FORTRAN-90 compiler
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/ncdump
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>gcc -o ncdump -O -D_WIN32  ncdump.o vardata.o dumplib.o
>../libsrc/libnetcdf.a  
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>../ncgen/ncgen -b test0.cdl
>./ncdump -n test1 test0.nc > test1.cdl
>../ncgen/ncgen -b test1.cdl
>./ncdump test1.nc > test2.cdl
>*** ncdump test successful ***
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `test' in directory /usr/local/gmt/netcdf-3.5.0/src/ncgen
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>gcc -o ncgen -O -D_WIN32  main.o load.o ncgentab.o escapes.o getfill.o
>init.o genlib.o ../libsrc/libnetcdf.a  
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>./ncgen -b -o c0.nc c0.cdl
>../ncdump/ncdump -n c1 c0.nc > c1.cdl
>*** ncgen -b test successful ***
>./ncgen -c -o ctest0.nc c0.cdl > ctest.c && \
>gcc -o ctest -O -D_WIN32  -I../libsrc -I.  -DNDEBUG ctest.c
>../libsrc/libnetcdf.a  && \
>./ctest        && \
>../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl
>*** ncgen -c test successful ***
>make[3]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>./ncgen -f -o ftest0.nc c0.cdl > ftest.f
>g77 -c  ftest.f
>g77   -o ftest ftest.o ../libsrc/libnetcdf.a 
>./ftest
>../ncdump/ncdump -n c1 ftest0.nc > ftest1.cdl
>make[3]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>*** ncgen -f test successful ***
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncgen'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>Not making `cxx/test' because no C++ compiler
>
>
>
>install.log
>===========
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `install' in directory /usr/local/gmt/netcdf-3.5.0/src/libsrc
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>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
>cp libnetcdf.a /usr/local/gmt/netcdf-3.5.0/lib/libnetcdf.a
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/libsrc'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `install' in directory /usr/local/gmt/netcdf-3.5.0/src/fortran
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>make[2]: Nothing to be done for `install'.
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/fortran'
>
>Returning to directory /usr/local/gmt/netcdf-3.5.0/src
>
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>Not making `f90/install' because no FORTRAN-90 compiler
>make[1]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src'
>
>Making `install' in directory /usr/local/gmt/netcdf-3.5.0/src/ncdump
>
>make[2]: Entering directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>gcc -o ncdump -O -D_WIN32  ncdump.o vardata.o dumplib.o
>../libsrc/libnetcdf.a  
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>cp ncdump /usr/local/gmt/netcdf-3.5.0/bin/ncdump
>cp: `ncdump' and `/usr/local/gmt/netcdf-3.5.0/bin/ncdump' are the same
>file
>make[2]: *** [/usr/local/gmt/netcdf-3.5.0/bin/ncdump] Error 1
>make[2]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src/ncdump'
>make[1]: *** [subdir_target] Error 1
>make[1]: Leaving directory `/usr/local/gmt/netcdf-3.5.0/src'
>make: *** [ncdump/install] Error 2

Tom Yoksas