octave-maintainers
[Top][All Lists]
Advanced

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

hdf5 build error


From: Richard Crozier
Subject: hdf5 build error
Date: Mon, 4 Jan 2016 00:52:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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?


hg id reports:

5a340d8458d6 tip @

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.

Regards,

Richard
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

reply via email to

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