bugGNU Octave - Bugs: bug #43226, Preprocessor flags for...

 
 

bug #43226: Preprocessor flags for libinterp/octave.df-t are missing HDF5 flags

Submitted by:  Johannes Zarl <jzarl>
Submitted on:  Mon 15 Sep 2014 02:56:11 PM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  3.8.2 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Mon 15 Sep 2014 03:07:01 PM UTC, comment #1: 

Thanks for your bug report. I believe this is the same as bug #38928 already reported and under discussion. If you use CPPFLAGS instead of --with-hdf-* options, you should have a successful build, see the other bug report for more information.

Mike Miller <mtmiller>
Project Administrator
Mon 15 Sep 2014 02:56:11 PM UTC, original submission:  

The octave build fails for me with the following error:

make[2]: Entering directory `/jkuvrc/packages/octave/DIST/octave-3.8.2/libinterp'
making corefcn/defaults.h from corefcn/defaults.in.h
corefcn/defaults.h is unchanged
making oct-conf.h from oct-conf.in.h
oct-conf.h is unchanged
/apps/intel/compiler/composer_xe_2013_sp1.2.144/bin/intel64/icpc -E -DHAVE_CONFIG_H -I. -I..  \
          -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu -isystem /jkuvrc/packages/llvm/llvm-3.4.1/include -I/jkuvrc/packages/fftw/fftw-3.3.4-icc/include   \
           -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -no-prec-div -xHost -DMKL_LP64 -pthread \
          -DMAKE_BUILTINS octave.cc > octave.df-t
icpc: command line warning #10006: ignoring unknown option '-Wold-style-cast'
icpc: command line warning #10006: ignoring unknown option '-Wcast-align'
In file included from ./octave-value/ov.h(42),
                 from corefcn/Cell.h(32),
                 from octave.cc(52):
corefcn/oct-hdf5.h(27): error #2379: cannot open source file "hdf5.h"
  #include <hdf5.h>
                   ^

In file included from ./octave-value/ov-base.h(39),
                 from ./octave-value/ov.h(58),
                 from corefcn/Cell.h(32),
                 from octave.cc(52):
corefcn/oct-hdf5.h(27): error #2379: cannot open source file "hdf5.h"
  #include <hdf5.h>
                   ^

make[2]: *** [octave.df] Error 2

A quick fix is to add ${HDF5_CPPFLAGS} to AM_CPPFLAGS in libinterp/Makefile.in , but I'm not proficient enough with automake to fix this properly.

Johannes Zarl <jzarl>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jzarl (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-15 mtmiller StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #38928

    Back to the top


    Powered by Savane 3.5