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

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

[Octave-bug-tracker] [bug #46909] mkoctfiles returns wrong folder for fo


From: Quentin
Subject: [Octave-bug-tracker] [bug #46909] mkoctfiles returns wrong folder for fortran library
Date: Fri, 15 Jan 2016 16:53:13 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?46909>

                 Summary: mkoctfiles returns wrong folder for fortran library
                 Project: GNU Octave
            Submitted by: impact27
            Submitted on: Fri 15 Jan 2016 04:53:11 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Mac OS

    _______________________________________________________

Details:

I have trouble installing package requiring fortran, as the fortran library is
not found.

mkoctfile -p FLIBS sends me to the folder:
> usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0
Which does not exists. On my computer I have a:
> usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.2.0/5.3.0

mkoctfile response:


mkoctfile -p FLIBS
-L/usr/local/opt/readline/lib
-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0
-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0/../../..
-lreadline -lgfortran -lquadmath -lm


Error when using pkg


> pkg install -global Downloads/control-3.0.0.tar.gz
ld: warning: directory not found for option
'-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0'
ld: warning: directory not found for option
'-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.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/4.0.0_5/bin/mkoctfile-4.0.0
__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/4.0.0_5/bin/mkoctfile-4.0.0 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot
LFLAGS="-L/usr/local/Cellar/octave/4.0.0_5/lib/octave/4.0.0
-L/usr/local/Cellar/octave/4.0.0_5/lib -llapack -lblas
-L/usr/local/opt/readline/lib
-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0
-L/usr/local/Cellar/gcc/5.3.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.3.0/../../..
-lreadline -lgfortran -lquadmath -lm" \
    /usr/local/Cellar/octave/4.0.0_5/bin/mkoctfile-4.0.0
__control_slicot_functions__.cc common.cc slicotlibrary.a

pkg: error running `make' for the control package.
error: called from 'configure_make' in file
/usr/local/Cellar/octave/4.0.0_5/share/octave/4.0.0/m/pkg/private/configure_make.m
near line 96, column 9








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46909>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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