[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error when installing control-3.2.0 package in Octave 5.2.0
From: |
Maria Jose Casas Serrano |
Subject: |
Error when installing control-3.2.0 package in Octave 5.2.0 |
Date: |
Fri, 17 Apr 2020 11:48:25 +0200 |
Hi,
I’m having some problems when re-installing control-3.2.0 package in Octave
5.2.0. It was already installed but due to some problems with parallel one, I
uninstalled all the packages and now I’m not able to re-install the ones were
installed previously.
This is the output I’m getting when trying to install control pkg:
octave:5> pkg install -verbose control-3.2.0.tar.gz
Installing control package...
warning: LFLAGS is deprecated and will be removed in a future version of
Octave, use LDFLAGS instead
MA02ID.f:188:21:
184 | DO 90 J = 1, N+1
| 2
......
188 | DWORK(J-1) = DWORK(J-1) + TEMP
| 1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at (2)
MA02ID.f:188:34:
184 | DO 90 J = 1, N+1
| 2
......
188 | DWORK(J-1) = DWORK(J-1) + TEMP
| 1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at (2)
MA02ID.f:230:21:
226 | DO 160 J = 1, N+1
| 2
......
230 | DWORK(J-1) = DWORK(J-1) + TEMP
| 1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at (2)
MA02ID.f:230:34:
226 | DO 160 J = 1, N+1
| 2
......
230 | DWORK(J-1) = DWORK(J-1) + TEMP
| 1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at (2)
warning: LFLAGS is deprecated and will be removed in a future version of
Octave, use LDFLAGS instead
ld: warning: directory not found for option
'-L/usr/local/opt/gcc/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0'
ld: warning: directory not found for option
'-L/usr/local/opt/gcc/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0/../../..'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [__control_slicot_functions__.oct] Error 1
tar -xzf slicot.tar.gz
/usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 -Wall
-Wno-deprecated-declarations __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot
LFLAGS="-L/usr/local/Cellar/octave/5.2.0_4/lib/octave/5.2.0
-L/usr/local/Cellar/octave/5.2.0_4/lib -L/usr/local/opt/openblas/lib
-lopenblas -L/usr/local/opt/gcc/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0
-L/usr/local/opt/gcc/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0/../../..
-lgfortran -lquadmath -lm" \
/usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 -Wall
-Wno-deprecated-declarations __control_slicot_functions__.cc common.cc
slicotlibrary.a
pkg: error running `make' for the control package.
error: called from
configure_make at line 99 column 9
install at line 190 column 7
pkg at line 441 column 9
/Users/mariajcasas/.octaverc at line 32 column 9
Any tip would be appreciated. I’m getting frustrated….
Maria J
- Error when installing control-3.2.0 package in Octave 5.2.0,
Maria Jose Casas Serrano <=