bugGNU Octave - Bugs: bug #38928, configure -> hdf5 doesn't...


bug #38928: configure -> hdf5 doesn't handle path through

Submitter:  None
Submitted:  Tue 07 May 2013 01:57:51 PM UTC
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Clemens1509 Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Sun 09 Nov 2014 03:49:27 PM UTC, comment #34: 

Marking as fixed and closing report.  If adding an extra 2 configure options does become too onerous then it can be re-opened.

Rik <rik5>
Group administrator
Thu 06 Nov 2014 05:19:40 AM UTC, comment #33: 

I think what we have is reasonable.  These options give the flexibility to anyone to build Octave with HDF5 in a non-standard location.  For Debian users who choose to self-compile, they only need to throw two extra options into their configure line.  For everyone else, including the Debian users who just get the binary throug apt-get, nothing else changes.  That's not too onerous.

Rik <rik5>
Group administrator
Wed 05 Nov 2014 07:55:12 PM UTC, comment #32: 

I'll see if I can get some indication from the Debian maintainers of hdf5 where they see this going. I personally don't mind having to specify the --with options for my own builds, but I expect some questions could come our way from confused users who do want to build their own for whatever reason.

Mike Miller <mtmiller>
Group Member
Wed 05 Nov 2014 07:16:25 PM UTC, comment #31: 

It would be great to make it work without having to specify those options, but I don't see any justification for searching for -lhdf5_serial (or whatever it is called) over any other library name other than just -lhdf5.  So I don't know how to solve this problem without introducing cruft in the configure script that is specific to the Debian naming scheme.  But maybe we should do that?  I don't know what's best.

John W. Eaton <jwe>
Group administrator
Wed 05 Nov 2014 03:43:11 PM UTC, comment #30: 

I assume the -with-XXX options will only be needed for people who are building from scratch.

If users are just typing 'apt-get octave', then the Debian devs should have modified their build scripts so that the binary that people get is already correct.

Rik <rik5>
Group administrator
Wed 05 Nov 2014 01:42:52 PM UTC, comment #29: 

I can build the current default now with --with-hdf5-includedir and --with-hdf5-libdir pointing to the serial HDF5 directories on Debian. Without those options HDF5 is not detected. So this bug does seem to be addressed, assuming we're ok with all Debian and Ubuntu users needing to add those options to configure from now on, or at least for a couple of years.

Mike Miller <mtmiller>
Group Member
Sun 26 Oct 2014 04:55:33 PM UTC, comment #28: 

The changeset works for me on an old Ubuntu version (12.04) where HDF5 is in a regular location.  If it works with the new Debian location then I think this bug can be closed.

Rik <rik5>
Group administrator
Fri 24 Oct 2014 10:57:05 PM UTC, comment #27: 

I checked in the following changeset:


John W. Eaton <jwe>
Group administrator
Tue 21 Oct 2014 11:08:58 PM UTC, comment #26: 


I agree.  I was being a bit lazy.  I'll take another look.

John W. Eaton <jwe>
Group administrator
Tue 21 Oct 2014 10:30:49 PM UTC, comment #25: 

I think the change from FT2_CFLAGS to FT2_CPPFLAGS needs to be reverted.  The CPPFLAGS variable is undefined, while the FT2_CFLAGS correctly has the -I options for the library.

The issue is that configure.ac uses the PKG_CHECK_MODULES macro as the interface between Autotools and pkg-config and the output of the macro is only XXX_CFLAGS and XXX_LIBS.  Documentation on the macro is at https://autotools.io/pkgconfig/pkg_check_modules.html.  Alternatively, we could spin up our own m4 macro to use the --cflags-only-I option of pkg-config, but this seems like more work.

I also don't think we need to add all of the CPPFLAGS (FT2_CPPFLAGS, HDF5_CPPFLAGS, Z_CPPFLAGS, FFTW_XCPPFLAGS, LLVM_CPPFLAGS) to AM_CPPFLAGS in libinterp/Makefile.am.  The module.mk files in the subdirectories go to the trouble to apply the CPPFLAGS only to the files that need them.  The convenience libraries in the subdirectories are then linked together into libinterp, but CPPFLAGS isn't required for that step.  For instance, the parse-tree directory has no need to see the FFTW_XCPPFLAGS during compilation.  Another example comes from corefcn/module.mk where there is this comment:

