help-octave
[Top][All Lists]
Advanced

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

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


From: mzerobin
Subject: f951: internal compiler error: Illegal instruction: 4 when installing packages
Date: Tue, 13 Apr 2021 17:16:06 -0500 (CDT)

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



reply via email to

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