Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

installing NCO-4.2.5.tar in my Mac OS

Durga
2013-02-02
2013-10-17
  • Durga
    Durga
    2013-02-02

    Hello,

    I am new user of NCO and I tried installing NCO-4.2.5.tar in my Mac OS computer. As per installing documentation,  I did this 1. `cd' to the directory containing the package's source code and type
         `./configure' to configure the package for your system.

    But as per next step when I type `make' to compile the package. it gave me error
    vortex1:nco durgakafle$ make
    make: *** No targets specified and no makefile found.  Stop.

    How should I proceed in this situation? I am looking forward to your help on this.

    Thank you.

    Durga

    *****
    Durga N Kafle
    Earth Science Department
    University of California-Riverside (UCR)

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-02

    Durga

    Try this, after downloading nco-4.2.5.tar.gz from the project site

    gzip -d nco-4.2.5.tar.gz
    tar -xvf nco-4.2.5.tar
    cd nco-4.2.5

    ./configure -prefix=/Volumes/Home/nco_install

    This generate a file called Makefile, and some detailed diagnostics about your Mac and NCO library dependencies to screen

    You need at least netCDF; if not present, an error message is printed.

    the project site lists the dependencies

    http://nco.sourceforge.net/

    The easiest way to install these libraries on the Mac is with MacPorts

    An alternative is to build netCDF from source

    If you have netCDF installed , then you should have no errors, type

    make

    this builds NCO

    make install

    this copies all the binaries to this (example) location

    /Volumes/Home/nco_install

    type

    /Volumes/Home/nco_install/bin/ncks

    to get the ncks program running

    Pedro

     
  • Durga
    Durga
    2013-02-04

    Hi Pedro,

    Thanks for the response. I tried as you suggested but still I got error message as below,
    vortex1:nco durgakafle$ ./configure -prefix=/Volumes/users/durgakafle/nco_install
    checking build system type… x86_64-apple-darwin12.2.0
    checking host system type… x86_64-apple-darwin12.2.0
    checking target system type… x86_64-apple-darwin12.2.0
    checking for grep that handles long lines and -e… /usr/bin/grep
    checking for egrep… /usr/bin/grep -E
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… autobld/install-sh -c -d
    checking for gawk… no
    checking for mawk… no
    checking for nawk… no
    checking for awk… awk
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for style of include used by make… GNU
    checking dependency style of gcc… gcc3
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking dependency style of g++… gcc3
    checking how to run the C preprocessor… gcc -E
    checking how to run the C++ preprocessor… g++ -E
    checking for gcc option to accept ISO C99… -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C… (cached) -std=gnu99
    checking for flex… flex
    checking lex output file root… lex.yy
    checking lex library… -ll
    checking whether yytext is a pointer… yes
    checking for bison… bison -y
    checking whether ln -s works… yes
    checking how to print strings… printf
    checking for a sed that does not truncate output… /usr/bin/sed
    checking for fgrep… /usr/bin/grep -F
    checking for ld used by gcc -std=gnu99… /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
    checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld… no
    checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm
    checking the name lister (/usr/bin/nm) interface… BSD nm
    checking the maximum length of command line arguments… 196608
    checking whether the shell understands some XSI constructs… yes
    checking whether the shell understands "+="… yes
    checking how to convert x86_64-apple-darwin12.2.0 file names to x86_64-apple-darwin12.2.0 format… func_convert_file_noop
    checking how to convert x86_64-apple-darwin12.2.0 file names to toolchain format… func_convert_file_noop
    checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files… -r
    checking for objdump… no
    checking how to recognize dependent libraries… pass_all
    checking for dlltool… no
    checking how to associate runtime and link libraries… printf %s\n
    checking for ar… ar
    checking for archiver @FILE support… no
    checking for strip… strip
    checking for ranlib… ranlib
    checking command to parse /usr/bin/nm output from gcc -std=gnu99 object… ok
    checking for sysroot… no
    checking for mt… no
    checking if : is a manifest tool… no
    checking for dsymutil… dsymutil
    checking for nmedit… nmedit
    checking for lipo… lipo
    checking for otool… otool
    checking for otool64… no
    checking for -single_module linker flag… yes
    checking for -exported_symbols_list linker flag… yes
    checking for -force_load linker flag… yes
    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 for objdir… .libs
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions… no
    checking for gcc -std=gnu99 option to produce PIC… -fno-common -DPIC
    checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works… yes
    checking if gcc -std=gnu99 static flag -static works… no
    checking if gcc -std=gnu99 supports -c -o file.o… yes
    checking if gcc -std=gnu99 supports -c -o file.o… (cached) yes
    checking whether the gcc -std=gnu99 linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries… yes
    checking dynamic linker characteristics… darwin12.2.0 dyld
    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… yes
    checking whether to build static libraries… yes
    checking how to run the C++ preprocessor… g++ -E
    checking for ld used by g++… /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
    checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld… no
    checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries… yes
    checking for g++ option to produce PIC… -fno-common -DPIC
    checking if g++ PIC flag -fno-common -DPIC works… yes
    checking if g++ static flag -static works… no
    checking if g++ supports -c -o file.o… yes
    checking if g++ supports -c -o file.o… (cached) yes
    checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries… yes
    checking dynamic linker characteristics… darwin12.2.0 dyld
    checking how to hardcode library paths into programs… immediate
    checking whether to enable maintainer-specific portions of Makefiles… no
    checking for working memcmp… yes
    checking whether lstat correctly handles trailing slash… no
    checking whether stat accepts an empty string… no
    checking for working strtod… yes
    checking for canonicalize_file_name… no
    checking for floor… yes
    checking for gethostname… yes
    checking for getpagesize… yes
    checking for getrusage… yes
    checking for memchr… yes
    checking for memmove… yes
    checking for memset… yes
    checking for mkstemp… yes
    checking for pow… yes
    checking for readlink… yes
    checking for realpath… yes
    checking for regcomp… yes
    checking for setlocale… yes
    checking for sqrt… yes
    checking for strchr… yes
    checking for strerror… yes
    checking for strpbrk… yes
    checking for strrchr… yes
    checking for strstr… yes
    checking for strtol… yes
    checking for ANSI C header files… (cached) yes
    checking getopt.h usability… yes
    checking getopt.h presence… yes
    checking for getopt.h… yes
    checking libintl.h usability… no
    checking libintl.h presence… no
    checking for libintl.h… no
    checking limits.h usability… yes
    checking limits.h presence… yes
    checking for limits.h… yes
    checking locale.h usability… yes
    checking locale.h presence… yes
    checking for locale.h… yes
    checking netinet/in.h usability… yes
    checking netinet/in.h presence… yes
    checking for netinet/in.h… yes
    checking for stdlib.h… (cached) yes
    checking for string.h… (cached) yes
    checking for strings.h… (cached) yes
    checking for unistd.h… (cached) yes
    checking cstdlib usability… yes
    checking cstdlib presence… yes
    checking for cstdlib… yes
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking for pid_t… yes
    checking for size_t… yes
    checking whether struct tm is in sys/time.h or time.h… time.h
    checking for uid_t in sys/types.h… yes
    checking for ptrdiff_t… yes
    checking size of int*… 8
    checking whether C++ compiler implements namespaces… yes
    checking whether C++ compiler has working valarray<T>… yes
    checking for special C compiler options needed for large files… no
    checking for _FILE_OFFSET_BITS value needed for large files… no
    checking netcdf.h usability… no
    checking netcdf.h presence… no
    checking for netcdf.h… no
    configure: error: in `/Users/durgakafle/nco':
    configure: error: cannot find netCDF header
    See `config.log' for more details
    vortex1:nco durgakafle$ make
    make: *** No targets specified and no makefile found.  Stop.
    thanks

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-04

    Hi Durga

    This message

    configure: error: cannot find netCDF header

    means that configure did not detect netCDF

    I'll update the web page to have instructions on how to install all the  MacPorts NCO library dependencies;

    An alternative is to build netCDF from source on your Mac

    How to do this is described on the netCDF home page

    http://www.unidata.ucar.edu/software/netcdf/

    then, you have to make NCO configure know of your netCDF installation (by default, configure only searches system paths, that is where the package system puts the libraries)

    You need to define these environment variables

    NETCDF_ROOT=
    NETCDF_INC=
    NETCDF_LIB=
    NETCDF4_ROOT=
    PATH_TO_NCGEN=

    For example, if you installed netCDF in

    /my_netcdf

    then

    NETCDF_ROOT=/my_netcdf

    Pedro

     
  • Durga
    Durga
    2013-02-04

    Hi Pedro,

    Thanks. I will try and let you know how it goes.

    Durga

     
  • Durga
    Durga
    2013-02-04

    Pedro,

    I did as you suggested, I still got error message as below,

    vortex1:~ durgakafle$ NETCDF_ROOT=/users/durgakafle/
    vortex1:~ durgakafle$ NETCDF_INC=/users/durgakafle/
    vortex1:~ durgakafle$ NETCDF_LIB=/users/durgakafle/
    vortex1:~ durgakafle$ NETCDF4_ROOT=/users/durgakafle/
    vortex1:netcdf-4.2.1.1 durgakafle$ ./configure -prefix=/Volumes/users/durgakafle/netcdf-4.2.1.1_install
    configure: netCDF 4.2.1.1
    checking build system type… x86_64-apple-darwin12.2.0
    checking host system type… x86_64-apple-darwin12.2.0
    checking target system type… x86_64-apple-darwin12.2.0
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… ./install-sh -c -d
    checking for gawk… no
    checking for mawk… no
    checking for nawk… no
    checking for awk… awk
    checking whether make sets $(MAKE)… yes
    configure: checking user options
    checking whether a win32 DLL is desired… no
    checking whether a NCIO_MINBLOCKSIZE was specified… 256
    checking if fsync support is enabled… yes
    checking whether extra valgrind tests should be run… no
    checking whether we should try to build netCDF-4… yes
    checking whether reading of HDF4 SD files is to be enabled… no
    checking whether to fetch some sample HDF4 files from Unidata ftp site to test HDF4 reading (requires wget)… no
    checking whether parallel I/O for classic and 64-bit offset files using parallel-netcdf is to be enabled… no
    checking whether extra example tests should be run… no
    checking whether parallel IO tests should be run… no
    checking whether a default chunk size in bytes was specified… 4194304
    checking whether a maximum per-variable cache size for HDF5 was specified… 67108864
    checking whether a number of chunks for the default per-variable cache was specified… 10
    checking whether a default file cache size for HDF5 was specified… 4194304
    checking whether a default file cache maximum number of elements for HDF5 was specified… 1009
    checking whether a default cache preemption for HDF5 was specified… 0.75
    checking whether netCDF-4 logging is enabled… no
    checking whether cdmremote client is to be built… no
    checking whether DAP client is to be built… yes
    checking for style of include used by make… GNU
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking dependency style of gcc… gcc3
    checking for curl_easy_setopt in -lcurl… yes
    checking for library containing curl_easy_setopt… -lcurl
    checking whether dap remote testing should be enabled (default on)… yes
    checking whether netcdf4 group names should be enabled (default on)… yes
    checking whether the time-consuming dap tests should be enabled (default off)… no
    checking whether netCDF extra tests should be run (developers only)… no
    checking whether FFIO will be used… no
    checking whether examples should be built… yes
    checking whether v2 netCDF API should be built… yes
    checking whether the ncgen/ncdump/nccopy should be built… yes
    checking whether test should be built and run… yes
    checking whether large file (> 2GB) tests should be run… no
    checking whether benchmaks should be run (experimental)… no
    checking whether extreme numbers should be used in tests… yes
    checking where to put large temp files if large file tests are run… .
    configure: finding C compiler
    checking for gcc… (cached) gcc
    checking whether we are using the GNU C compiler… (cached) yes
    checking whether gcc accepts -g… (cached) yes
    checking for gcc option to accept ISO C89… (cached) none needed
    checking dependency style of gcc… (cached) gcc3
    checking whether gcc and cc understand -c and -o together… yes
    checking for an ANSI C-conforming const… yes
    checking whether a CURLOPT_KEYPASSWD is defined… yes
    configure: setting up libtool
    checking how to print strings… printf
    checking for a sed that does not truncate output… /usr/bin/sed
    checking for grep that handles long lines and -e… /usr/bin/grep
    checking for egrep… /usr/bin/grep -E
    checking for fgrep… /usr/bin/grep -F
    checking for ld used by gcc… /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
    checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld… no
    checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm
    checking the name lister (/usr/bin/nm) interface… BSD nm
    checking whether ln -s works… yes
    checking the maximum length of command line arguments… 196608
    checking whether the shell understands some XSI constructs… yes
    checking whether the shell understands "+="… yes
    checking how to convert x86_64-apple-darwin12.2.0 file names to x86_64-apple-darwin12.2.0 format… func_convert_file_noop
    checking how to convert x86_64-apple-darwin12.2.0 file names to toolchain format… func_convert_file_noop
    checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files… -r
    checking for objdump… no
    checking how to recognize dependent libraries… pass_all
    checking for dlltool… no
    checking how to associate runtime and link libraries… printf %s\n
    checking for ar… ar
    checking for archiver @FILE support… no
    checking for strip… strip
    checking for ranlib… ranlib
    checking command to parse /usr/bin/nm output from gcc object… ok
    checking for sysroot… no
    checking for mt… no
    checking if : is a manifest tool… no
    checking for dsymutil… dsymutil
    checking for nmedit… nmedit
    checking for lipo… lipo
    checking for otool… otool
    checking for otool64… no
    checking for -single_module linker flag… yes
    checking for -exported_symbols_list linker flag… yes
    checking for -force_load linker flag… yes
    checking how to run the C preprocessor… gcc -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 for objdir… .libs
    checking if gcc supports -fno-rtti -fno-exceptions… no
    checking for gcc option to produce PIC… -fno-common -DPIC
    checking if gcc PIC flag -fno-common -DPIC works… yes
    checking if gcc static flag -static works… no
    checking if gcc supports -c -o file.o… yes
    checking if gcc supports -c -o file.o… (cached) yes
    checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries… yes
    checking dynamic linker characteristics… darwin12.2.0 dyld
    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… yes
    checking whether to build static libraries… yes
    configure: finding other utilities
    checking for doxygen… no
    configure: WARNING: Doxygen not found - documentation will not be built
    checking for special C compiler options needed for large files… no
    checking for _FILE_OFFSET_BITS value needed for large files… no
    configure: displaying some results
    checking CPPFLAGS…
    checking CC CFLAGS… gcc -g -O2
    checking type gcc… gcc is hashed (/usr/bin/gcc)
    checking CXX… unset
    checking FC… unset
    checking F90… unset
    checking AR… ar
    checking AR_FLAGS… cru
    checking type ar… ar is hashed (/usr/bin/ar)
    checking NM… /usr/bin/nm
    checking NMFLAGS…
    configure: checking types, headers, and functions
    checking for stdlib.h… (cached) yes
    checking for sys/types.h… (cached) yes
    checking sys/param.h usability… yes
    checking sys/param.h presence… yes
    checking for sys/param.h… yes
    checking for dirent.h that defines DIR… yes
    checking for library containing opendir… none required
    checking for ANSI C header files… (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible… yes
    checking whether time.h and sys/time.h may both be included… yes
    checking locale.h usability… yes
    checking locale.h presence… yes
    checking for locale.h… yes
    checking stdio.h usability… yes
    checking stdio.h presence… yes
    checking for stdio.h… yes
    checking stdarg.h usability… yes
    checking stdarg.h presence… yes
    checking for stdarg.h… yes
    checking errno.h usability… yes
    checking errno.h presence… yes
    checking for errno.h… yes
    checking ctype.h usability… yes
    checking ctype.h presence… yes
    checking for ctype.h… yes
    checking fcntl.h usability… yes
    checking fcntl.h presence… yes
    checking for fcntl.h… yes
    checking malloc.h usability… no
    checking malloc.h presence… no
    checking for malloc.h… no
    checking for stdlib.h… (cached) yes
    checking for string.h… (cached) yes
    checking for strings.h… (cached) yes
    checking for unistd.h… (cached) yes
    checking for sys/stat.h… (cached) yes
    checking getopt.h usability… yes
    checking getopt.h presence… yes
    checking for getopt.h… yes
    checking sys/time.h usability… yes
    checking sys/time.h presence… yes
    checking for sys/time.h… yes
    checking for vprintf… yes
    checking for _doprnt… no
    checking sys/resource.h usability… yes
    checking sys/resource.h presence… yes
    checking for sys/resource.h… yes
    checking for stdbool.h that conforms to C99… yes
    checking for _Bool… yes
    checking for strlcat… yes
    checking for strerror… yes
    checking for snprintf… yes
    checking for strchr… yes
    checking for strrchr… yes
    checking for strcat… yes
    checking for strcpy… yes
    checking for strdup… yes
    checking for strcasecmp… yes
    checking for strtod… yes
    checking for strtoll… yes
    checking for strtoull… yes
    checking for strstr… yes
    checking for mkstemp… yes
    checking for rand… yes
    checking for getrlimit… yes
    checking for gettimeofday… yes
    checking for fsync… yes
    checking for MPI_Comm_f2c… no
    checking whether in-memory files are enabled… yes
    checking for memmove… yes
    checking for getpagesize… yes
    checking for sysconf… yes
    checking whether mmap is enabled for in-memory files… no
    checking for stdlib.h… (cached) yes
    checking for unistd.h… (cached) yes
    checking for sys/param.h… (cached) yes
    checking for getpagesize… (cached) yes
    checking for working mmap… yes
    checking for mremap… no
    mmap function or mremap function is not available: disabling mmap
    checking for size_t… yes
    checking for working alloca.h… yes
    checking for alloca… yes
    checking whether isnan is declared… yes
    checking whether isinf is declared… yes
    checking whether isfinite is declared… yes
    checking whether signbit is declared… yes
    checking for struct stat.st_blksize… yes
    checking for IEEE floating point format… yes
    checking for size_t… (cached) yes
    checking for off_t… yes
    checking for ssize_t… yes
    checking for ptrdiff_t… yes
    checking for uchar… no
    checking for longlong… 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… 8
    checking size of long long… 8
    checking size of float… 4
    checking size of double… 8
    checking size of off_t… 8
    checking size of size_t… 8
    checking for library containing deflate… -lz
    checking for floor in -lm… yes
    checking for library containing SZ_Compress… no
    checking for library containing H5Fflush… no
    configure: error: Can't find or link to the hdf5 library. Use -disable-netcdf-4, or see config.log for errors.

    I downloaded netcdf-4.2.1.1 in my machine (Mac Mountainlion). Thanks.

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-04

    Hi Durga

    That error means netCDF cannot find HDF5, that it depends on;

    I usually do to build netCDF

    CFLAGS=-I/home/pvicente/libs/install/hdf5-1.8.5-patch1/include LDFLAGS=-L/home/pvicente/libs/install/hdf5-1.8.5-patch1/lib ./configure -prefix=/home/pvicente/libs/install/netcdf-4.2 -disable-dap -disable-examples -disable-doxygen

    This means you also need to build HDF5, or tell the above command where HDF5 is located on your Mac

    Probably an easier solution is to use the MacPorts build of netCDF and HDF5, that also has other NCO dependencies

    http://www.macports.org/

    If you decide to go to the build from source of HDF5 and netCDF, the best way to get help is from their mailing lists/support

    http://www.hdfgroup.org/

    http://www.unidata.ucar.edu/support/index.html#mailinglists

    After you have netCDF, this should be, from your netCDF install path

    NETCDF_ROOT= /Volumes/users/durgakafle/netcdf-4.2.1.1_install
    NETCDF_INC= /Volumes/users/durgakafle/netcdf-4.2.1.1_install/include (note the /include at end)
    NETCDF_LIB= /Volumes/users/durgakafle/netcdf-4.2.1.1_install/lib (/lib at end)
    NETCDF4_ROOT=/Volumes/users/durgakafle/netcdf-4.2.1.1_install
    PATH_TO_NCGEN=/Volumes/users/durgakafle/netcdf-4.2.1.1_install/bin/ncgen  (/bin/ncgen at end)

    Pedro

     
  • Durga
    Durga
    2013-02-05

    Hi Pedro,

    I also downloaded HD5 -1.8.10-patch1 and did CFLAGS=-I/home/pvicente/libs/install/hdf5-1.8.5-patch1/include LDFLAGS=-L/home/pvicente/libs/install/hdf5-1.8.5-patch1/lib  as you suggested and tried ./configure -prefix=/home/pvicente/libs/install/netcdf-4.2 -disable-dap -disable-examples -disable-doxygen still the same error as before.
    Thanks

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-06

    Hi Durga

    You don't need to build all the NCO dependencies from source.
    Please go to

    http://www.macports.org

    And download the package for the installation of MacPorts; after installing MacPorts, simply do

    $sudo port install netcdf

    This will install netCDF and its dependencies (HDF5) on your Mac

    Then, just build NCO with

    ./configure

    NCO configure will detect netCDF on the system path

    then

    $make

    to build NCO from source

    then

    $sudo make install

    To install NCO to

    /usr/local

    the default location
    Pedro

     
  • Durga
    Durga
    2013-02-06

    Pedro,

    still it says can't find netcdf headers. However, I do have ncdump and ncgen commands working now. It seems like I am close but something still not working properly. Thanks.

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-07

    I confirmed that the current NCO 4.2.5 configure does not detect the MacPorts netCDF location (in my Mac, I happened to have another netCDF installation on my $PATH)

    This will be updated in the next release

    A fix for now is to use the environment variables method so that NCO configure knows where MacPorts puts netCDF

    please do

    export NETCDF_INC=/opt/local/include
    export NETCDF_LIB=/opt/local/lib
    export PATH_TO_NCGEN=/opt/local/bin/ncgen

    on your home .profile file

    then

    $source .profile

    to update your system for these variables

    then, in NCO

    ./configure 

    make

     
  • Durga
    Durga
    2013-02-07

    Hi Pedro,

    Thanks a lot. it looks working for configuration but still I saw some error message when I did run make, please see below for message.

    *******************************************************************
    Configuration complete. You are now ready to run 'make'.
    Ensure 'make' points to GNU Make (AT&T Make chokes on GNU syntax).
    If the build fails, please examine the file 'configure.eg'
    in the top-level NCO directory.  It contains examples known to
    build NCO for various platforms and compilers.
    *******************************************************************
    vortex1:nco durgakafle$ make
    make  all-recursive
    Making all in data
    /opt/local/bin/ncgen -o big.nc big.cdl
    /opt/local/bin/ncgen -o in_rec_zero.nc in_rec_zero.cdl
    Making all in src
    Making all in nco
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include    -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_att_utl.lo -MD -MP -MF .deps/nco_att_utl.Tpo -c -o nco_att_utl.lo nco_att_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_att_utl.lo -MD -MP -MF .deps/nco_att_utl.Tpo -c nco_att_utl.c -o nco_att_utl.o
    mv -f .deps/nco_att_utl.Tpo .deps/nco_att_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include    -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_aux.lo -MD -MP -MF .deps/nco_aux.Tpo -c -o nco_aux.lo nco_aux.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_aux.lo -MD -MP -MF .deps/nco_aux.Tpo -c nco_aux.c -o nco_aux.o
    In file included from nco_lmt.h:39,
                     from nco_aux.h:25,
                     from nco_aux.c:18:
    nco_cln_utl.h:29:51: error: udunits.h: No such file or directory
    make: ***  Error 1
    make: ***  Error 1
    make: ***  Error 1
    make: ***  Error 2
    Thanks again
    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-07

    You need to install the udunits MacPorts package

    $sudo port install udunits2

    as well as other NCO dependencies

    $sudo port install antlr
    $sudo port install gsl

    Pedro

     
  • Durga
    Durga
    2013-02-07

    It looks working. But I got some error when I did run make install,
    *******************************************************************
    Configuration complete. You are now ready to run 'make'.
    Ensure 'make' points to GNU Make (AT&T Make chokes on GNU syntax).
    If the build fails, please examine the file 'configure.eg'
    in the top-level NCO directory.  It contains examples known to
    build NCO for various platforms and compilers.
    *******************************************************************
    vortex1:nco durgakafle$ make
    make  all-recursive
    Making all in data
    make: Nothing to be done for `all'.
    Making all in src
    Making all in nco
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_att_utl.lo -MD -MP -MF .deps/nco_att_utl.Tpo -c -o nco_att_utl.lo nco_att_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_att_utl.lo -MD -MP -MF .deps/nco_att_utl.Tpo -c nco_att_utl.c -o nco_att_utl.o
    mv -f .deps/nco_att_utl.Tpo .deps/nco_att_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_aux.lo -MD -MP -MF .deps/nco_aux.Tpo -c -o nco_aux.lo nco_aux.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_aux.lo -MD -MP -MF .deps/nco_aux.Tpo -c nco_aux.c -o nco_aux.o
    mv -f .deps/nco_aux.Tpo .deps/nco_aux.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_bnr.lo -MD -MP -MF .deps/nco_bnr.Tpo -c -o nco_bnr.lo nco_bnr.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_bnr.lo -MD -MP -MF .deps/nco_bnr.Tpo -c nco_bnr.c -o nco_bnr.o
    mv -f .deps/nco_bnr.Tpo .deps/nco_bnr.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cln_utl.lo -MD -MP -MF .deps/nco_cln_utl.Tpo -c -o nco_cln_utl.lo nco_cln_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cln_utl.lo -MD -MP -MF .deps/nco_cln_utl.Tpo -c nco_cln_utl.c -o nco_cln_utl.o
    mv -f .deps/nco_cln_utl.Tpo .deps/nco_cln_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cnf_dmn.lo -MD -MP -MF .deps/nco_cnf_dmn.Tpo -c -o nco_cnf_dmn.lo nco_cnf_dmn.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cnf_dmn.lo -MD -MP -MF .deps/nco_cnf_dmn.Tpo -c nco_cnf_dmn.c -o nco_cnf_dmn.o
    mv -f .deps/nco_cnf_dmn.Tpo .deps/nco_cnf_dmn.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cnf_typ.lo -MD -MP -MF .deps/nco_cnf_typ.Tpo -c -o nco_cnf_typ.lo nco_cnf_typ.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cnf_typ.lo -MD -MP -MF .deps/nco_cnf_typ.Tpo -c nco_cnf_typ.c -o nco_cnf_typ.o
    mv -f .deps/nco_cnf_typ.Tpo .deps/nco_cnf_typ.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cnk.lo -MD -MP -MF .deps/nco_cnk.Tpo -c -o nco_cnk.lo nco_cnk.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cnk.lo -MD -MP -MF .deps/nco_cnk.Tpo -c nco_cnk.c -o nco_cnk.o
    mv -f .deps/nco_cnk.Tpo .deps/nco_cnk.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cnv_arm.lo -MD -MP -MF .deps/nco_cnv_arm.Tpo -c -o nco_cnv_arm.lo nco_cnv_arm.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cnv_arm.lo -MD -MP -MF .deps/nco_cnv_arm.Tpo -c nco_cnv_arm.c -o nco_cnv_arm.o
    mv -f .deps/nco_cnv_arm.Tpo .deps/nco_cnv_arm.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_cnv_csm.lo -MD -MP -MF .deps/nco_cnv_csm.Tpo -c -o nco_cnv_csm.lo nco_cnv_csm.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_cnv_csm.lo -MD -MP -MF .deps/nco_cnv_csm.Tpo -c nco_cnv_csm.c -o nco_cnv_csm.o
    mv -f .deps/nco_cnv_csm.Tpo .deps/nco_cnv_csm.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_ctl.lo -MD -MP -MF .deps/nco_ctl.Tpo -c -o nco_ctl.lo nco_ctl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_ctl.lo -MD -MP -MF .deps/nco_ctl.Tpo -c nco_ctl.c -o nco_ctl.o
    mv -f .deps/nco_ctl.Tpo .deps/nco_ctl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_dbg.lo -MD -MP -MF .deps/nco_dbg.Tpo -c -o nco_dbg.lo nco_dbg.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_dbg.lo -MD -MP -MF .deps/nco_dbg.Tpo -c nco_dbg.c -o nco_dbg.o
    mv -f .deps/nco_dbg.Tpo .deps/nco_dbg.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_dmn_utl.lo -MD -MP -MF .deps/nco_dmn_utl.Tpo -c -o nco_dmn_utl.lo nco_dmn_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_dmn_utl.lo -MD -MP -MF .deps/nco_dmn_utl.Tpo -c nco_dmn_utl.c -o nco_dmn_utl.o
    mv -f .deps/nco_dmn_utl.Tpo .deps/nco_dmn_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_fl_utl.lo -MD -MP -MF .deps/nco_fl_utl.Tpo -c -o nco_fl_utl.lo nco_fl_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_fl_utl.lo -MD -MP -MF .deps/nco_fl_utl.Tpo -c nco_fl_utl.c -o nco_fl_utl.o
    mv -f .deps/nco_fl_utl.Tpo .deps/nco_fl_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_grp_utl.lo -MD -MP -MF .deps/nco_grp_utl.Tpo -c -o nco_grp_utl.lo nco_grp_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_grp_utl.lo -MD -MP -MF .deps/nco_grp_utl.Tpo -c nco_grp_utl.c -o nco_grp_utl.o
    mv -f .deps/nco_grp_utl.Tpo .deps/nco_grp_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_grp_trv.lo -MD -MP -MF .deps/nco_grp_trv.Tpo -c -o nco_grp_trv.lo nco_grp_trv.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_grp_trv.lo -MD -MP -MF .deps/nco_grp_trv.Tpo -c nco_grp_trv.c -o nco_grp_trv.o
    mv -f .deps/nco_grp_trv.Tpo .deps/nco_grp_trv.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_lmt.lo -MD -MP -MF .deps/nco_lmt.Tpo -c -o nco_lmt.lo nco_lmt.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_lmt.lo -MD -MP -MF .deps/nco_lmt.Tpo -c nco_lmt.c -o nco_lmt.o
    mv -f .deps/nco_lmt.Tpo .deps/nco_lmt.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_lst_utl.lo -MD -MP -MF .deps/nco_lst_utl.Tpo -c -o nco_lst_utl.lo nco_lst_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_lst_utl.lo -MD -MP -MF .deps/nco_lst_utl.Tpo -c nco_lst_utl.c -o nco_lst_utl.o
    nco_lst_utl.c:37:23: warning: unknown escape sequence '\.'
    nco_lst_utl.c: In function 'nco_fmt_sng_printf_subst':
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 9 has type 'regoff_t'
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 10 has type 'regoff_t'
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 11 has type 'regoff_t'
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 9 has type 'regoff_t'
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 10 has type 'regoff_t'
    nco_lst_utl.c:102: warning: format '%d' expects type 'int', but argument 11 has type 'regoff_t'
    mv -f .deps/nco_lst_utl.Tpo .deps/nco_lst_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_md5.lo -MD -MP -MF .deps/nco_md5.Tpo -c -o nco_md5.lo nco_md5.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_md5.lo -MD -MP -MF .deps/nco_md5.Tpo -c nco_md5.c -o nco_md5.o
    mv -f .deps/nco_md5.Tpo .deps/nco_md5.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_mmr.lo -MD -MP -MF .deps/nco_mmr.Tpo -c -o nco_mmr.lo nco_mmr.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_mmr.lo -MD -MP -MF .deps/nco_mmr.Tpo -c nco_mmr.c -o nco_mmr.o
    nco_mmr.c: In function 'nco_mmr_rusage_prn':
    nco_mmr.c:371: warning: format '%li' expects type 'long int', but argument 5 has type '__darwin_suseconds_t'
    nco_mmr.c:371: warning: format '%li' expects type 'long int', but argument 7 has type '__darwin_suseconds_t'
    nco_mmr.c:371: warning: format '%li' expects type 'long int', but argument 5 has type '__darwin_suseconds_t'
    nco_mmr.c:371: warning: format '%li' expects type 'long int', but argument 7 has type '__darwin_suseconds_t'
    mv -f .deps/nco_mmr.Tpo .deps/nco_mmr.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_msa.lo -MD -MP -MF .deps/nco_msa.Tpo -c -o nco_msa.lo nco_msa.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_msa.lo -MD -MP -MF .deps/nco_msa.Tpo -c nco_msa.c -o nco_msa.o
    mv -f .deps/nco_msa.Tpo .deps/nco_msa.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_mss_val.lo -MD -MP -MF .deps/nco_mss_val.Tpo -c -o nco_mss_val.lo nco_mss_val.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_mss_val.lo -MD -MP -MF .deps/nco_mss_val.Tpo -c nco_mss_val.c -o nco_mss_val.o
    mv -f .deps/nco_mss_val.Tpo .deps/nco_mss_val.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_netcdf.lo -MD -MP -MF .deps/nco_netcdf.Tpo -c -o nco_netcdf.lo nco_netcdf.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_netcdf.lo -MD -MP -MF .deps/nco_netcdf.Tpo -c nco_netcdf.c -o nco_netcdf.o
    mv -f .deps/nco_netcdf.Tpo .deps/nco_netcdf.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_omp.lo -MD -MP -MF .deps/nco_omp.Tpo -c -o nco_omp.lo nco_omp.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_omp.lo -MD -MP -MF .deps/nco_omp.Tpo -c nco_omp.c -o nco_omp.o
    mv -f .deps/nco_omp.Tpo .deps/nco_omp.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_pck.lo -MD -MP -MF .deps/nco_pck.Tpo -c -o nco_pck.lo nco_pck.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_pck.lo -MD -MP -MF .deps/nco_pck.Tpo -c nco_pck.c -o nco_pck.o
    mv -f .deps/nco_pck.Tpo .deps/nco_pck.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_prn.lo -MD -MP -MF .deps/nco_prn.Tpo -c -o nco_prn.lo nco_prn.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_prn.lo -MD -MP -MF .deps/nco_prn.Tpo -c nco_prn.c -o nco_prn.o
    mv -f .deps/nco_prn.Tpo .deps/nco_prn.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_rec_var.lo -MD -MP -MF .deps/nco_rec_var.Tpo -c -o nco_rec_var.lo nco_rec_var.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_rec_var.lo -MD -MP -MF .deps/nco_rec_var.Tpo -c nco_rec_var.c -o nco_rec_var.o
    mv -f .deps/nco_rec_var.Tpo .deps/nco_rec_var.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_rth_flt.lo -MD -MP -MF .deps/nco_rth_flt.Tpo -c -o nco_rth_flt.lo nco_rth_flt.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_rth_flt.lo -MD -MP -MF .deps/nco_rth_flt.Tpo -c nco_rth_flt.c -o nco_rth_flt.o
    mv -f .deps/nco_rth_flt.Tpo .deps/nco_rth_flt.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_rth_utl.lo -MD -MP -MF .deps/nco_rth_utl.Tpo -c -o nco_rth_utl.lo nco_rth_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_rth_utl.lo -MD -MP -MF .deps/nco_rth_utl.Tpo -c nco_rth_utl.c -o nco_rth_utl.o
    mv -f .deps/nco_rth_utl.Tpo .deps/nco_rth_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_scl_utl.lo -MD -MP -MF .deps/nco_scl_utl.Tpo -c -o nco_scl_utl.lo nco_scl_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_scl_utl.lo -MD -MP -MF .deps/nco_scl_utl.Tpo -c nco_scl_utl.c -o nco_scl_utl.o
    mv -f .deps/nco_scl_utl.Tpo .deps/nco_scl_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_scm.lo -MD -MP -MF .deps/nco_scm.Tpo -c -o nco_scm.lo nco_scm.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_scm.lo -MD -MP -MF .deps/nco_scm.Tpo -c nco_scm.c -o nco_scm.o
    mv -f .deps/nco_scm.Tpo .deps/nco_scm.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_sng_utl.lo -MD -MP -MF .deps/nco_sng_utl.Tpo -c -o nco_sng_utl.lo nco_sng_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_sng_utl.lo -MD -MP -MF .deps/nco_sng_utl.Tpo -c nco_sng_utl.c -o nco_sng_utl.o
    mv -f .deps/nco_sng_utl.Tpo .deps/nco_sng_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_var_avg.lo -MD -MP -MF .deps/nco_var_avg.Tpo -c -o nco_var_avg.lo nco_var_avg.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_var_avg.lo -MD -MP -MF .deps/nco_var_avg.Tpo -c nco_var_avg.c -o nco_var_avg.o
    mv -f .deps/nco_var_avg.Tpo .deps/nco_var_avg.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_var_lst.lo -MD -MP -MF .deps/nco_var_lst.Tpo -c -o nco_var_lst.lo nco_var_lst.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_var_lst.lo -MD -MP -MF .deps/nco_var_lst.Tpo -c nco_var_lst.c -o nco_var_lst.o
    mv -f .deps/nco_var_lst.Tpo .deps/nco_var_lst.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_var_rth.lo -MD -MP -MF .deps/nco_var_rth.Tpo -c -o nco_var_rth.lo nco_var_rth.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_var_rth.lo -MD -MP -MF .deps/nco_var_rth.Tpo -c nco_var_rth.c -o nco_var_rth.o
    mv -f .deps/nco_var_rth.Tpo .deps/nco_var_rth.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_var_scv.lo -MD -MP -MF .deps/nco_var_scv.Tpo -c -o nco_var_scv.lo nco_var_scv.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_var_scv.lo -MD -MP -MF .deps/nco_var_scv.Tpo -c nco_var_scv.c -o nco_var_scv.o
    mv -f .deps/nco_var_scv.Tpo .deps/nco_var_scv.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_var_utl.lo -MD -MP -MF .deps/nco_var_utl.Tpo -c -o nco_var_utl.lo nco_var_utl.c
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -MT nco_var_utl.lo -MD -MP -MF .deps/nco_var_utl.Tpo -c nco_var_utl.c -o nco_var_utl.o
    mv -f .deps/nco_var_utl.Tpo .deps/nco_var_utl.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -release 4.2.5 -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o libnco.la -rpath /usr/local/lib   nco_att_utl.lo nco_aux.lo nco_bnr.lo nco_cln_utl.lo nco_cnf_dmn.lo nco_cnf_typ.lo nco_cnk.lo nco_cnv_arm.lo nco_cnv_csm.lo nco_ctl.lo nco_dbg.lo nco_dmn_utl.lo nco_fl_utl.lo nco_grp_utl.lo nco_grp_trv.lo nco_lmt.lo nco_lst_utl.lo nco_md5.lo nco_mmr.lo nco_msa.lo nco_mss_val.lo nco_netcdf.lo nco_omp.lo nco_pck.lo nco_prn.lo nco_rec_var.lo nco_rth_flt.lo nco_rth_utl.lo nco_scl_utl.lo nco_scm.lo nco_sng_utl.lo nco_var_avg.lo nco_var_lst.lo nco_var_rth.lo nco_var_scv.lo nco_var_utl.lo  -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: ar cru .libs/libnco.a  nco_att_utl.o nco_aux.o nco_bnr.o nco_cln_utl.o nco_cnf_dmn.o nco_cnf_typ.o nco_cnk.o nco_cnv_arm.o nco_cnv_csm.o nco_ctl.o nco_dbg.o nco_dmn_utl.o nco_fl_utl.o nco_grp_utl.o nco_grp_trv.o nco_lmt.o nco_lst_utl.o nco_md5.o nco_mmr.o nco_msa.o nco_mss_val.o nco_netcdf.o nco_omp.o nco_pck.o nco_prn.o nco_rec_var.o nco_rth_flt.o nco_rth_utl.o nco_scl_utl.o nco_scm.o nco_sng_utl.o nco_var_avg.o nco_var_lst.o nco_var_rth.o nco_var_scv.o nco_var_utl.o
    libtool: link: ranlib .libs/libnco.a
    libtool: link: ( cd ".libs" && rm -f "libnco.la" && ln -s "../libnco.la" "libnco.la" )
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncap_utl.o -MD -MP -MF .deps/ncap_utl.Tpo -c -o ncap_utl.o ncap_utl.c
    mv -f .deps/ncap_utl.Tpo .deps/ncap_utl.Po
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncap.o -MD -MP -MF .deps/ncap.Tpo -c -o ncap.o ncap.c
    mv -f .deps/ncap.Tpo .deps/ncap.Po
    test -f ncap_yacc.c || /bin/sh ../../autobld/ylwrap ncap_yacc.y y.tab.c ncap_yacc.c y.tab.h ncap_yacc.h y.output ncap_yacc.output - bison -y -d -name-prefix=nco_yy
    updating ncap_yacc.h
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncap_yacc.o -MD -MP -MF .deps/ncap_yacc.Tpo -c -o ncap_yacc.o ncap_yacc.c
    mv -f .deps/ncap_yacc.Tpo .deps/ncap_yacc.Po
    test -f ncap_lex.c || /bin/sh ../../autobld/ylwrap ncap_lex.l lex.nco_yy.c ncap_lex.c - flex  -Pnco_yy
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncap_lex.o -MD -MP -MF .deps/ncap_lex.Tpo -c -o ncap_lex.o ncap_lex.c
    mv -f .deps/ncap_lex.Tpo .deps/ncap_lex.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncap ncap_utl.o ncap.o ncap_yacc.o ncap_lex.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncap ncap_utl.o ncap.o ncap_yacc.o ncap_lex.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncatted.o -MD -MP -MF .deps/ncatted.Tpo -c -o ncatted.o ncatted.c
    mv -f .deps/ncatted.Tpo .deps/ncatted.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncatted ncatted.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncatted ncatted.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncbo.o -MD -MP -MF .deps/ncbo.Tpo -c -o ncbo.o ncbo.c
    mv -f .deps/ncbo.Tpo .deps/ncbo.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncbo ncbo.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncbo ncbo.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncecat.o -MD -MP -MF .deps/ncecat.Tpo -c -o ncecat.o ncecat.c
    mv -f .deps/ncecat.Tpo .deps/ncecat.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncecat ncecat.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncecat ncecat.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncflint.o -MD -MP -MF .deps/ncflint.Tpo -c -o ncflint.o ncflint.c
    mv -f .deps/ncflint.Tpo .deps/ncflint.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncflint ncflint.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncflint ncflint.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncks.o -MD -MP -MF .deps/ncks.Tpo -c -o ncks.o ncks.c
    mv -f .deps/ncks.Tpo .deps/ncks.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncks ncks.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncks ncks.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncpdq.o -MD -MP -MF .deps/ncpdq.Tpo -c -o ncpdq.o ncpdq.c
    mv -f .deps/ncpdq.Tpo .deps/ncpdq.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncpdq ncpdq.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncpdq ncpdq.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncra.o -MD -MP -MF .deps/ncra.Tpo -c -o ncra.o ncra.c
    mv -f .deps/ncra.Tpo .deps/ncra.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncra ncra.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncra ncra.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncrename.o -MD -MP -MF .deps/ncrename.Tpo -c -o ncrename.o ncrename.c
    mv -f .deps/ncrename.Tpo .deps/ncrename.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncrename ncrename.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncrename ncrename.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT ncwa.o -MD -MP -MF .deps/ncwa.Tpo -c -o ncwa.o ncwa.c
    mv -f .deps/ncwa.Tpo .deps/ncwa.Po
    /bin/sh ../../libtool -tag=CXX -tag=CC   -mode=link gcc -std=gnu99  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE   -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncwa ncwa.o ncap_utl.o ncap_lex.o ncap_yacc.o libnco.la -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: gcc -std=gnu99 -fno-common -g -O2 -std=c99 -D_BSD_SOURCE -o ncwa ncwa.o ncap_utl.o ncap_lex.o ncap_yacc.o  -L/opt/local/lib ./.libs/libnco.a -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    Making all in nco_c++
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_att.lo -MD -MP -MF .deps/libnco_c___la-nco_att.Tpo -c -o libnco_c___la-nco_att.lo `test -f 'nco_att.cc' || echo './'`nco_att.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_att.lo -MD -MP -MF .deps/libnco_c___la-nco_att.Tpo -c nco_att.cc -o libnco_c___la-nco_att.o
    mv -f .deps/libnco_c___la-nco_att.Tpo .deps/libnco_c___la-nco_att.Plo
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_dmn.lo -MD -MP -MF .deps/libnco_c___la-nco_dmn.Tpo -c -o libnco_c___la-nco_dmn.lo `test -f 'nco_dmn.cc' || echo './'`nco_dmn.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_dmn.lo -MD -MP -MF .deps/libnco_c___la-nco_dmn.Tpo -c nco_dmn.cc -o libnco_c___la-nco_dmn.o
    mv -f .deps/libnco_c___la-nco_dmn.Tpo .deps/libnco_c___la-nco_dmn.Plo
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_fl.lo -MD -MP -MF .deps/libnco_c___la-nco_fl.Tpo -c -o libnco_c___la-nco_fl.lo `test -f 'nco_fl.cc' || echo './'`nco_fl.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_fl.lo -MD -MP -MF .deps/libnco_c___la-nco_fl.Tpo -c nco_fl.cc -o libnco_c___la-nco_fl.o
    mv -f .deps/libnco_c___la-nco_fl.Tpo .deps/libnco_c___la-nco_fl.Plo
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_hgh.lo -MD -MP -MF .deps/libnco_c___la-nco_hgh.Tpo -c -o libnco_c___la-nco_hgh.lo `test -f 'nco_hgh.cc' || echo './'`nco_hgh.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_hgh.lo -MD -MP -MF .deps/libnco_c___la-nco_hgh.Tpo -c nco_hgh.cc -o libnco_c___la-nco_hgh.o
    mv -f .deps/libnco_c___la-nco_hgh.Tpo .deps/libnco_c___la-nco_hgh.Plo
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_utl.lo -MD -MP -MF .deps/libnco_c___la-nco_utl.Tpo -c -o libnco_c___la-nco_utl.lo `test -f 'nco_utl.cc' || echo './'`nco_utl.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_utl.lo -MD -MP -MF .deps/libnco_c___la-nco_utl.Tpo -c nco_utl.cc -o libnco_c___la-nco_utl.o
    mv -f .deps/libnco_c___la-nco_utl.Tpo .deps/libnco_c___la-nco_utl.Plo
    /bin/sh ../../libtool -tag=CXX  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT libnco_c___la-nco_var.lo -MD -MP -MF .deps/libnco_c___la-nco_var.Tpo -c -o libnco_c___la-nco_var.lo `test -f 'nco_var.cc' || echo './'`nco_var.cc
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DABORT_ON_ERROR -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2 -g -O2 -MT libnco_c___la-nco_var.lo -MD -MP -MF .deps/libnco_c___la-nco_var.Tpo -c nco_var.cc -o libnco_c___la-nco_var.o
    mv -f .deps/libnco_c___la-nco_var.Tpo .deps/libnco_c___la-nco_var.Plo
    /bin/sh ../../libtool -tag=CXX -tag=CXX   -mode=link g++  -g -O2 -release 4.2.5 -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o libnco_c++.la -rpath /usr/local/lib libnco_c___la-nco_att.lo libnco_c___la-nco_dmn.lo libnco_c___la-nco_fl.lo libnco_c___la-nco_hgh.lo libnco_c___la-nco_utl.lo libnco_c___la-nco_var.lo  -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: ar cru .libs/libnco_c++.a  libnco_c___la-nco_att.o libnco_c___la-nco_dmn.o libnco_c___la-nco_fl.o libnco_c___la-nco_hgh.o libnco_c___la-nco_utl.o libnco_c___la-nco_var.o
    libtool: link: ranlib .libs/libnco_c++.a
    libtool: link: ( cd ".libs" && rm -f "libnco_c++.la" && ln -s "../libnco_c++.la" "libnco_c++.la" )
    Making all in nco++
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT Invoke.o -MD -MP -MF .deps/Invoke.Tpo -c -o Invoke.o Invoke.cc
    mv -f .deps/Invoke.Tpo .deps/Invoke.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT ncap2.o -MD -MP -MF .deps/ncap2.Tpo -c -o ncap2.o ncap2.cc
    mv -f .deps/ncap2.Tpo .deps/ncap2.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT ncap2_utl.o -MD -MP -MF .deps/ncap2_utl.Tpo -c -o ncap2_utl.o ncap2_utl.cc
    VarOp.hh: In member function ‘var_sct* VarOp<T>::var_op(var_sct*, int) ’:
    ncap2_utl.cc:1397:   instantiated from here
    VarOp.hh:348: warning: comparison is always false due to limited range of data type
    VarOp.hh:351: warning: comparison is always false due to limited range of data type
    VarOp.hh: In member function ‘var_sct* VarOp<T>::var_op(var_sct*, int) ’:
    ncap2_utl.cc:1402:   instantiated from here
    VarOp.hh:348: warning: comparison is always false due to limited range of data type
    VarOp.hh:351: warning: comparison is always false due to limited range of data type
    mv -f .deps/ncap2_utl.Tpo .deps/ncap2_utl.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT sdo_utl.o -MD -MP -MF .deps/sdo_utl.Tpo -c -o sdo_utl.o sdo_utl.cc
    mv -f .deps/sdo_utl.Tpo .deps/sdo_utl.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT sym_cls.o -MD -MP -MF .deps/sym_cls.Tpo -c -o sym_cls.o sym_cls.cc
    mv -f .deps/sym_cls.Tpo .deps/sym_cls.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT fmc_cls.o -MD -MP -MF .deps/fmc_cls.Tpo -c -o fmc_cls.o fmc_cls.cc
    mv -f .deps/fmc_cls.Tpo .deps/fmc_cls.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT fmc_all_cls.o -MD -MP -MF .deps/fmc_all_cls.Tpo -c -o fmc_all_cls.o fmc_all_cls.cc
    mv -f .deps/fmc_all_cls.Tpo .deps/fmc_all_cls.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT fmc_gsl_cls.o -MD -MP -MF .deps/fmc_gsl_cls.Tpo -c -o fmc_gsl_cls.o fmc_gsl_cls.cc
    mv -f .deps/fmc_gsl_cls.Tpo .deps/fmc_gsl_cls.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT prs_cls.o -MD -MP -MF .deps/prs_cls.Tpo -c -o prs_cls.o prs_cls.cc
    mv -f .deps/prs_cls.Tpo .deps/prs_cls.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT NcapVar.o -MD -MP -MF .deps/NcapVar.Tpo -c -o NcapVar.o NcapVar.cc
    mv -f .deps/NcapVar.Tpo .deps/NcapVar.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT NcapVarVector.o -MD -MP -MF .deps/NcapVarVector.Tpo -c -o NcapVarVector.o NcapVarVector.cc
    mv -f .deps/NcapVarVector.Tpo .deps/NcapVarVector.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT ncoLexer.o -MD -MP -MF .deps/ncoLexer.Tpo -c -o ncoLexer.o ncoLexer.cpp
    mv -f .deps/ncoLexer.Tpo .deps/ncoLexer.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT ncoParser.o -MD -MP -MF .deps/ncoParser.Tpo -c -o ncoParser.o ncoParser.cpp
    mv -f .deps/ncoParser.Tpo .deps/ncoParser.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -g -O2 -MT ncoTree.o -MD -MP -MF .deps/ncoTree.Tpo -c -o ncoTree.o ncoTree.cpp
    ncoGrammer.g: In member function ‘int ncoTree::statements(antlr::RefAST)’:
    ncoGrammer.g:1375: warning: format not a string literal and no format arguments
    ncoGrammer.g:1375: warning: format not a string literal and no format arguments
    mv -f .deps/ncoTree.Tpo .deps/ncoTree.Po
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/opt/local/include  -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include   -I/opt/local/include -I/opt/local/include/udunits2  -fno-common -g -O2 -std=c99 -D_BSD_SOURCE  -MT nco_gsl.o -MD -MP -MF .deps/nco_gsl.Tpo -c -o nco_gsl.o nco_gsl.c
    mv -f .deps/nco_gsl.Tpo .deps/nco_gsl.Po
    /bin/sh ../../libtool -tag=CXX -tag=CXX   -mode=link g++  -g -O2 -L../nco -L/opt/local/lib -lgsl -lgslcblas -L/opt/local/lib -lnetcdf -L/opt/local/lib   -o ncap2 Invoke.o ncap2.o ncap2_utl.o sdo_utl.o sym_cls.o fmc_cls.o fmc_all_cls.o fmc_gsl_cls.o prs_cls.o NcapVar.o NcapVarVector.o ncoLexer.o ncoParser.o ncoTree.o nco_gsl.o -lnco -lantlr -ludunits2 -lexpat -lgsl -lresolv -lintl -lm -lnetcdf -lnetcdf -lnetcdf  -lcurl -L/opt/local/lib -lgsl -lgslcblas -ludunits2 -ludunits2
    libtool: link: g++ -g -O2 -o ncap2 Invoke.o ncap2.o ncap2_utl.o sdo_utl.o sym_cls.o fmc_cls.o fmc_all_cls.o fmc_gsl_cls.o prs_cls.o NcapVar.o NcapVarVector.o ncoLexer.o ncoParser.o ncoTree.o nco_gsl.o -Wl,-bind_at_load  -L../nco -L/opt/local/lib /Users/durgakafle/nco/src/nco/.libs/libnco.a -lantlr -lresolv /opt/local/lib/libnetcdf.dylib /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl -lcrypto -lz /opt/local/lib/libgsl.dylib /opt/local/lib/libgslcblas.dylib -lm /opt/local/lib/libudunits2.dylib /opt/local/lib/libexpat.dylib
    make: Nothing to be done for `all-am'.
    Making all in man
    make: Nothing to be done for `all'.
    Making all in doc
    make: Nothing to be done for `all'.
    make: Nothing to be done for `all-am'.

    this is from make install,
    vortex1:nco durgakafle$ make install
    Making install in data
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    Making install in src
    Making install in nco
    ../../autobld/install-sh -c -d '/usr/local/lib'
    mkdir: /usr/local: Permission denied
    mkdir: /usr/local: No such file or directory
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 1
    make: ***  Error 1
    Thank you.

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-07

    >> mkdir: /usr/local: Permission denied

    This means that

    $make install

    does not have permission to install to
    /usr/local:

    so, you need to use the sudo command

    $sudo make install

    Pedro

     
  • Durga
    Durga
    2013-02-07

    Thank you so much. It seems that it worked. Is this all? So nco installed in my machine right?

    vortex1:nco durgakafle$ sudo make install
    Password:
    Making install in data
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    Making install in src
    Making install in nco
    ../../autobld/install-sh -c -d '/usr/local/lib'
    /bin/sh ../../libtool -tag=CXX   -mode=install /usr/bin/install -c   libnco.la '/usr/local/lib'
    libtool: install: /usr/bin/install -c .libs/libnco.lai /usr/local/lib/libnco.la
    libtool: install: /usr/bin/install -c .libs/libnco.a /usr/local/lib/libnco.a
    libtool: install: chmod 644 /usr/local/lib/libnco.a
    libtool: install: ranlib /usr/local/lib/libnco.a
    ../../autobld/install-sh -c -d '/usr/local/bin'
      /bin/sh ../../libtool -tag=CXX   -mode=install /usr/bin/install -c ncap ncatted ncbo ncecat ncflint ncks ncpdq ncra ncrename ncwa '/usr/local/bin'
    libtool: install: /usr/bin/install -c ncap /usr/local/bin/ncap
    libtool: install: /usr/bin/install -c ncatted /usr/local/bin/ncatted
    libtool: install: /usr/bin/install -c ncbo /usr/local/bin/ncbo
    libtool: install: /usr/bin/install -c ncecat /usr/local/bin/ncecat
    libtool: install: /usr/bin/install -c ncflint /usr/local/bin/ncflint
    libtool: install: /usr/bin/install -c ncks /usr/local/bin/ncks
    libtool: install: /usr/bin/install -c ncpdq /usr/local/bin/ncpdq
    libtool: install: /usr/bin/install -c ncra /usr/local/bin/ncra
    libtool: install: /usr/bin/install -c ncrename /usr/local/bin/ncrename
    libtool: install: /usr/bin/install -c ncwa /usr/local/bin/ncwa
    make  install-exec-hook
    cd /usr/local/bin && ln -s -f ncbo ncdiff || (rm -f ncdiff && ln -s -f ncbo ncdiff)
    cd /usr/local/bin && ln -s -f ncra ncea || (rm -f ncea && ln -s -f ncra ncea)
    cd /usr/local/bin && ln -s -f ncra ncrcat || (rm -f ncrcat && ln -s -f ncra ncrcat)
    make: Nothing to be done for `install-data-am'.
    Making install in nco_c++
    ../../autobld/install-sh -c -d '/usr/local/lib'
    /bin/sh ../../libtool -tag=CXX   -mode=install /usr/bin/install -c   libnco_c++.la '/usr/local/lib'
    libtool: install: /usr/bin/install -c .libs/libnco_c++.lai /usr/local/lib/libnco_c++.la
    libtool: install: /usr/bin/install -c .libs/libnco_c++.a /usr/local/lib/libnco_c++.a
    libtool: install: chmod 644 /usr/local/lib/libnco_c++.a
    libtool: install: ranlib /usr/local/lib/libnco_c++.a
    ../../autobld/install-sh -c -d '/usr/local/include'
    /usr/bin/install -c -m 644 libnco_c++.hh nco_dmn.hh nco_hgh.hh nco_var.hh nco_att.hh nco_fl.hh nco_utl.hh '/usr/local/include'
    Making install in nco++
    ../../autobld/install-sh -c -d '/usr/local/bin'
      /bin/sh ../../libtool -tag=CXX   -mode=install /usr/bin/install -c ncap2 '/usr/local/bin'
    libtool: install: /usr/bin/install -c ncap2 /usr/local/bin/ncap2
    make: Nothing to be done for `install-data-am'.
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    Making install in man
    make: Nothing to be done for `install-exec-am'.
    ../autobld/install-sh -c -d '/usr/local/share/man/man1'
    /usr/bin/install -c -m 644 ncap.1 ncap2.1 ncatted.1 ncbo.1 ncdiff.1 ncea.1 ncecat.1 ncflint.1 ncks.1 nco.1 ncra.1 ncrename.1 ncpdq.1 ncrcat.1 ncwa.1 '/usr/local/share/man/man1'
    Making install in doc
    make: Nothing to be done for `install-exec-am'.
    ../autobld/install-sh -c -d '/usr/local/share/info'
    /usr/bin/install -c -m 644 ./nco.info '/usr/local/share/info'
    install-info -info-dir='/usr/local/share/info' '/usr/local/share/info/nco.info'
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    Thanks again.

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-02-07

    >> Is this all? So nco installed in my machine right?

    Yes, that's all; glad you finally had it working

    Pedro

     
  • Durga
    Durga
    2013-02-07

    Thank you very much Pedro for your help.

    Durga

     
  • Pedro Vicente
    Pedro Vicente
    2013-03-14

    Durga

    I added the MacPorts netCDF library detection to NCO configure.
    This will be available in the upcoming 4.2.6 release

    Pedro