## Special rules for FreeType .df files so that not all .df files are built

HDF5_CPPFLAGS probably does need to be snuck into AM_CPPFLAGS because it gets so widely included through ov.h that it is essentially used everywhere in libinterp.

I would say that the same considerations also apply to liboctave/Makefile.am.  Most of liboctave does not need FFTW_XCPPFLAGS or ARPACK_CPPFLAGS.  Only a few files in the numeric directory need those, and so only that convenience library is built with those CPPFLAGS.  QRUPDATE_CPPFLAGS could be added to the file numeric/module.mk since that is currently missing.

CURL_CPPFLAGS should probably just go into util/module.mk since there is only one file there that uses them.

Rik <rik5>
Group administrator
Tue 21 Oct 2014 07:36:50 PM UTC, comment #24: 

Also, following up on Rik's comment #18, I started to deprecate the --with-PKG-includedir and --with-PKG-libdir options, but maybe that's not such a good idea.  One nice thing about the current setup is that these individual options and the corresponding variables allow us to separate out the libraries and CPPFLAGS and LDFLAGS options that are used when building .oct files that depend on external libraries that are not linked with the Octave libraries.  So keeping the individual variables makes sense to me, and if we are going to keep the individual variables, we might as well keep the configure options.  Instead of removing them I tried to fix the liboctave, libinterp, and libgui Makefile.am files so that they use the PKG_CPPFLAGS variables that are needed.  I checked in the following chageset:


John W. Eaton <jwe>
Group administrator
Tue 21 Oct 2014 06:30:25 PM UTC, comment #23: 

Yes, the Debian packages do provide pkg-config files now.

Mike Miller <mtmiller>
Group Member
Tue 21 Oct 2014 06:28:22 PM UTC, comment #22: 

