f951: internal compiler error: Illegal instruction: 4 when installing packages

mzerobin via Help-octave <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
Hi to the community,
I am having problems running the following command: >> pkg install -forge io
statistics control struct optim“ which should install the statistics package
as far as I know.

My device is a MacBook Pro running Catalina macOS 10.15.7 and I have GNU
Octave, version 6.2.0 installed via Homebrew.

My goal is to get Octave running to be able to use Dynare. First, I updated
Homebrew. Then, I installed Octave using Homebrew via the Terminal which did
not result in any errors. Then, I run Octave via the command „octave —gui“
and it opens just fine. In order to use Dynare I need to install the
statistics package executing the following command ">> pkg install -forge io
statistics control struct optim“. 
When executing this or any other command to install packages the resulting
error is the following: 

/>> pkg install -forge io statistics control struct optim

warning: LFLAGS is deprecated and will be removed in a future version of
Octave, use LDFLAGS instead
f951: internal compiler error: Illegal instruction: 4
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew-core/issues> for instructions.
make: *** [slicotlibrary.a] Error 1
tar -xzf slicot.tar.gz
/usr/local/Cellar/octave/6.2.0_2/bin/mkoctfile-6.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/6.2.0_2/bin/mkoctfile-6.2.0 -c *.f

error: pkg: error running 'make' for the control package.
error: called from
    configure_make at line 110 column 9
    install at line 196 column 7
    pkg at line 568 column 9/

I googled many hours already and I am struggling to find any solution. As
far as I have found out the problem lies in the compiler error of f951 which
is related to gfortran or gcc to the best of my knowledge. Can anyone help
me out?

I am very willing to provide any further details if needed!

Hoping the best,
Manuel




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.