[MacPorts] #45210: Octave: unexpected termination after hitting ctrl-c (Octave v3.8.2, OSX10.9.5)
MacPorts
noreply at macports.org
Thu Feb 5 10:17:54 PST 2015
#45210: Octave: unexpected termination after hitting ctrl-c (Octave v3.8.2,
OSX10.9.5)
---------------------+-------------------------
Reporter: mike@… | Owner: michaelld@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: fixed | Keywords:
Port: octave |
---------------------+-------------------------
Comment (by roberthuston@…):
I still encountered the crash problem after updating. I meant to reply to
this thread but got sidetracked. I also encountered the "fltk" issue too.
Doing
{{{
sudo port self update
sudo port upgrade outdated
}}}
still produced a buggy octave build for me. I had to use
{{{
sudo port -f install octave +gui configure.compiler=clang
}}}
to make it behave. Also, the
/opt/local/share/octave/site/m/startup/octaverc file has
{{{
graphics_toolkit("fltk");
}}}
as the last line. It should be
{{{
graphics_toolkit("gnuplot");
}}}
(At least it was in all previous installations.) Just edit octaverc to fix
this.
If you want fltk, then install fltk-devel prior to reinstalling octave and
then add "+fltk" as a variant
{{{
sudo port install fltk-devel
sudo port -f install octave +fltk +gui configure.compiler=clang
}}}
Use fltk-devel since octave doesn't work correctly with the regular fltk.
(Note: The "+fltk" variant isn't listed in octave's "port info" output,
but it still seems to work.)
Replying to [comment:60 lists@…]:
> Replying to [comment:58 michaelld@…]:
> > Thanks for the feedback; seems like we need a better system for
determining which compiler to use. But, that's a separate issue from this
ticket's; so, I went ahead and checked in these changes -- including a
rev-bump to get changes in place for everyone. Added in r132228, r132229,
and r132230.
>
> Am I assuming right that now:
>
> {{{
> sudo port selfupdate
> sudo port upgrade outdated
> }}}
>
> should then fix the issue ?
>
> I have done so and upgraded to octave-3.8.2_4 but I still have the
issue. And it also complains about fltk, which it didn't do before:
>
>
> {{{
> % port installed octave
> octave @3.8.2_4+atlas+gcc49+gui (active)
> % port version
> Version: 2.3.3
> % octave -q
> error: graphics_toolkit: fltk toolkit is not available
> error: called from:
> error: /opt/local/share/octave/3.8.2/m/plot/util/graphics_toolkit.m at
line 70, column 5
> error: /opt/local/share/octave/site/m/startup/octaverc at line 5,
column 1
> octave:1> exit
> libc++abi.dylib: terminating with uncaught exception of type
octave_interrupt_exception
> panic: Abort trap: 6 -- stopping myself...
> attempting to save variables to 'octave-workspace'...
> save to 'octave-workspace' complete
> Abort trap: 6
> }}}
>
> I am running Yosemite. Is there something more I have to do ?
--
Ticket URL: <https://trac.macports.org/ticket/45210#comment:61>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list