Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install pkg control #122

Open
jcarayacorrea opened this issue Jan 3, 2025 · 0 comments
Open

Cannot install pkg control #122

jcarayacorrea opened this issue Jan 3, 2025 · 0 comments

Comments

@jcarayacorrea
Copy link

jcarayacorrea commented Jan 3, 2025

  • xeus-octave version: latest
  • Operating System: docker linux

Description

Cannot install pkg control at both situation with -forge and directly from tar file

What I Did

tar file installation

octave:1> pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/control-3.5.0.tar.gz"
/bin/bash: line 1: /home/conda/feedstock_root/build_artifacts/octave_1728045188827/build_env/bin/x86_64-conda-linux-gnu-gfortran: No such file or directory
/bin/bash: line 1: /home/conda/feedstock_root/build_artifacts/octave_1728045188827/build_env/bin/x86_64-conda-linux-gnu-gfortran: No such file or directory
make: *** [Makefile:53: slicotlibrary.a] Error 127
make: *** Waiting for unfinished jobs....
In file included from control_helper_functions.cc:7:
lti_input_idx.cc: In function 'octave_value_list F__lti_input_idx
(const octave_value_list&, int)':
lti_input_idx.cc:96:5: error: 'Range' was not declared in this scope
96 | Range mat_idx (1, idx-offset);
| ^~~~~
lti_input_idx.cc:97:10: error: expected ';' before 'opt_idx'
97 | Range opt_idx (idx+1-offset, len);
| ^~~~~~~~
| ;
lti_input_idx.cc:100:17: error: 'opt_idx' was not declared in this scope
100 | retval(1) = opt_idx;
| ^~~~~~~
lti_input_idx.cc:101:17: error: 'mat_idx' was not declared in this scope
101 | retval(0) = mat_idx;
| ^~~~~~~
make: *** [Makefile:69: control_helper_functions.oct] Error 1
make: Entering directory '/tmp/oct-LTcFMi/control-3.5.0/src'
tar -xzf slicot.tar.gz
/home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -Wall -Wno-deprecated-declarations control_helper_functions.cc
mkdir sltmp
mv slicot/src/.f ./sltmp
mv slicot/src_aux/
.f ./sltmp
if [ "1" = "1" ]; then
echo "copy routines using DGGES";
cp SB04OD.fortran ./sltmp/SB04OD.f;
cp SG03AD.fortran ./sltmp/SG03AD.f;
cp SG03BD.fortran ./sltmp/SG03BD.f;
fi;
copy routines using DGGES
cp AB08NX.fortran ./sltmp/AB08NX.f
cp AG08BY.fortran ./sltmp/AG08BY.f
cp SB01BY.fortran ./sltmp/SB01BY.f
cp SB01FY.fortran ./sltmp/SB01FY.f
cp SB06ND.fortran ./sltmp/SB06ND.f
cp TB01MD.fortran ./sltmp/TB01MD.f
cp TB01ND.fortran ./sltmp/TB01ND.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cp TG04BX.fortran ./sltmp/TG04BX.f
cp ODLTZM.fortran ./sltmp/ODLTZM.f
cp makefile.slicot ./sltmp/makefile
cd sltmp; /home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -w -c MA02ID.f; rm MA02ID.f; /home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -c *.f;
make: Leaving directory '/tmp/oct-LTcFMi/control-3.5.0/src'

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

from forge

octave:1> pkg install -forge control
/bin/bash: line 1: /home/conda/feedstock_root/build_artifacts/octave_1728045188827/_build_env/bin/x86_64-conda-linux-gnu-gfortran: No such file or directory
/bin/bash: line 1: /home/conda/feedstock_root/build_artifacts/octave_1728045188827/_build_env/bin/x86_64-conda-linux-gnu-gfortran: No such file or directory
make: *** [Makefile:53: slicotlibrary.a] Error 127
make: *** Waiting for unfinished jobs....
make: Entering directory '/tmp/oct-RrYR4E/control-4.1.0/src'
cd slicot/src && /home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -w -c MA02ID.f; mv MA02ID.f x && /home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -c *.f && mv x MA02ID.f
/home/docker/conda/envs/xeus-octave/bin/mkoctfile-9.2.0 -Wall -Wno-deprecated-declarations control_helper_functions.cc
make: Leaving directory '/tmp/oct-RrYR4E/control-4.1.0/src'

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

it's running at a conda environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant