[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octave with support for hdf5
From: |
John W. Eaton |
Subject: |
octave with support for hdf5 |
Date: |
Tue, 23 Oct 2007 00:16:38 -0400 |
On 22-Oct-2007, John Sanabria wrote:
| I'm interested to compile octave with support for hdf5 file format.
| I had installed the hdf5 library in the directory ${HOME}/numeric.
|
| I execute the configure command line as follow:
|
| ./configure --with-hdf5="hdf5 -L/home/jas/numeric/lib
| -I/home/jas/numeric/include"
|
| --- snippet output ---
| checking for H5Pcreate in -lhdf5 -L/home/jas/numeric/lib
| -I/home/jas/numeric/include... yes
| checking hdf5.h usability... no
| checking hdf5.h presence... no
| checking for hdf5.h... no
| --- snippet output ---
|
| and finally,
|
| configure: WARNING: HDF5 library not found. Octave will not be able to
| save or load HDF5 data files.
|
| :-(, what is the proper parameter for the configure command?
The proper way to add -L and -I flags is to use LDFLAGS and CPPFLAGS.
You probably only need to use
./configure CPPFLAGS=-I/home/jas/numeric/include
LDFLAGS=-L/home/jas/numeric/lib
Given those flags, your compiler should be able to find the HDF5
header files and libraries, so configure should then be able to
automatically detect the library.
jwe