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

Fwd: Problem when installing netcdf



Hi again,

It is ok finally. I renamed my file bin and managed to install
properly netcdf.

Thanks anyway for your help.

Best Regards,

Sandy Gregorio

---------- Forwarded message ----------
From: Sandy Gregorio <address@hidden>
Date: Tue, Mar 11, 2008 at 2:12 PM
Subject: Problem when installing netcdf
To: address@hidden


Good morning,

I tried to install netcdf-3.6.2 and I met some troubles.

When I run ./configure, I get

configure: netCDF 3.6.2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: checking user options
checking whether CXX is set to ''... no
checking whether FC is set to ''... no
checking whether F90 is set to ''... no
checking whether documentation is to be installed... no
checking whether Fortran compiler(s) should be tested during configure... yes
checking whether configure should try to set compiler flags... yes
checking whether FFIO will be used... no
checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes
checking whether only the C library is desired... no
checking whether examples should be built... yes
checking whether F77 API is desired... yes
checking whether F90 API is desired... yes
checking whether fortran type sizes should be checked... yes
checking whether C API is desired... yes
checking where to get netCDF C-only library for separate fortran libraries...
checking whether CXX API is desired... yes
checking whether v2 netCDF API should be built... yes
checking whether the ncgen/ncdump should be built... yes
checking whether large file (> 2GB) tests should be run... no
checking whether extreme numbers should be used in tests... yes
checking where to put large temp files if large file tests are run... .
checking whether a win32 DLL is desired... no
checking whether separate fortran libs are desired... no
configure: finding C compiler
checking for xlc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for an ANSI C-conforming const... yes
configure: finding Fortran compiler (will not be used if Fortran API is not desired)
checking for xlf90... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking for f95... no
checking for f90... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking whether we are using the GNU Fortran compiler... no
checking whether  accepts -g... no
configure: WARNING: No F90 compiler found. F90 API will not be built.
checking for xlf... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf77... no
checking for lf95... no
checking for gfortran... no
checking for f77... no
checking for frt... no
checking for pgf95... no
checking for f95... no
checking for f90... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for g77... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
configure: WARNING: No F77 compiler found. F77 API will not be built.
configure: finding C++ compiler (will not be used if C++ API is not desired)
checking for cl... no
checking for KCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for xlC... no
checking for aCC... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... (cached) no
checking whether  accepts -g... (cached) no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking whether we are using the GNU Fortran compiler... (cached) no
checking whether  accepts -g... (cached) no
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: finding other utilities
checking for a BSD-compatible install... /usr/bin/install -c
configure: trying to set flags for this platform
checking if _HPUX_SOURCE should be set... no
checking if Solaris -Xa option is needed... CFLAGS=-g -O2
checking if we need to set _LARGE_FILES despite results of previous tests... _LARGE_FILES=
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
configure: displaying some results
checking CPPFLAGS...
checking CC CFLAGS... cc -g -O2
checking type cc... cc is /usr/bin/cc
checking CXX... c++
checking CXXFLAGS... -g -O2
checking type c++... c++ is /usr/bin/c++
checking FC... unset
checking F90... unset
checking AR... ar
checking ARFLAGS...
checking type ar... ar is /usr/bin/ar
checking NM... /usr/bin/nm -B
checking NMFLAGS...
configure: checking types, headers, and functions
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for strlcat... no
checking for strerror... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for struct stat.st_blksize... yes
checking for IEEE floating point format... 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 for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking for size_t... (cached) yes
checking size of size_t... 4
checking for manual-page index command...
checking binary distribution directory... /home/ftp/pub/binary/dummy_system
configure: generating header files and makefiles
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating fortran/Makefile
config.status: creating libsrc/Makefile
config.status: creating nctest/Makefile
config.status: creating nc_test/Makefile
config.status: creating ncdump/Makefile
config.status: creating ncgen/Makefile
config.status: creating nf_test/Makefile
config.status: creating cxx/Makefile
config.status: creating f90/Makefile
config.status: creating examples/Makefile
config.status: creating examples/C/Makefile
config.status: creating examples/CDL/Makefile
config.status: creating examples/CXX/Makefile
config.status: creating examples/F90/Makefile
config.status: creating examples/F77/Makefile
config.status: creating config.h
config.status: creating fortran/nfconfig1.inc
config.status: executing depfiles commands
config.status: executing libtool commands


