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


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

Submitted by:  None
Submitted on:  Tue 07 May 2013 01:57:51 PM UTC  
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Clemens1509Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Tue 14 Jan 2014 06:19:40 PM UTC, comment #7:

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

Rik <rik5>
Project 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>
Project 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>
Project 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?

Rik <rik5>
Project 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?

Mike Miller <mtmiller>
Project 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:

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>
Project 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/



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

Attach File(s):

Attached Files
file #28045:  config2.log.gz added by None (116kB - application/x-gzip-compressed)
file #28039:  config.log added by None (30kB - text/x-log)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Jan 2014 06:19:40 PM UTCrik5StatusReady For Test=>Fixed
    Mon 11 Nov 2013 07:29:51 PM UTCrik5Summaryconfugure -> hdf5 doesn\'t handle path through=>configure -> hdf5 doesn't handle path through
    Wed 06 Nov 2013 12:08:34 AM UTCrik5StatusConfirmed=>Ready For Test
    Mon 13 May 2013 12:38:06 PM UTCmtmillerStatusNeed Info=>Confirmed
    Wed 08 May 2013 06:06:55 AM UTCNoneAttached File-=>Added config2.log.gz, #28045
    Tue 07 May 2013 04:49:15 PM UTCmtmillerStatusNone=>Need Info
    Tue 07 May 2013 01:57:51 PM UTCNoneAttached File-=>Added config.log, #28039

    Back to the top

    Powered by Savane 3.1-cleanup