help-octave
[Top][All Lists]
Advanced

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

Re: Optim package fails to install


From: Dmitri A. Sergatskov
Subject: Re: Optim package fails to install
Date: Tue, 3 Sep 2024 14:12:43 -0400

See https://savannah.gnu.org/bugs/?func=detailitem&item_id=65526

On Tue, Sep 3, 2024 at 1:46 PM Thomas D. Dean <tomdean@wavecable.com> wrote:
 > ver()
----------------------------------------------------------------------
GNU Octave Version: 10.0.0 (hg id: ee5f9ce4375e)
GNU Octave License: GNU General Public License
Operating System: Linux 6.8.0-40-generic #40~22.04.3-Ubuntu SMP
PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
   statistics  |   1.7.0 | /home/tomdean/octave/statistics-1.7.0
       struct  |  1.0.18 | /home/tomdean/octave/struct-1.0.18

 > pkg install
"https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/optim-1.6.2.tar.gz"
__max_nargin_optim__.cc: In function 'octave_value_list
F__max_nargin_optim__(const octave_value_list&, int)':
__max_nargin_optim__.cc:77:55: error: 'class
octave::tree_parameter_list' has no member named 'length'
    77 |       (fcn.user_function_value ()->parameter_list ()->length ());
       |                                                       ^~~~~~
make: *** [Makefile:78: __max_nargin_optim__.oct] Error 1
make: *** Waiting for unfinished jobs....
make: Entering directory '/tmp/oct-lTMNQx/optim-1.6.2/src'
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 -c error-helpers.cc
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 __bfgsmin.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 numgradient.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 numhessian.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 \
              -lopenblas \
             __disna_optim__.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations"
/usr/local/bin/mkoctfile-10.0.0 __max_nargin_optim__.cc error-helpers.o
make: Leaving directory '/tmp/oct-lTMNQx/optim-1.6.2/src'

error: pkg: error running 'make' for the optim package
error: called from
     configure_make at line 117 column 9
     install at line 202 column 7
     pkg at line 619 column 9

Tom Dean


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help

reply via email to

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