Then when I run make, I get
make  all-recursive
make[1]: Entering directory `/home/sandy/netcdf-3.6.2'
Making all in libsrc
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
depbase=`echo attr.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT attr.lo -MD -MP -MF "$depbase.Tpo" -c -o attr.lo attr.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT attr.lo -MD -MP -MF .deps/attr.Tpo -c attr.c -o attr.o
depbase=`echo ncx.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT ncx.lo -MD -MP -MF "$depbase.Tpo" -c -o ncx.lo ncx.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT ncx.lo -MD -MP -MF .deps/ncx.Tpo -c ncx.c -o ncx.o
depbase=`echo putget.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT putget.lo -MD -MP -MF "$depbase.Tpo" -c -o putget.lo putget.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT putget.lo -MD -MP -MF .deps/putget.Tpo -c putget.c -o putget.o
depbase=`echo dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT dim.lo -MD -MP -MF "$depbase.Tpo" -c -o dim.lo dim.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT dim.lo -MD -MP -MF .deps/dim.Tpo -c dim.c -o dim.o
depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT error.lo -MD -MP -MF "$depbase.Tpo" -c -o error.lo error.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o
depbase=`echo libvers.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT libvers.lo -MD -MP -MF "$depbase.Tpo" -c -o libvers.lo libvers.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT libvers.lo -MD -MP -MF .deps/libvers.Tpo -c libvers.c -o libvers.o
depbase=`echo nc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT nc.lo -MD -MP -MF "$depbase.Tpo" -c -o nc.lo nc.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT nc.lo -MD -MP -MF .deps/nc.Tpo -c nc.c -o nc.o
depbase=`echo string.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT string.lo -MD -MP -MF "$depbase.Tpo" -c -o string.lo string.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT string.lo -MD -MP -MF .deps/string.Tpo -c string.c -o string.o
depbase=`echo v1hpg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT v1hpg.lo -MD -MP -MF "$depbase.Tpo" -c -o v1hpg.lo v1hpg.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT v1hpg.lo -MD -MP -MF .deps/v1hpg.Tpo -c v1hpg.c -o v1hpg.o
depbase=`echo var.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT var.lo -MD -MP -MF "$depbase.Tpo" -c -o var.lo var.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT var.lo -MD -MP -MF .deps/var.Tpo -c var.c -o var.o
depbase=`echo posixio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT posixio.lo -MD -MP -MF "$depbase.Tpo" -c -o posixio.lo posixio.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT posixio.lo -MD -MP -MF .deps/posixio.Tpo -c posixio.c -o posixio.o
depbase=`echo v2i.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran      -g -O2 -MT v2i.lo -MD -MP -MF "$depbase.Tpo" -c -o v2i.lo v2i.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -O2 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo -c v2i.c -o v2i.o
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o libnetcdf2.la   v2i.lo
libtool: link: rm -fr  .libs/libnetcdf2.a .libs/libnetcdf2.la
libtool: link: ar cru .libs/libnetcdf2.a  v2i.o
libtool: link: ranlib .libs/libnetcdf2.a
libtool: link: creating libnetcdf2.la
libtool: link: ( cd ".libs" && rm -f "libnetcdf2.la" && ln -s "../libnetcdf2.la" "libnetcdf2.la" )
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o libnetcdf.la -rpath /usr/local/lib  -version-info 4:0:0 -no-undefined  attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo nc.lo string.lo v1hpg.lo var.lo  posixio.lo libnetcdf2.la
libtool: link: rm -fr  .libs/libnetcdf.a .libs/libnetcdf.la .libs/libnetcdf.lai
libtool: link: (cd .libs/libnetcdf.lax/libnetcdf2.a && ar x /home/sandy/netcdf-3.6.2/libsrc/./.libs/libnetcdf2.a)
libtool: link: ar cru .libs/libnetcdf.a  attr.o ncx.o putget.o dim.o error.o libvers.o nc.o string.o v1hpg.o var.o posixio.o  .libs/libnetcdf.lax/libnetcdf2.a/v2i.o
libtool: link: ranlib .libs/libnetcdf.a
libtool: link: rm -fr .libs/libnetcdf.lax
libtool: link: creating libnetcdf.la
libtool: link: ( cd ".libs" && rm -f "libnetcdf.la" && ln -s "../libnetcdf.la" "libnetcdf.la" )
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
Making all in nctest
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
Making all in ncgen
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncgen'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc -I../libsrc   -g -O2 -MT main.o -MD -MP -MF "$depbase.Tpo" -c -o main.o main.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o ncgen  main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o  ../libsrc/.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncgen'
Making all in ncdump
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncdump'
depbase=`echo ncdump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc -I../libsrc   -g -O2 -MT ncdump.o -MD -MP -MF "$depbase.Tpo" -c -o ncdump.o ncdump.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vardata.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc -I../libsrc   -g -O2 -MT vardata.o -MD -MP -MF "$depbase.Tpo" -c -o vardata.o vardata.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo dumplib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc -I../libsrc   -g -O2 -MT dumplib.o -MD -MP -MF "$depbase.Tpo" -c -o dumplib.o dumplib.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o ncdump  ncdump.o vardata.o dumplib.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ncdump ncdump.o vardata.o dumplib.o  -lm ../libsrc/.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncdump'
Making all in cxx
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/cxx'
depbase=`echo netcdf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -DDEBUG   -I../libsrc   -g -O2 -MT netcdf.lo -MD -MP -MF "$depbase.Tpo" -c -o netcdf.lo netcdf.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG -I../libsrc -g -O2 -MT netcdf.lo -MD -MP -MF .deps/netcdf.Tpo -c netcdf.cpp -o netcdf.o
netcdf.cpp: In member function 'NcBool NcVar::set_cur(long int, long int, long int, long int, long int)':
netcdf.cpp:1267: warning: converting negative value '-0x00000000000000001' to 'size_t'
depbase=`echo ncvalues.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -DDEBUG   -I../libsrc   -g -O2 -MT ncvalues.lo -MD -MP -MF "$depbase.Tpo" -c -o ncvalues.lo ncvalues.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG -I../libsrc -g -O2 -MT ncvalues.lo -MD -MP -MF .deps/ncvalues.Tpo -c ncvalues.cpp -o ncvalues.o
ncvalues.cpp: In member function 'virtual char NcValues_ncbyte::as_char(long int) const':
ncvalues.cpp:80: warning: comparison is always false due to limited range of data type
/bin/sh ../libtool --tag=CXX --mode=link c++  -g -O2 -L. -L../libsrc  -o libnetcdf_c++.la -rpath /usr/local/lib -L. -L../libsrc -version-info 4:0:0  netcdf.lo ncvalues.lo
libtool: link: rm -fr  .libs/libnetcdf_c++.a .libs/libnetcdf_c++.la .libs/libnetcdf_c++.lai
libtool: link: ar cru .libs/libnetcdf_c++.a  netcdf.o ncvalues.o
libtool: link: ranlib .libs/libnetcdf_c++.a
libtool: link: creating libnetcdf_c++.la
libtool: link: ( cd ".libs" && rm -f "libnetcdf_c++.la" && ln -s "../libnetcdf_c++.la" "libnetcdf_c++.la" )
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/cxx'
Making all in nc_test
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nc_test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nc_test'
Making all in examples
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/examples'
Making all in C
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/C'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/C'
Making all in CDL
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CDL'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CDL'
Making all in CXX
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples'
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/examples'
make[2]: Entering directory `/home/sandy/netcdf-3.6.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2'

