Dear Ahsan,
I have HDF5 installed in /data/build and the following seems to work:
export CPPFLAGS="-I/data/build/include/"
export LDFLAGS="-L/data/build/lib/"
export LD_LIBRARY_PATH="/data/build/lib/:$LD_LIBRARY_PATH"
export PATH="/data/build/bin/:$PATH"
cd netcdf-4.2.1.1/
./configure --prefix=/data/build --enable-netcdf-4
make
make install
Make sure that both the HDF5 binary and HDF5 headers are available.
Hope it helps,
Maarten
On 07/31/2013 01:11 PM, Syed Ahsan Ali Bokhari wrote:
Dear All
I am trying to build netcdf4.2.1.1 with hdf5 support on Fedora 16 machine but
configure is not
able to find hdf. The installation command line is not picking path options e.g
. ./configure
-with-prefix=/usr/ (when I press Tab it is unable to complete the path). Why
the configure is not
allowing installation or library path to be specified.
Please help!
Ahsan
pk <http://www.pmd.gov.pk>
_______________________________________________
netcdf-hdf mailing list
netcdf-hdf@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
--
Maarten Plieger
KNMI, R&D Information and Observation Technology, De Bilt
(t) +31 30 2206330