octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hdf5 build error


From: John W. Eaton
Subject: Re: hdf5 build error
Date: Mon, 04 Jan 2016 00:25:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 01/03/2016 07:52 PM, Richard Crozier wrote:
Dear Maintainers,

I'm not sure if it's more appropriate for the help or maintainers, but
I'm trying to build from a fresh clone of the development sources in a
Ubuntu 15.10 VM. I have installed libhdf5-serial-dev. However, configure
is still not picking it up (I still get the warning about not finding
hdf5 libs), and I get the following error when building:

libinterp/corefcn/coct-hdf5-types.c:37:43: error: 'H5E_DEFAULT'
undeclared here (not in a function)const octave_hdf5_id
octave_H5E_DEFAULT =
H5E_DEFAULT;^libinterp/corefcn/coct-hdf5-types.c:38:43: error:
'H5P_DEFAULT' undeclared here (not in a function)const octave_hdf5_id
octave_H5P_DEFAULT =
H5P_DEFAULT;^libinterp/corefcn/coct-hdf5-types.c:39:39: error: 'H5S_ALL'
undeclared here (not in a function)const octave_hdf5_id octave_H5S_ALL =
H5S_ALL;^Makefile:15761: recipe for target
'libinterp/corefcn/libinterp_corefcn_libcorefcn_la-coct-hdf5-types.lo'
failedmake[2]: ***
[libinterp/corefcn/libinterp_corefcn_libcorefcn_la-coct-hdf5-types.lo]
Error 1make[2]: Leaving directory
'/home/crobarcrozier/src/octave-hg'Makefile:25790: recipe for target
'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]:
Leaving directory '/home/crobarcrozier/src/octave-hg'Makefile:9887:
recipe for target 'all' failedmake: *** [all] Error 2

Do I have the right hdf5 lib installed?

I checked in the following changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/13b9cac748f2

That should allow Octave to compile again when HDF5 is missing.

I tried configuring with

./configure --with-hdf5-includedir=/usr/include/hdf5/serial/
--with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/

I still get the warning about the hdf5 libs not being found, I didn't
actually try building after this. I also get both the warning and the
error if I configure with --without-hdf5.

I have no problem compiling on Debian systems with the following configure options:

  --with-hdf5-includedir=/usr/include/hdf5/serial
  --with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial

What files are in those directories on your system? What does config.log tell you about HDF5 detection?

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]