When I run make check, I get

Making check in libsrc
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
make  t_nc
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran     -g -O2 -MT t_nc-t_nc.o -MD -MP -MF ".deps/t_nc-t_nc.Tpo" -c -o t_nc-t_nc.o `test -f 't_nc.c' || echo './'`t_nc.c; \
        then mv -f ".deps/t_nc-t_nc.Tpo" ".deps/t_nc-t_nc.Po"; else rm -f ".deps/t_nc-t_nc.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o t_nc  t_nc-t_nc.o libnetcdf.la
libtool: link: cc -g -O2 -o t_nc t_nc-t_nc.o  ./.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
trying again
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
PASS: t_nc
==================
All 1 tests passed
==================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
Making check in nctest
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
make  nctest
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
depbase=`echo add.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT add.o -MD -MP -MF "$depbase.Tpo" -c -o add.o add.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo atttests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT atttests.o -MD -MP -MF "$depbase.Tpo" -c -o atttests.o atttests.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo cdftests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT cdftests.o -MD -MP -MF "$depbase.Tpo" -c -o cdftests.o cdftests.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo dimtests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT dimtests.o -MD -MP -MF "$depbase.Tpo" -c -o dimtests.o dimtests.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo driver.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT driver.o -MD -MP -MF "$depbase.Tpo" -c -o driver.o driver.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo emalloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT emalloc.o -MD -MP -MF "$depbase.Tpo" -c -o emalloc.o emalloc.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo misctest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT misctest.o -MD -MP -MF "$depbase.Tpo" -c -o misctest.o misctest.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo rec.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT rec.o -MD -MP -MF "$depbase.Tpo" -c -o rec.o rec.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo slabs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT slabs.o -MD -MP -MF "$depbase.Tpo" -c -o slabs.o slabs.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo val.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT val.o -MD -MP -MF "$depbase.Tpo" -c -o val.o val.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vardef.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT vardef.o -MD -MP -MF "$depbase.Tpo" -c -o vardef.o vardef.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo varget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT varget.o -MD -MP -MF "$depbase.Tpo" -c -o varget.o varget.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vargetg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT vargetg.o -MD -MP -MF "$depbase.Tpo" -c -o vargetg.o vargetg.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo varput.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT varput.o -MD -MP -MF "$depbase.Tpo" -c -o varput.o varput.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo varputg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT varputg.o -MD -MP -MF "$depbase.Tpo" -c -o varputg.o varputg.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vartests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT vartests.o -MD -MP -MF "$depbase.Tpo" -c -o vartests.o vartests.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vputget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT vputget.o -MD -MP -MF "$depbase.Tpo" -c -o vputget.o vputget.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo vputgetg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I../libsrc   -g -O2 -MT vputgetg.o -MD -MP -MF "$depbase.Tpo" -c -o vputgetg.o vputgetg.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2 -L../libsrc  -o nctest  add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o nctest add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../libsrc/.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
Testing V2 API with 2 different netCDF formats.


Switching to netCDF classic format.
*** 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 ***


Switching to 64-bit offset format.
*** 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 ***

Total number of failures: 0
nctest SUCCESS!!!
PASS: nctest
PASS: compare_test_files.sh
==================
All 2 tests passed
==================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
Making check in ncgen
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/ncgen'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncgen'
*** Testing ncgen.
*** creating classic file c0.nc from c0.cdl...
*** creating 64-bit offset file c0_64.nc from c0.cdl...
*** Test successful!
PASS: run_tests.sh
==================
All 1 tests passed
==================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncgen'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/ncgen'
Making check in ncdump
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/ncdump'
make  rewrite-scalar ctest ctest64 ncdump
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncdump'
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o rewrite-scalar  rewrite-scalar.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o rewrite-scalar rewrite-scalar.o  -lm ../libsrc/.libs/libnetcdf.a
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o ctest  ctest.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ctest ctest.o  -lm ../libsrc/.libs/libnetcdf.a
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2   -o ctest64  ctest64.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ctest64 ctest64.o  -lm ../libsrc/.libs/libnetcdf.a
make[2]: `ncdump' is up to date.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncdump'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncdump'

