Thu 31 Mar 2016 04:16:26 PM UTC, original submission:
Platform: Linux 64 bits
Distribution: Mageia 5
Desktop: 4.14.5
gcc version: 4.9.2
I have tried to install development version of octave-4.1.0+ from the tarball but the make failed giving the following message:
CXX liboctave/util/liboctave_util_libutil_la-sparse-util.lo
In file included from /usr/include/suitesparse/SuiteSparse_config.h:47:0,
from /usr/include/suitesparse/amd.h:46,
from liboctave/util/oct-sparse.h:29,
from liboctave/util/sparse-util.cc:31:
libgnu/math.h: In function 'int signbit(double)':
libgnu/math.h:2577:1: error: conflicting declaration of C function 'int
signbit(double)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
^
libgnu/math.h:2577:1: note: previous declaration 'int signbit(float)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
^
libgnu/math.h: In function 'int signbit(long double)':
libgnu/math.h:2577:1: error: conflicting declaration of C function 'int
signbit(long double)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
^
libgnu/math.h:2577:1: note: previous declaration 'int signbit(double)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
^
libgnu/math.h:2577:1: error: conflicting declaration of C function 'int
signbit(long double)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
^
libgnu/math.h:2577:1: note: previous declaration 'int signbit(float)'
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
Configure displayed some warnings:
configure: WARNING: CAMD library not found. This will result in some lack of
functionality for sparse matrices.
configure: WARNING: COLAMD library not found. This will result in some lack
of functionality for sparse matrices.
configure: WARNING: CCOLAMD library not found. This will result in some lack
of functionality for sparse matrices.
Since I don't know whether they may have any relation with the error, I tried
configure using options:
--with-amd-includedir=/usr/include/suisparse
--with-amd-libdir=/usr/lib64
etc.
and using the respective --without-... options.
Nothing changed in either case. The error abode.
I had been able to install octave-4.0.1 in the same platform (same compilers, same autotools version, etc) without problems.
|