I followed some of the discussion when the Debian maintainers were overhauling the HDF5 packaging, but got lost somewhere along the way (it's a confusing library).

Here is the end of the conversation from back in June:


The first message says that since all users of HDF5 will have to rebuild against libhdf5.so.8 anyway, might as well require them to use the new -I and -L flags.

The second message (and last word on the thread) says yes, but this is still a work in progress and some things could still be done. One possibility raised was having yet another library called hdf5 that would redirect to the proper serial/parallel library, and restore the ability of users to link with just -lhdf5.

I think one of the motivators for not using alternatives is that these libraries really are not drop-in replacements of each other. If I build Octave using the serial library, it will probably work with one of the parallel libraries, but definitely not the reverse.

Mike Miller <mtmiller>
Group Member
Tue 21 Oct 2014 06:24:12 PM UTC, comment #21: 

Any chance the hdf5 package on debian provides support for pkg-config?

Michael Goffioul <goffioul>
Tue 21 Oct 2014 05:52:25 PM UTC, comment #20: 

I started working on a fix for this problem.  Handling the possibility of various locations for hdf5.h is not hard but I'm not sure what to do about the location of the library.  Presumably it should match the header file that is chosen, but I'm not sure how to do that in a reliable way.

Again, I'm curious to know why this change was made on Debian systems without providing some alternatives-style mechanism to provide a system-wide default that just works.

John W. Eaton <jwe>
Group administrator
Tue 21 Oct 2014 05:22:59 PM UTC, comment #19: 

I'm now hitting the problem with hdf5.h being installed in /usr/include/hdf5/serial on Debian systems.  Why was this change made?  Should we accomodate it in the Octave configure script?  It seems odd to have to put

#include <hdf5/serial/hdf5.h>

in Octave's files, but I can do that if needed.  Should we also be searching for hdf5/mpich/hdf5.h?  What about hdf5/openmpi/hdf5.h?  Or maybe hdf5/hdf5.h?  How should we determine which one to use?

John W. Eaton <jwe>
Group administrator
Tue 23 Sep 2014 04:30:16 AM UTC, comment #18: 

Per the discussion at OctConf 2014, the --with-XXX-includedir and --with-XXX-libdir are going to be removed.  To build, follow Mike's suggestion and add any necessary directories to either CPPFLAGS or LDFLAGS before compiling.

Rik <rik5>
Group administrator
Tue 09 Sep 2014 05:31:00 PM UTC, comment #17: 

As a workaround, here is how I build Octave with HDF5 in Debian unstable (which has been moved to non-standard include and lib directories):

../configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/serial ...

This is similar to what I originally suggested in comment #2,
essentially using the global CPPFLAGS and LDFLAGS instead of the --with-hdf5-* options.

I think the best approach is to try to remove HDF5 from the Octave public API as much as possible, which in turn means we wouldn't have to add HDF5 flags all over the place. Since that's a big separate issue on its own, I'll open a separate bug report about that.

Mike Miller <mtmiller>
Group Member
Wed 06 Aug 2014 06:07:01 PM UTC, comment #16: 

If you see a way to hide the hid_t type, then yeah, I'm all for that.

I'm also in favor of cleaning up the set of installed header files.

And cleaning up the config.h that we install (I think there is another bug report about that mess).

John W. Eaton <jwe>
Group administrator
Wed 06 Aug 2014 06:02:30 PM UTC, comment #15: 

Yes, adding either HDF5_CPPFLAGS or ALL_CPPFLAGS gets past that one rule. There are other specific .df rules in libinterp//module.mk that also need HDF5_CPPFLAGS added. And there are sources, e.g. builtins.cc, octave.cc, libgui/src, libgui/graphics, that also need it. I can try to iteratively go through and add it to the minimal number of rules that need it.

At the extreme opposite end, would it be a terrible thing to define our own "hid_t" type, it's only an int? Or to be really safe, our own opaque handle type that would map to an hid_t type? This would potentially remove the need for HAVE_HDF5 and hdf5.h to be in any public header files. From an encapsulation point of view this would be a win, it would be far better for users to not even have to see this conditional and depend on these third-party header files.

Of course now that I'm chasing which files include other files, this implies massively cleaning up the set of files installed in the include directory, I believe there are many files installed that don't need to be, for example ls-*.h, ov-*.cc. The ls-hdf5.h header file contains calls to HDF5 functions, but it is never needed by any external user of Octave.

Mike Miller <mtmiller>
Group Member
Wed 06 Aug 2014 05:48:08 PM UTC, comment #14: 

Hopefully Mike can try some of the permutations.  If you look at the .deps/*.Plo files though you see that we are generating dependencies on hdf5.h for huge numbers of files which inherit through the ov*.h header files.

For example, libinterp/operators/.deps/*.Plo has 127 files that depend on hdf5.h, but these don't really "depend" in the sense of actually using function prototypes from hdf5.h.

Rik <rik5>
Group administrator
Wed 06 Aug 2014 05:39:54 PM UTC, comment #13: 

Or, those rules should be using ALL_CPPFLAGS instead of just CPPFLAGS.

John W. Eaton <jwe>
Group administrator
Wed 06 Aug 2014 05:36:44 PM UTC, comment #12: 

I don't think the default pattern rule needs all the extra CPPFLAGS variables.

There are lines like

dldfcn/__delaunayn__.df: CPPFLAGS += $(QHULL_CPPFLAGS)

in the dldfcn/module.mk file.  Can't something similar be used for those files that need the extra LLVM_CPPFLAGS or HDF5_CPPFLAGS?

John W. Eaton <jwe>
Group administrator
Wed 06 Aug 2014 04:59:16 PM UTC, comment #11: 

Oy.  This looks like it might be a bigger problem than I thought.  It appears that maybe the rule for generating .df files from .cc files should have every single configurable CPPFLAGS variable in it.

The code in libinterp/Makefile.am is:

%.df: %.cc
          $(AM_CXXFLAGS) $(CXXFLAGS) \
          -DMAKE_BUILTINS $< > $@-t
        $(srcdir)/mkdefs $(srcdir) $< < $@-t > $@
        rm $@-t

How far does the build proceed if you add $(HDF5_CPPFLAGS) after $(LLVM_CPPFLAGS)?

Rik <rik5>
Group administrator
Wed 06 Aug 2014 01:43:51 AM UTC, comment #10: 

Sure, a clean build with

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

fails in many, many places.

I get the same missing header file error with generation of the .df files in corefcn, octave-value, with libinterp/octave.cc, libinterp/builtins.cc, libinterp/corefcn/oct-errno.cc, just to name a few.

I think the problem is basically because hdf5.h is included in the public API and leaks into all ov*.h header files. After a successful (patched) build, I count almost 400 files that depend on hdf5.h, looking in the generated .Plo and .Po files. So it may have to be added to essentially all CPPFLAGS in libinterp and libgui.

Mike Miller <mtmiller>
Group Member
Tue 05 Aug 2014 10:58:38 PM UTC, comment #9: 

@Mike: Could you post the error log for the build around the problem in libinterp/corefcn?  Also, what is the value of HDF5_CPPFLAGS in libinterp/Makefile?  Did you re-run bootstrap and configure after updating to the new Debian locations for HDF5 files?

Rik <rik5>
Group administrator
Tue 05 Aug 2014 10:26:37 PM UTC, comment #8: 

I am now able to test this and it is not fully resolved with the changes on default.

Debian has new HDF5 packages coming down the pike that move the header files and libraries into namespaced subdirectories. Building default against these new packages fails in libinterp/corefcn with "hdf5.h: No such file or directory" so we are still missing some places where the flags are needed.

The Debian HDF5 maintainer has proposed a couple of patches to Octave to solve this issue, attached here. The first patch adds HDF5_CPPFLAGS to everything in libinterp and libgui/src, I had to add also to libgui/graphics (original patch was based on 3.8.1). With this I get a successful build. The second patch adds HDF5 flags to mkoctfile, I'm not sure if this is necessary for building Forge packages with mkoctfile or what, I haven't fully tested that path yet.

(file #31844, file #31845)

Mike Miller <mtmiller>
Group Member
Tue 14 Jan 2014 06:19:40 PM UTC, comment #7: 

No response so I'll assume the patch worked.  Closing report.

Rik <rik5>
Group administrator
Wed 06 Nov 2013 12:08:34 AM UTC, comment #6: 

I added the HDF5_CPPFLAGS where I think they were necessary.  Hopefully the original reporter, Clemens, can verify that everything builds correctly now.  Use the development branch code with a changeset >= 17858:25601fe8c6f7.

Rik <rik5>
Group administrator
Wed 30 Oct 2013 12:41:19 AM UTC, comment #5: 

Yes, the HDF5_CPPFLAGS and possibly HDF5_LDFLAGS need to be added to more modules, probably both corefcn and one or more dldfcns, possibly also the GUI, not sure how many modules touch HDF5.

Unfortunately I don't have a way to test this at the moment, but hopefully Clemens still can to verify a fix.

Mike Miller <mtmiller>
Group Member
Tue 29 Oct 2013 11:53:45 PM UTC, comment #4: 

Mike, was there something we needed to change in the build system for this?

It looks like maybe the module.mk for libinterp/corefcn needs to be changed to add HDF5_CPPFLAGS.

This line is adding some special CPPFLAGS, maybe it needs more?

corefcn_libcorefcn_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) $(FFTW_XCPPFLAGS)

Rik <rik5>
Group administrator
Mon 13 May 2013 12:05:16 PM UTC, comment #3: 

ok - that workaround works. Maybe let the bug open until fixed.

Clemens <clemens1509>
Thu 09 May 2013 02:00:32 AM UTC, comment #2: 

Ok, your 2nd config.log attachment looks correct to me. I think there might be a bug in the way HDF5_CPPFLAGS is not used everywhere it is needed.

Can you run configure the way I suggested and report back whether that builds successfully, in order to confirm that the problem is with the Makefile rules and not with your particular setup?

 ./configure --prefix=/home/user/dev/octave-3.6.4/install \
     CPPFLAGS="-I/home/user/dev/hdf5-1.8.10/install/include" \

Mike Miller <mtmiller>
Group Member
Tue 07 May 2013 04:49:15 PM UTC, comment #1: 

The attachment doesn't look like a complete config.log, it was interrupted. Can you attach one that completed when you got a successful configure where you were able to run make?

Can you also try configuring Octave the following way instead, this is the technique I use and it works for me regularly:

 ./configure --prefix=/home//dev/octave-3.6.4/install CPPFLAGS="-I/home//dev/hdf5-1.8.10/install/include" LDFLAGS="-L/home//dev/hdf5-1.8.10/install/lib"

If this works and the --with-hdf5 options didn't, then there may indeed be a minor bug in one of the make files.

Mike Miller <mtmiller>
Group Member
Tue 07 May 2013 01:57:51 PM UTC, original submission:  

configure looks like:
./configure --prefix=/home//dev/octave-3.6.4/install --with-hdf5-includedir=/home//dev/hdf5-1.8.10/install/include/ --with-hdf5-libdir=/home//dev/octave-3.6.4/../hdf5-1.8.10/install/lib/

make[2]: Leaving directory `/home//dev/octave-3.6.4/liboctave'
Making install in src
make[2]: Entering directory `/home//dev/octave-3.6.4/src'
making defaults.h from defaults.h.in
gawk -f ./genprops.awk graphics.h.in > graphics.h-t
gawk -v emit_graphics_props=1 -f ./genprops.awk graphics.h.in > graphics-props.cc-t
/bin/sed < mxarray.h.in \
          -e "s|%OCTAVE_IDX_TYPE%|int|" > mxarray.h-t
mv graphics.h-t graphics.h
mv mxarray.h-t mxarray.h
mv graphics-props.cc-t graphics-props.cc
making oct-conf.h from oct-conf.h.in
if test -n "perl"; then \
          ./mk-errno-list --perl "perl" < oct-errno.cc.in > oct-errno.cc-t; \
        elif test -n "python"; then \
          ./mk-errno-list --python "python" < oct-errno.cc.in > oct-errno.cc-t; \
        else \
          /bin/sed '/@SYSDEP_ERRNO_LIST@/D' oct-errno.cc.in > oct-errno.cc-t; \
./mkops OPERATORS/op-b-b.cc OPERATORS/op-b-bm.cc OPERATORS/op-b-sbm.cc OPERATORS/op-bm-b.cc OPERATORS/op-bm-bm.cc OPERATORS/op-bm-sbm.cc OPERATORS/op-cdm-cdm.cc OPERATORS/op-cdm-cm.cc OPERATORS/op-cdm-cs.cc OPERATORS/op-cdm-dm.cc OPERATORS/op-cdm-m.cc OPERATORS/op-cdm-s.cc OPERATORS/op-cell.cc OPERATORS/op-chm.cc OPERATORS/op-class.cc OPERATORS/op-cm-cdm.cc OPERATORS/op-cm-cm.cc OPERATORS/op-cm-cs.cc OPERATORS/op-cm-dm.cc OPERATORS/op-cm-m.cc OPERATORS/op-cm-pm.cc OPERATORS/op-cm-s.cc OPERATORS/op-cm-scm.cc OPERATORS/op-cm-sm.cc OPERATORS/op-cs-cm.cc OPERATORS/op-cs-cs.cc OPERATORS/op-cs-m.cc OPERATORS/op-cs-s.cc OPERATORS/op-cs-scm.cc OPERATORS/op-cs-sm.cc OPERATORS/op-dm-cdm.cc OPERATORS/op-dm-cm.cc OPERATORS/op-dm-cs.cc OPERATORS/op-dm-dm.cc OPERATORS/op-dm-m.cc OPERATORS/op-dm-s.cc OPERATORS/op-dm-scm.cc OPERATORS/op-dm-sm.cc OPERATORS/op-double-conv.cc OPERATORS/op-fcdm-fcdm.cc OPERATORS/op-fcdm-fcm.cc OPERATORS/op-fcdm-fcs.cc OPERATORS/op-fcdm-fdm.cc OPERATORS/op-fcdm-fm.cc OPERATORS/op-fcdm-fs.cc OPERATORS/op-fcm-fcdm.cc OPERATORS/op-fcm-fcm.cc OPERATORS/op-fcm-fcs.cc OPERATORS/op-fcm-fdm.cc OPERATORS/op-fcm-fm.cc OPERATORS/op-fcm-fs.cc OPERATORS/op-fcm-pm.cc OPERATORS/op-fcn.cc OPERATORS/op-fcs-fcm.cc OPERATORS/op-fcs-fcs.cc OPERATORS/op-fcs-fm.cc OPERATORS/op-fcs-fs.cc OPERATORS/op-fdm-fcdm.cc OPERATORS/op-fdm-fcm.cc OPERATORS/op-fdm-fcs.cc OPERATORS/op-fdm-fdm.cc OPERATORS/op-fdm-fm.cc OPERATORS/op-fdm-fs.cc OPERATORS/op-float-conv.cc OPERATORS/op-fm-fcdm.cc OPERATORS/op-fm-fcm.cc OPERATORS/op-fm-fcs.cc OPERATORS/op-fm-fdm.cc OPERATORS/op-fm-fm.cc OPERATORS/op-fm-fs.cc OPERATORS/op-fm-pm.cc OPERATORS/op-fs-fcm.cc OPERATORS/op-fs-fcs.cc OPERATORS/op-fs-fm.cc OPERATORS/op-fs-fs.cc OPERATORS/op-i16-i16.cc OPERATORS/op-i32-i32.cc OPERATORS/op-i64-i64.cc OPERATORS/op-i8-i8.cc OPERATORS/op-int-concat.cc OPERATORS/op-int-conv.cc OPERATORS/op-m-cdm.cc OPERATORS/op-m-cm.cc OPERATORS/op-m-cs.cc OPERATORS/op-m-dm.cc OPERATORS/op-m-m.cc OPERATORS/op-m-pm.cc OPERATORS/op-m-s.cc OPERATORS/op-m-scm.cc OPERATORS/op-m-sm.cc OPERATORS/op-pm-cm.cc OPERATORS/op-pm-fcm.cc OPERATORS/op-pm-fm.cc OPERATORS/op-pm-m.cc OPERATORS/op-pm-pm.cc OPERATORS/op-pm-scm.cc OPERATORS/op-pm-sm.cc OPERATORS/op-range.cc OPERATORS/op-s-cm.cc OPERATORS/op-s-cs.cc OPERATORS/op-s-m.cc OPERATORS/op-s-s.cc OPERATORS/op-s-scm.cc OPERATORS/op-s-sm.cc OPERATORS/op-sbm-b.cc OPERATORS/op-sbm-bm.cc OPERATORS/op-sbm-sbm.cc OPERATORS/op-scm-cm.cc OPERATORS/op-scm-cs.cc OPERATORS/op-scm-m.cc OPERATORS/op-scm-s.cc OPERATORS/op-scm-scm.cc OPERATORS/op-scm-sm.cc OPERATORS/op-sm-cm.cc OPERATORS/op-sm-cs.cc OPERATORS/op-sm-m.cc OPERATORS/op-sm-s.cc OPERATORS/op-sm-scm.cc OPERATORS/op-sm-sm.cc OPERATORS/op-str-m.cc OPERATORS/op-str-s.cc OPERATORS/op-str-str.cc OPERATORS/op-struct.cc OPERATORS/op-ui16-ui16.cc OPERATORS/op-ui32-ui32.cc OPERATORS/op-ui64-ui64.cc OPERATORS/op-ui8-ui8.cc > ops.cc-t
mv oct-errno.cc-t oct-errno.cc
/bin/sed < version.h.in \
          -e "s|%OCTAVE_API_VERSION_NUMBER%|48|" \
          -e "s|%OCTAVE_API_VERSION%|\"api-v48+\"|" \
          -e "s|%OCTAVE_COPYRIGHT%|\"Copyright (C) 2013 John W. Eaton and others.\"|" \
          -e "s|%OCTAVE_RELEASE_DATE%|\"2013-02-21\"|" \
          -e "s|%OCTAVE_VERSION%|\"3.6.4\"|" > version.h-t
mv version.h-t version.h
perl ../build-aux/mk-opts.pl --opt-handler-fcns ../liboctave/DASPK-opts.in > DASPK-opts.cc-t
perl ../build-aux/mk-opts.pl --opt-handler-fcns ../liboctave/DASRT-opts.in > DASRT-opts.cc-t
perl ../build-aux/mk-opts.pl --opt-handler-fcns ../liboctave/DASSL-opts.in > DASSL-opts.cc-t
mv DASRT-opts.cc-t DASRT-opts.cc
mv DASPK-opts.cc-t DASPK-opts.cc
mv DASSL-opts.cc-t DASSL-opts.cc
perl ../build-aux/mk-opts.pl --opt-handler-fcns ../liboctave/LSODE-opts.in > LSODE-opts.cc-t
perl ../build-aux/mk-opts.pl --opt-handler-fcns ../liboctave/Quad-opts.in > Quad-opts.cc-t
mv LSODE-opts.cc-t LSODE-opts.cc
mv Quad-opts.cc-t Quad-opts.cc
g++ -E -DHAVE_CONFIG_H -I. -I..  \
          -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I.   -g -O2  -DHAVE_CONFIG_H -I/usr/include/freetype2     -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 \
          -DMAKE_BUILTINS bitfcns.cc | ./mkdefs . bitfcns.cc > bitfcns.df-t
g++ -E -DHAVE_CONFIG_H -I. -I..  \
          -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I.   -g -O2  -DHAVE_CONFIG_H -I/usr/include/freetype2     -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 \
          -DMAKE_BUILTINS data.cc | ./mkdefs . data.cc > data.df-t
g++ -E -DHAVE_CONFIG_H -I. -I..  \
          -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I.   -g -O2  -DHAVE_CONFIG_H -I/usr/include/freetype2     -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 \
          -DMAKE_BUILTINS debug.cc | ./mkdefs . debug.cc > debug.df-t
In file included from ov.h:43,
                 from oct-obj.h:34,
                 from ov-fcn.h:32,
                 from ov-builtin.h:28,
                 from defun-int.h:28,
                 from defun.h:30,
                 from bitfcns.cc:30:
oct-hdf5.h:27:18: error: hdf5.h: No such file or directory
In file included from ov.h:43,
                 from oct-obj.h:34,
                 from ov-fcn.h:32,
                 from ov-builtin.h:28,
                 from defun-int.h:28,
                 from defun.h:30,
                 from debug.cc:37:
oct-hdf5.h:27:18: error: hdf5.h: No such file or directory
In file included from ov.h:43,
                 from Cell.h:32,
                 from data.cc:49:
oct-hdf5.h:27:18: error: hdf5.h: No such file or directory
mv debug.df-t debug.df



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #31844:  hdf5-flags.patch added by mtmiller (1KiB - text/x-patch)
file #31845:  hdf5-mkoctfile.patch added by mtmiller (2KiB - text/x-patch)
file #28045:  config2.log.gz added by None (116KiB - application/x-gzip-compressed)
file #28039:  config.log added by None (30KiB - text/x-log)


Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by clemens1509 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.


    Follow 17 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-09 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-09-15 mtmiller Dependencies- bugs #43226 is dependent
    2014-09-09 mtmiller Dependencies- Depends on bugs #43180
    2014-08-05 mtmiller Attached File- Added hdf5-flags.patch, #31844
        Attached File- Added hdf5-mkoctfile.patch, #31845
        StatusFixed Confirmed
        Open/ClosedClosed Open
        Release3.6.4 dev
    2014-01-14 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-11-11 rik5 Summaryconfugure -&gt; hdf5 doesn\'t handle path through configure -> hdf5 doesn't handle path through
    2013-11-06 rik5 StatusConfirmed Ready For Test
    2013-05-13 mtmiller StatusNeed Info Confirmed
    2013-05-08 None Attached File- Added config2.log.gz, #28045
    2013-05-07 mtmiller StatusNone Need Info
    2013-05-07 None Attached File- Added config.log, #28039

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code