octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43226] Preprocessor flags for libinterp/octav


From: Johannes Zarl
Subject: [Octave-bug-tracker] [bug #43226] Preprocessor flags for libinterp/octave.df-t are missing HDF5 flags
Date: Mon, 15 Sep 2014 14:56:12 +0000
User-agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16

URL:
  <http://savannah.gnu.org/bugs/?43226>

                 Summary: Preprocessor flags for libinterp/octave.df-t are
missing HDF5 flags
                 Project: GNU Octave
            Submitted by: jzarl
            Submitted on: Mon 15 Sep 2014 02:56:11 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43226>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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