Netcdf-4.1.1: Can't find or link to the hdf5 library

From: Pierpaolo Garofalo <pier_carla_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 24 2011 - 04:29:45 MST

Hi all,
I installed hdf5 with the following commands:

./configure --prefix=$INSTDIR --enable-parallel --enable-fortran --with-zlib=$INSTDIR --with-szlib=$INSTDIR --enable-shared --disable-static -fPIC

make && make check && make install

then giving:

./configure --with-hdf5=$INSTDIR --with-curl=$INSTDIR --enable-netcdf-4 --with-szlib=$INSTDIR --with-zlib=$INSTDIR --prefix=$INSTDIR --disable-f90 --enable-dap --enable-dap-remote-tests --disable-shared

the configure process ends with:

...
checking for manual-page index command...
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking whether we should try to build netCDF-4... yes
checking for H5Fflush in -lhdf5... no
configure: error: Can't find or link to the hdf5 library. Configure with --disable-netcdf-4 or see config.log for errors.
make: *** No rule to make target `all'. Stop.
make: *** No rule to make target `install'. Stop.

if instead I run without --enable-netcdf-4:

./configure --with-hdf5=$INSTDIR --with-curl=$INSTDIR --with-szlib=$INSTDIR --with-zlib=$INSTDIR --prefix=$INSTDIR --disable-f90 --enable-dap --enable-dap-remote-tests --disable-shared

it gives no errors.
What do I do wrong?

Thanks for any help,
Pier

      
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 24 04:29:53 2011

This archive was generated by hypermail 2.1.8 : Fri Feb 25 2011 - 08:50:46 MST