octave-maintainers
[Top][All Lists]
Advanced

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

Re: hdf5 build error


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


On 04/01/16 05:25, John W. Eaton wrote:
On 01/03/2016 07:52 PM, Richard Crozier wrote:
Dear Maintainers,


<snip>

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



So, before pulling your cset, I did make clean and configured with

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

This made the warning go away. Octave also successfully builds. I'm not sure if I made a mistake when I did this before (probably). I have attached the config log from this in spec-dir-config.log.

I then ran make clean again and plain ./configure. I attach the config log from this in plain-config.log

here's the contents of /usr/include/hdf5/serial

------------------------------------------------------------------
H5AbstractDs.h h5d_provisional.mod H5FDpublic.h H5Library.h H5pubconf.h H5ACpublic.h H5Dpublic.h H5FDsec2.h h5l.mod H5public.h h5a.mod h5ds.mod H5FDstdio.h H5Location.h h5r.mod H5api_adpt.h H5DSpublic.h H5File.h h5l_provisional.mod h5r_provisional.mod h5a_provisional.mod H5DxferProp.h H5FloatType.h H5Lpublic.h H5Rpublic.h H5Apublic.h h5e.mod h5f.mod h5lt.mod h5s.mod H5ArrayType.h H5EnumType.h h5fortran_types.mod H5LTpublic.h H5Spublic.h H5AtomType.h h5e_provisional.mod h5f_provisional.mod H5MMpublic.h H5StrType.h H5Attribute.h H5Epubgen.h H5Fpublic.h H5Object.h h5tb.mod H5Classes.h H5Epublic.h h5global.mod h5o.mod H5TBpublic.h H5CommonFG.h H5Exception.h h5g.mod h5o_provisional.mod h5t.mod H5CompType.h H5f90i_gen.h H5Gpublic.h H5Opublic.h h5t_provisional.mod H5CppDoc.h H5f90i.h H5Group.h H5overflow.h H5Tpublic.h H5Cpp.h H5FaccProp.h H5IdComponent.h H5PacketTable.h H5VarLenType.h H5Cpublic.h H5FcreatProp.h h5im.mod H5PLextern.h H5version.h H5DataSet.h H5FDcore.h h5i.mod H5PLpublic.h h5z.mod H5DataSpace.h H5FDdirect.h H5IMpublic.h h5p.mod H5Zpublic.h H5DataType.h H5FDfamily.h H5Include.h h5p_provisional.mod hdf5.h h5_dble_interface.mod H5FDlog.h H5IntType.h H5Ppublic.h hdf5_hl.h H5DcreatProp.h H5FDmpi.h H5Ipublic.h H5PredType.h hdf5.mod h5d.mod H5FDmpio.h h5lib.mod H5PropList.h H5DOpublic.h H5FDmulti.h h5lib_provisional.mod H5PTpublic.h
------------------------------------------------------------------

and /usr/lib/x86_64-linux-gnu/hdf5/serial

------------------------------------------------------------------
ls /usr/lib/x86_64-linux-gnu/hdf5/serial
include libhdf5.a libhdf5_cpp.so libhdf5_fortran.so libhdf5_hl_cpp.a libhdf5hl_fortran.a libhdf5_hl.so libhdf5.so lib libhdf5_cpp.a libhdf5_fortran.a libhdf5_hl.a libhdf5_hl_cpp.so libhdf5hl_fortran.so libhdf5.settings
------------------------------------------------------------------

Hope this is useful.

Richard

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

Attachment: plain-config.log
Description: Text Data

Attachment: spec-dirs-config.log
Description: Text Data


reply via email to

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