help-octave
[Top][All Lists]
Advanced

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

pkg: error running `make' for the struct package.


From: mismichael
Subject: pkg: error running `make' for the struct package.
Date: Tue, 19 Mar 2019 05:21:21 -0500 (CDT)

Hi,
I am relatively fresh user of Octave hence I might need a bit more
explanation on the installation of packages.

I am using Octave 5.1.0 for Windows, zip package. I have no admin access to
the machine I use and I am currently unable to install the software from
installer.
When I try to install package OPTIM I need STRUCT. I use following command
to get STRUCT:
/pkg install -forge -local struct/

And this is what I get in return:
/民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: *** [Makefile:40: error-helpers.o] Error 1
make: Entering directory
'/c/Users/QQQ/AppData/Local/Temp/oct-WkD7TM/struct-1.0.15/src'
CXXFLAGS="-g -O2 -Wno-deprecated-declarations"
C:/Users/QQQ/Desktop/PORTAB~1/OCTAVE~1.0-W/mingw64/bin/mkoctfile-5.1.0.exe
-c error-helpers.cc
make: Leaving directory
'/c/Users/gcimmi/AppData/Local/Temp/oct-WkD7TM/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/
Is there a way to istall the packages manually? I have tried also to
download the package to my HDD and install it from there. Effect was the
same.
Thank you.



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



reply via email to

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