*** Testing ncgen and ncdump using some test CDL files.
*** creating tst_small.nc from ref_tst_small.cdl...
*** creating tst_small.cdl from tst_small.nc...
*** creating test0.nc from test0.cdl...
*** creating test1.cdl from test0.nc...
*** creating test1.nc from test1.cdl...
*** creating test2.cdl from test1.nc...
*** All tests of ncgen and ncdump using test0.cdl passed!
PASS: run_tests.sh

*** Testing ncgen and ncdump with 64-bit offset format.
*** creating test0.nc from test0.cdl...
*** creating test1.cdl from test0.nc...
*** creating test1.nc from test1.cdl...
*** creating test2.cdl from test1.nc...
*** All ncgen and ncdump with 64-bit offset format tests passed!
PASS: tst_64bit.sh
PASS: ctest
PASS: ctest64

*** Testing ncgen and ncdump test output for classic format.
*** creating ctest1.cdl from ctest0.nc...
*** creating c0.nc from c0.cdl...
*** creating c1.cdl from c0.nc...
*** comparing ncdump of C program output (ctest1.cdl) with c1.cdl...
*** test output for ncdump -k
*** All ncgen and ncdump test output for classic format passed!
*** Testing ncgen and ncdump test output for 64-bit offset format.
*** creating ctest1.cdl from test0_64.nc...
*** creating c0.nc from c0.cdl...
*** creating c1.cdl from c0.nc...
*** comparing ncdump of C program output (ctest1_64.cdl) with c1.cdl...
*** test output for ncdump -k
*** All ncgen and ncdump test output for 64-bit offset format passed!
PASS: tst_output.sh
*** testing length of classic file
*** testing length of classic file written with NOFILL
*** testing length of rewritten classic file
*** testing length of rewritten classic file written with NOFILL
*** testing length of 64-bit offset file
*** testing length of 64-bit offset file written with NOFILL
*** testing length of rewritten 64-bit offset file
*** testing length of rewritten 64-bit offset file written with NOFILL
*** testing length of one-record-variable classic file
*** testing length of one-record-variable classic file written with NOFILL
*** testing length of one-record-variable 64-bit offset file
*** testing length of one-record-variable 64-bit offset file written with NOFILL
PASS: tst_lengths.sh
==================
All 6 tests passed
==================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncdump'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/ncdump'
Making check in cxx
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/cxx'
make  nctst tst_failure
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/cxx'
depbase=`echo nctst.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -DDEBUG   -I../libsrc   -g -O2 -MT nctst.o -MD -MP -MF "$depbase.Tpo" -c -o nctst.o nctst.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link c++  -g -O2 -L. -L../libsrc  -o nctst  nctst.o ../cxx/libnetcdf_c++.la ../libsrc/libnetcdf.la
libtool: link: c++ -g -O2 -o nctst nctst.o  -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../cxx/.libs/libnetcdf_c++.a ../libsrc/.libs/libnetcdf.a
/bin/sh ../libtool --tag=CXX --mode=link c++  -g -O2 -L. -L../libsrc  -o tst_failure  tst_failure.o ../cxx/libnetcdf_c++.la ../libsrc/libnetcdf.la
libtool: link: c++ -g -O2 -o tst_failure tst_failure.o  -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../cxx/.libs/libnetcdf_c++.a ../libsrc/.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/cxx'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/cxx'
*** Testing C++ API with 2 different netCDF formats.
*** SUCCESS with file nctst_classic.nc
*** SUCCESS with file nctst_64bit_offset.nc

*** Total number of failures: 0
*** nctst SUCCESS!
PASS: nctst
NetCDF: String match to name in use
XFAIL: tst_failure

*** Testing C++ API test program output.
*** dumping classic format file to nctst_classic.cdl and comparing...
*** dumping 64-bit offset format file to nctst_64bit_offset.cdl and comparing...
*** All tests of C++ API test output passed!
PASS: run_nc_tests.sh
=====================================================
All 3 tests behaved as expected (1 expected failures)
=====================================================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/cxx'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/cxx'
Making check in nc_test
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/nc_test'
make  tst_small nc_test
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nc_test'
depbase=`echo tst_small.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT tst_small.o -MD -MP -MF "$depbase.Tpo" -c -o tst_small.o tst_small.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2 -L../libsrc  -o tst_small  tst_small.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_small tst_small.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo nc_test.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT nc_test.o -MD -MP -MF "$depbase.Tpo" -c -o nc_test.o nc_test.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT error.o -MD -MP -MF "$depbase.Tpo" -c -o error.o error.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo test_get.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT test_get.o -MD -MP -MF "$depbase.Tpo" -c -o test_get.o test_get.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo test_put.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT test_put.o -MD -MP -MF "$depbase.Tpo" -c -o test_put.o test_put.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo test_read.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT test_read.o -MD -MP -MF "$depbase.Tpo" -c -o test_read.o test_read.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo test_write.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT test_write.o -MD -MP -MF "$depbase.Tpo" -c -o test_write.o test_write.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I..   -I../libsrc   -g -O2 -MT util.o -MD -MP -MF "$depbase.Tpo" -c -o util.o util.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -g -O2 -L../libsrc  -o nc_test  nc_test.o error.o test_get.o test_put.o test_read.o test_write.o util.o -lm  ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o nc_test nc_test.o error.o test_get.o test_put.o test_read.o test_write.o util.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../libsrc/.libs/libnetcdf.a
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nc_test'
make  check-TESTS
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nc_test'

