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

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

[Octave-bug-tracker] [bug #41520] Error installing control package in Oc


From: Julius Smith
Subject: [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks
Date: Sat, 18 Jun 2016 00:03:41 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

Follow-up Comment #7, bug #41520 (project octave):

Something is not quite there for me yet.  It looks like a nonworking -L option
to the linker.  While /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0/
does not exist, /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.4.0/ does.

<code>

> port installed | grep octave
  octave
@4.0.2_0+accelerate+app+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound
(active)

> port installed | grep fortran
  arpack @3.3.0_3+atlas+gfortran (active)
  octave
@4.0.2_0+accelerate+app+docs+fltk+gfortran+graphicsmagick+java+qt4gui+sound
(active)

> octave
>> pkg install -forge control
clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option
'-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0'
ld: warning: directory not found for option
'-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/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
/opt/local/bin/mkoctfile-4.0.2 __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; /opt/local/bin/mkoctfile-4.0.2 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot
LFLAGS="-L/opt/local/lib/octave/4.0.2 -L/opt/local/lib  -L/opt/local/lib
-lvecLibFort -L/opt/local/lib
-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0
-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0/../../.. -lgfortran
-lquadmath -lm" \
    /opt/local/bin/mkoctfile-4.0.2 __control_slicot_functions__.cc common.cc
slicotlibrary.a

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

>ls /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0
ls: /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0: No such file or
directory

>ls /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.4.0
crt3.o                  crtprec80.o             include                 
libcaf_single.a         libgfortranbegin.a
crtfastmath.o           crttme.o                include-fixed           
libgcc.a                plugin
crtprec32.o             crttms.o                include-gnu-runtime     
libgcc_eh.a
crtprec64.o             finclude                install-tools           
libgcov.a

</code>


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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