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: Ben Abbott
Subject: Re: Can't install control pkg on Mac OSX 10.10.3
Date: Fri, 12 Jun 2015 12:24:27 -0400


On Jun 12, 2015, at 12:04 PM, Brian Kaczynski <address@hidden> wrote:


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


Ok. That is an experimental build. I don’t think it was intended for Yosemite. But it is good news that it runs.

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…

The gfortran came bundled with Octave.  Although Octave works on Yosemite, gfortran does not. I expect that is because it relies upon some libraries that changed.

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

If you need to install packages, I recommend you first uninstall Octave. From the Finder -> Go -> Go to Folder and enter /usr/local. Then single click on the octave folder and Finder -> File -> Move to Trash. You’ll need to enter your password to do that. Be careful not do delete anything else.

Once Octave is gone, you can install Octave via Fink.

http://www.finkproject.org

There are some simple instructions at this link …

http://wiki.octave.org/Octave_for_MacOS_X#Fink

If you have any trouble with the instructions, let me know and I can fix them.

Ben




reply via email to

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