*** Testing small files.
Switching to 64-bit offset format.
*** testing simple small file with a global attribute...ok.
*** testing simple small file with fixed dimensions...ok.
*** testing simple small file with an unlimited dimension...ok.
*** testing small file with one variable...ok.
*** testing small file with one variable and one att...ok.
*** testing small file with one record variable, which grows...ok.
*** testing small file with one growing record variable, with attributes added...ok.
*** testing small file with two growing record variables, with attributes added...ok.
Switching to netCDF classic format.
*** testing simple small file with a global attribute...ok.
*** testing simple small file with fixed dimensions...ok.
*** testing simple small file with an unlimited dimension...ok.
*** testing small file with one variable...ok.
*** testing small file with one variable and one att...ok.
*** testing small file with one record variable, which grows...ok.
*** testing small file with one growing record variable, with attributes added...ok.
*** testing small file with two growing record variables, with attributes added...ok.
*** Tests successful!
PASS: tst_small
Testing 2 different netCDF formats.


Switching to netCDF classic format.
*** 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_var1 ...  1386 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_vara ...  1386 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_vars ...  1386 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_varm ...  1386 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_get_att ...  34 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.  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_var1 ...  1386 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_vara ...  1386 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_vars ...  1386 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_put_varm ...  1386 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_put_att ...  34 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_default_format ... ok


