help-octave
[Top][All Lists]
Advanced

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

Struct Install fails in Octave 5.1.0 on Ubuntu 18.04 LTS


From: sshah
Subject: Struct Install fails in Octave 5.1.0 on Ubuntu 18.04 LTS
Date: Fri, 1 Mar 2019 21:56:13 -0600 (CST)

I built Octave 5.1.0 from source on Ubuntu 18.04 LTS on AWS, following the
octave.wiki instructions. I did need to install libsundials-dev.
---------------

make check
Summary:

  PASS                            15513
  FAIL                                3
  XFAIL (reported bug)               26
  SKIP (missing feature)             37
  SKIP (run-time condition)          20
---------

I was able to install control package from forge but got errors in
installing struct package.

-----------
octave:14> pkg install -forge struct
In file included from error-helpers.cc:22:0:
error-helpers.h:31:22: error: ‘octave_execution_exception’ does not name a
type; did you mean ‘make_execution_exception’?
 void c_verror (const octave_execution_exception&, const char *, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
                      make_execution_exception
error-helpers.cc:36:17: error: ‘octave_execution_exception’ does not name a
type; did you mean ‘make_execution_exception’?
 c_verror (const octave_execution_exception&, const char *fmt, ...)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
                 make_execution_exception
error-helpers.cc: In function ‘void _p_error(const char*, ...)’:
error-helpers.cc:60:8: error: ‘cerr’ is not a member of ‘std’
   std::cerr << msg;
        ^~~~
error-helpers.cc:60:8: note: suggested alternative: ‘errc’
   std::cerr << msg;
        ^~~~
        errc
make: *** [error-helpers.o] Error 1
make: Entering directory '/tmp/oct-PYudA4/struct-1.0.15/src'
CXXFLAGS="-g -O2 -Wno-deprecated-declarations"
/opt/octave-5.1.0/bin/mkoctfile-5.1.0 -c error-helpers.cc
Makefile:40: recipe for target 'error-helpers.o' failed
make: Leaving directory '/tmp/oct-PYudA4/struct-1.0.15/src'

pkg: error running `make' for the struct package.
error: called from
    configure_make at line 99 column 9
    install at line 184 column 7
    pkg at line 441 column 9

---------------------

Any suggestions?






--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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