Re: Optim package fails to install

"Dmitri A. Sergatskov" <[email protected]> Tue, 3 Sep 2024 14:12:43 -0400
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAO+XyQKwu5qqE9juQLiom1Wn7B=wR-duK89+C4-b7WzjwkiRWA@mail.gmail.com>
--===============1979167722220999676==
Content-Type: multipart/alternative; boundary="000000000000a3d5c706213b0121"

--000000000000a3d5c706213b0121
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

See https://savannah.gnu.org/bugs/?func=3Ddetailitem&item_id=3D65526

On Tue, Sep 3, 2024 at 1:46=E2=80=AFPM Thomas D. Dean <[email protected]=
m> 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%20Package=
s/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=3D"-g -O2 -Wall -Wno-deprecated-declarations"
> /usr/local/bin/mkoctfile-10.0.0 -c error-helpers.cc
> CXXFLAGS=3D"-g -O2 -Wall -Wno-deprecated-declarations"
> /usr/local/bin/mkoctfile-10.0.0 __bfgsmin.cc error-helpers.o
> CXXFLAGS=3D"-g -O2 -Wall -Wno-deprecated-declarations"
> /usr/local/bin/mkoctfile-10.0.0 numgradient.cc error-helpers.o
> CXXFLAGS=3D"-g -O2 -Wall -Wno-deprecated-declarations"
> /usr/local/bin/mkoctfile-10.0.0 numhessian.cc error-helpers.o
> CXXFLAGS=3D"-g -O2 -Wall -Wno-deprecated-declarations"
> /usr/local/bin/mkoctfile-10.0.0 \
>               -lopenblas \
>              __disna_optim__.cc error-helpers.o
> CXXFLAGS=3D"-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
>

--000000000000a3d5c706213b0121
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e;font-size:large">See=C2=A0<a href=3D"https://savannah.gnu.org/bugs/?func=
=3Ddetailitem&amp;item_id=3D65526">https://savannah.gnu.org/bugs/?func=3Dde=
tailitem&amp;item_id=3D65526</a></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 3, 2024 at 1:46=E2=80=AFP=
M Thomas D. Dean &lt;<a href=3D"mailto:[email protected]">tomdean@wavec=
able.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">=C2=A0&gt; ver()<br>
----------------------------------------------------------------------<br>
GNU Octave Version: 10.0.0 (hg id: ee5f9ce4375e)<br>
GNU Octave License: GNU General Public License<br>
Operating System: Linux 6.8.0-40-generic #40~22.04.3-Ubuntu SMP <br>
PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64<br>
----------------------------------------------------------------------<br>
Package Name=C2=A0 | Version | Installation directory<br>
--------------+---------+-----------------------<br>
=C2=A0 =C2=A0statistics=C2=A0 |=C2=A0 =C2=A01.7.0 | /home/tomdean/octave/st=
atistics-1.7.0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0struct=C2=A0 |=C2=A0 1.0.18 | /home/tomdean/octa=
ve/struct-1.0.18<br>
<br>
=C2=A0&gt; pkg install <br>
&quot;<a href=3D"https://downloads.sourceforge.net/project/octave/Octave%20=
Forge%20Packages/Individual%20Package%20Releases/optim-1.6.2.tar.gz" rel=3D=
"noreferrer" target=3D"_blank">https://downloads.sourceforge.net/project/oc=
tave/Octave%20Forge%20Packages/Individual%20Package%20Releases/optim-1.6.2.=
tar.gz</a>&quot;<br>
__max_nargin_optim__.cc: In function &#39;octave_value_list <br>
F__max_nargin_optim__(const octave_value_list&amp;, int)&#39;:<br>
__max_nargin_optim__.cc:77:55: error: &#39;class <br>
octave::tree_parameter_list&#39; has no member named &#39;length&#39;<br>
=C2=A0 =C2=A0 77 |=C2=A0 =C2=A0 =C2=A0 =C2=A0(fcn.user_function_value ()-&g=
t;parameter_list ()-&gt;length ());<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0^~~~~~<br>
make: *** [Makefile:78: __max_nargin_optim__.oct] Error 1<br>
make: *** Waiting for unfinished jobs....<br>
make: Entering directory &#39;/tmp/oct-lTMNQx/optim-1.6.2/src&#39;<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 -c error-helpers.cc<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 __bfgsmin.cc error-helpers.o<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 numgradient.cc error-helpers.o<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 numhessian.cc error-helpers.o<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -lopenblas \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__disna_optim__.cc error-he=
lpers.o<br>
CXXFLAGS=3D&quot;-g -O2 -Wall -Wno-deprecated-declarations&quot; <br>
/usr/local/bin/mkoctfile-10.0.0 __max_nargin_optim__.cc error-helpers.o<br>
make: Leaving directory &#39;/tmp/oct-lTMNQx/optim-1.6.2/src&#39;<br>
<br>
error: pkg: error running &#39;make&#39; for the optim package<br>
error: called from<br>
=C2=A0 =C2=A0 =C2=A0configure_make at line 117 column 9<br>
=C2=A0 =C2=A0 =C2=A0install at line 202 column 7<br>
=C2=A0 =C2=A0 =C2=A0pkg at line 619 column 9<br>
<br>
Tom Dean<br>
<br>
<br>
----------<br>
We are transitioning to a web based forum<br>
for community help discussions at<br>
<a href=3D"https://octave.discourse.group/c/help" rel=3D"noreferrer" target=
=3D"_blank">https://octave.discourse.group/c/help</a><br>
</blockquote></div>

--000000000000a3d5c706213b0121--


--===============1979167722220999676==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y
IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n
cm91cC9jL2hlbHAK

--===============1979167722220999676==--