help-octave
[Top][All Lists]
Advanced

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

Re: Installation/compilation error


From: SAMRAT RAO
Subject: Re: Installation/compilation error
Date: Mon, 22 Dec 2008 11:54:59 +0530

Hi,
   By mistake i had taken this conversation offline. So this is a repeat post in some sense.
   Using the suggestion i was able to compile octave-3.0.3 (the size of the octave-3.0.3 directory is 1Gb). But 'make check' immediately gives the error:

address@hidden:/media/work/
softwares/octave/octave-3.0.3> make check
make -f octMakefile check
make[1]: Entering directory `/media/work/softwares/octave/octave-3.0.3'
make -C test check
make[2]: Entering directory `/media/work/softwares/octave/octave-3.0.3/test'
./build_sparse_tests.sh
../run-octave --norc --silent --no-history ./fntests.m .

Integrated test scripts:

  src/DLD-FUNCTIONS/bsxfun.cc ............................panic: Illegal instruction -- stopping myself...
make[2]: *** [check] Illegal instruction
make[2]: Leaving directory `/media/work/softwares/octave/octave-3.0.3/test'
make[1]: *** [check] Error 2

make[1]: Leaving directory `/media/work/softwares/octave/octave-3.0.3'
make: *** [check] Error 2

What should be my next step?

Samrat.


On Mon, Dec 22, 2008 at 8:47 AM, Dmitri A. Sergatskov <address@hidden> wrote:
On Sun, Dec 21, 2008 at 8:53 PM, SAMRAT RAO <address@hidden> wrote:
> Hi,
>    I am trying to compile octave 3.0.3 from source in my openSUSE 11.0. I am
> stuck with the following error:
>
> ls-hdf5.cc: In function 'bool hdf5_check_attr(hid_t, const char*)':
> ls-hdf5.cc:146: error: invalid conversion from 'herr_t (**)(hid_t, void*)'
> to 'hid_t'
> ls-hdf5.cc:146: error: invalid conversion from 'void**' to 'herr_t
> (**)(hid_t, void*)'

You need to set HDF5-1.6 compatibility by defining CPPFLAGS="-DH5_USE_16_API"
e.g.:

./configure CPPFLAGS="-DH5_USE_16_API"

Dmitri.
--


reply via email to

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