octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64888] Failed installation of "Control" packa


From: Sridhar
Subject: [Octave-bug-tracker] [bug #64888] Failed installation of "Control" package on MacOS due to gfortran command not found
Date: Sun, 12 Nov 2023 15:35:20 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?64888>

                 Summary: Failed installation of "Control" package on MacOS
due to gfortran command not found
                   Group: GNU Octave
               Submitter: sridhartaal
               Submitted: Sun 12 Nov 2023 08:35:18 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation Failure
                  Status: None
             Assigned to: None
         Originator Name: Sridhar
        Originator Email: 
             Open/Closed: Open
                 Release: 8.3.0
         Discussion Lock: Any
        Operating System: Mac OS
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 12 Nov 2023 08:35:18 PM UTC By: Sridhar <sridhartaal>
Installation of the "control" package failed because the installer could not
locate gfortran on my system. I haven't found a solution in any internet
forums (stackexchange etc) that I have visited.

Octave version 8.3 and 8.4
gcc installed using homebrew, and confirmed in a Terminal that gfortran is
available on the system (version 13.2, /opt/homebrew/bin/gfortran)

The result of "pkg install -forge control" is:


sh: gfortran: command not found
sh: gfortran: command not found
make: *** [slicotlibrary.a] Error 127
make: *** Waiting for unfinished jobs....
ld: warning: duplicate -bundle_loader option,
'/opt/homebrew/Cellar/octave/8.4.0/bin/octave-8.4.0' ignored
ld: warning: duplicate -bundle_loader option,
'/opt/homebrew/Cellar/octave/8.4.0/bin/octave-8.4.0' ignored
tar -xzf slicot.tar.gz
/opt/homebrew/Cellar/octave/8.4.0/bin/mkoctfile-8.4.0 -Wall
-Wno-deprecated-declarations  __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
if [ "0" = "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;
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; /opt/homebrew/Cellar/octave/8.4.0/bin/mkoctfile-8.4.0 -w -c
MA02ID.f; rm MA02ID.f; /opt/homebrew/Cellar/octave/8.4.0/bin/mkoctfile-8.4.0
-c *.f;

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









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64888>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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