Switching to 64-bit offset format.
*** 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_var1 ...  1386 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_vara ...  1386 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_vars ...  1386 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_varm ...  1386 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_get_att ...  34 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.  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_var1 ...  1386 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_vara ...  1386 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_vars ...  1386 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_put_varm ...  1386 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_put_att ...  34 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_default_format ... ok

*** Total number of failures: 0
*** nc_test SUCCESS!!!
PASS: nc_test
==================
All 2 tests passed
==================
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nc_test'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/nc_test'
Making check in examples
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/examples'
Making check in C
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/examples/C'
make  simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/C'
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o simple_xy_wr  simple_xy_wr.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o simple_xy_wr simple_xy_wr.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o simple_xy_rd  simple_xy_rd.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o simple_xy_rd simple_xy_rd.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o sfc_pres_temp_wr  sfc_pres_temp_wr.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o sfc_pres_temp_rd  sfc_pres_temp_rd.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o pres_temp_4D_wr  pres_temp_4D_wr.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CC --mode=link cc  -g -O2 -L../../libsrc  -o pres_temp_4D_rd  pres_temp_4D_rd.o -lm  ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o  -L/home/sandy/netcdf-3.6.2/libsrc -lm ../../libsrc/.libs/libnetcdf.a
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/C'
make  check-TESTS
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/C'
*** SUCCESS writing example file simple_xy.nc!
PASS: simple_xy_wr
*** SUCCESS reading example file simple_xy.nc!
PASS: simple_xy_rd
*** SUCCESS writing example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_wr
*** SUCCESS reading example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_rd
*** SUCCESS writing example file pres_temp_4D.nc!
PASS: pres_temp_4D_wr
*** SUCCESS reading example file pres_temp_4D.nc!
PASS: pres_temp_4D_rd
==================
All 6 tests passed
==================
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/C'
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/C'
Making check in CDL
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CDL'
make  check-TESTS
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CDL'

