cannot compile with hdf5

Jaroslav Hajek highegg at gmail.com
Mon Feb 2 07:54:51 CST 2009


On Mon, Feb 2, 2009 at 2:41 PM, Petr Mikulik <mikulik at physics.muni.cz> wrote:
>> On Mon, Feb 2, 2009 at 8:54 AM, Petr Mikulik <mikulik at physics.muni.cz> wrote:
>> > I have tried to compile octave 3.0.4 rc3 tarball, configured with HDF5.
>> > Octave fails to compile, see below. The same happens also for 3.0.3.
>> > There are the following libraries under OpenSUSE 11.1:
>> >        libhdf5_hl0-1.8.2-1.1
>> >        hdf5-devel-1.8.2-1.1
>> >        libhdf5-0-1.8.2-1.1
>> >        hdf5-1.8.2-1.1
>> >
>> This is a known problem, caused by the incompatible API changes
>> between HDF5 1.5 and 1.8. I think there's no need to support both the
>> APIs, but someone needs to modify the relevant code to adapt to the
>> 1.8 API. So far, there has been no volunteer. Apparently hdf5 is not
>> much used amongst Octave developers/users.
>
> Could the ./configure test the API and disable building against HDF5 <1.8?
>

Not a bad suggestion. I think we were sort of hoping that somebody who
cares about hdf5 will do the update, but maybe nobody cares enough. If
you would like to write a test program that detects the version, I
could include it in configure.

> I don't use HDF5 but Octave autodetects it during ./configure and then fails
> during make which is annoying.
>

Use --without-hdf5. Maybe, given the state of HDF5 support (only
obsolete version is supported), we should make this the default and
not warn about it. What do you think? That would mean much less work.

>
> BTW, recently I have sent a small testing program QhullCrashTest.c to
> detect crashing Qhull library. Is there an autoconf guru who would add it to
> the configure script?
>

Please a start a fresh thread or revive the old one, I'll take a look.

best regs

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Bug-octave mailing list