help-octave
[Top][All Lists]
Advanced

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

Re: Can't install control pkg on Mac OSX 10.10.3


From: address@hidden
Subject: Re: Can't install control pkg on Mac OSX 10.10.3
Date: Fri, 12 Jun 2015 21:10:33 +0900 (JST)


--- address@hidden wrote:
> Can anyone make head or tail of the below output?
> Thanks!-Brian
> octave:107> pkg install -forge control
> /usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 456: 99442 Segmentation 
> fault: 11  /usr/local/octave/3.8.0/bin/gfortran-mp-4.7 -c -fPIC -pipe -Os 
> AB01MD.f -o AB01MD.o
> make: *** [slicotlibrary.a] Error 139
> tar -xzf slicot.tar.gz
> 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/octave/3.8.0/bin/mkoctfile-3.8.0 -c *.f
> 
> pkg: error running `make' for the control package.
> error: called from 'configure_make' in file 
> /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m 
> near line 82, column 9
> error: called from:
> error:   /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m 
> at line 199, column 5
> error:   /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line 394, 
> column 9

I have never used mac osx so that I have been quiet anticipating that mac user 
will reply.

The error you met happened during compiling. It is possible that fortran code 
induced compiling bug. I am not sure but changing compiling option might change 
the situation. 

First please observe

mkoctfile -p FFFLAGS

and observe what is compiling flags for gfortran. After that change compiling 
flags using setenv command like 

setenv("FFFLAGS", "(modified options)")

-fPIC flag cannot be changed.

The optimization flag is candidate.

As first try, omit -Os flag.

Tatsuro




reply via email to

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