*** Creating example data files from CDL scripts.
*** creating simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All example creations worked!
PASS: create_sample_files.sh

*** Testing that the CDL examples produced same files as C examples.
*** checking simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All CDL example comparisons worked!
PASS: do_comps.sh
==================
All 2 tests passed
==================
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CDL'
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CDL'
Making check in CXX
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make  simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CXX'
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o simple_xy_wr  simple_xy_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_wr simple_xy_wr.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o simple_xy_rd  simple_xy_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_rd simple_xy_rd.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o sfc_pres_temp_wr  sfc_pres_temp_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o sfc_pres_temp_rd  sfc_pres_temp_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o pres_temp_4D_wr  pres_temp_4D_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
/bin/sh ../../libtool --tag=CXX --mode=link c++ -I../../cxx   -I../../libsrc -g -O2   -o pres_temp_4D_rd  pres_temp_4D_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o  ../../cxx/.libs/libnetcdf_c++.a -L/home/sandy/netcdf-3.6.2/cxx -L/home/sandy/netcdf-3.6.2/libsrc ../../libsrc/.libs/libnetcdf.a
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make  check-TESTS
make[3]: Entering directory `/home/sandy/netcdf-3.6.2/examples/CXX'
*** SUCCESS writing example file simple_xy.nc!
PASS: simple_xy_wr
*** SUCCESS reading example file simple_xy.nc!
PASS: simple_xy_rd
*** SUCCESS writing example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_wr
*** SUCCESS reading example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_rd
*** SUCCESS writing example file pres_temp_4D.nc!
PASS: pres_temp_4D_wr
*** SUCCESS reading example file pres_temp_4D.nc!
PASS: pres_temp_4D_rd

*** Testing that CXX examples produced same files as C examples.
*** checking simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All CXX example comparisons worked!
PASS: do_comps.sh
==================
All 7 tests passed
==================
make[3]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/examples/CXX'
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/examples'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/examples'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/examples'
make[1]: Entering directory `/home/sandy/netcdf-3.6.2'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2'

It is when I run make install that it fails. I get

Making install in libsrc
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/libsrc'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libnetcdf.la' '/usr/local/lib/libnetcdf.la'
libtool: install: /usr/bin/install -c .libs/libnetcdf.lai /usr/local/lib/libnetcdf.la
libtool: install: /usr/bin/install -c .libs/libnetcdf.a /usr/local/lib/libnetcdf.a
libtool: install: chmod 644 /usr/local/lib/libnetcdf.a
libtool: install: ranlib /usr/local/lib/libnetcdf.a
libtool: finish: PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
 /usr/bin/install -c -m 644 'netcdf.h' '/usr/local/include/netcdf.h'
test -z "/usr/local/share/man/man3" || mkdir -p -- "/usr/local/share/man/man3"
 /usr/bin/install -c -m 644 './netcdf.3' '/usr/local/share/man/man3/netcdf.3'
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/libsrc'
Making install in nctest
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/nctest'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/nctest'
Making install in ncgen
make[1]: Entering directory `/home/sandy/netcdf-3.6.2/ncgen'
make[2]: Entering directory `/home/sandy/netcdf-3.6.2/ncgen'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
mkdir: `/usr/local/bin' exists but is not a directory
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/sandy/netcdf-3.6.2/ncgen'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/sandy/netcdf-3.6.2/ncgen'
make: *** [install-recursive] Error 1


I went to /usr/local and looked at bin which is a file.

Thanks for your help.

Best Regards,

Sandy Gregorio