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: Brian Kaczynski
Subject: Re: Can't install control pkg on Mac OSX 10.10.3
Date: Fri, 12 Jun 2015 18:04:24 +0200

I installed Octave 3.8.0 from here:
http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2013-12-30%20binary%20installer%20of%20Octave%203.8.0%20for%20OSX%2010.9.1%20%28beta%29/

I am not savvy enough to "build" anything myself. :)  I have no idea what gfortran is either and have no idea if I even have it much less where it came from...

I guess part of the problem could be that there is no installer for OSX Yosemite yet so I grabbed the 3.8.0 version for OSX 10.9.1.  It seems to *mostly* work.  Maybe this is the reason I can't install packages though...?

-Brian

2015-06-12 17:41 GMT+02:00 Ben Abbott <address@hidden>:
On Jun 12, 2015, at 6:11 AM, Brian Kaczynski <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 expect the problem is that your gfortran isn’t finding the proper libraries it requires when it attempts to compile AB01MD.f.

Did you build Octave yourself? Of did you download it from somewhere?

Where did you get gfortran from?

Ben


reply via email to

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