Hi Frank, > Had a few minor problems building netcdf-4.1.1 on 32bit Linux Mint. > I was able complete the build by modifying the Makefile for ncdump. > > I attached output from the configure step as well as error output from > the make check. > > uname -a: > Linux radar-Mint1 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 > UTC 2012 i686 i686 i686 GNU/Linux > > cc -v: > > Target: i686-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro > 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs > --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr > --program-suffix=-4.7 --enable-shared --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 > --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > --enable-gnu-unique-object --enable-plugin --enable-objc-gc > --enable-targets=all --disable-werror --with-arch-32=i686 > --with-tune=generic --enable-checking=release --build=i686-linux-gnu > --host=i686-linux-gnu --target=i686-linux-gnu > Thread model: posix > gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) > > > 1. Failed to build ncdump - make had problems linking in pow funct. > - Appended "-lm" to am__append_3 line in Makefile. > > - Build of netcdf then finishes correctly. > > 2. Make check fails 1 of 59 tests: FAIL: tst_h_vars > - See attachment. The errors were caused by an incompatibility between HDF5 version 1.8.8 with the older netCDF version 4.1.1. You could get a newer version of netCDF, for example the latest official release ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.2.1.1.tar.gz or the release candidate for the impending 4.3 release ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.0-rc2.tar.gz to build with HDF5-1.8.10-patch1. Alternativey, you could get an older version of HDF5 to build with netCDF 4.1.1, for example: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4/hdf5-1.8.4-patch1.tar.gz which is the version mentioned in the installation guide for netCDF-4.1.1. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: BYY-730203 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.