[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Homebrew Octave 4.0.2
From: |
Sebastian |
Subject: |
Re: Homebrew Octave 4.0.2 |
Date: |
Mon, 16 May 2016 15:59:15 +0200 |
Sorry now with bottom post...
>> I have some serious problems with HomeBrew’s Octave 4.0.2, primarily with
>> any kind of plotting. I’ve gone back to Octave 4.0.0_5, which works fine for
>> me.
>>
>> I don’t know what to report about 4.0.2 or where. Here is a typical problem:
>>
>> ~$ octave --no-gui
>> GNU Octave, version 4.0.2
>> …
>> octave> x = 0 : 0.1 : 4;
>> octave> setenv GNUTERM qt;
>> octave> plot(x, sin(x));
>> octave> 2016-05-15 17:03:39.865 octave-gui[11088:451929] modalSession has
>> been exited prematurely - check for a reentrant call to endModalSession:
>> warning: print.m: fig2dev binary is not available.
>> Some output formats are not available.
>> warning: called from
>> __print_parse_opts__ at line 385 column 9
>> print at line 288 column 8
>> error: print: printing not available without gl2ps library
>> error: called from
>> __opengl_print__ at line 168 column 7
>> print at line 431 column 14
>> error: octave_base_value::convert_to_str_internal (): wrong type argument
>> '<unknown type>’
>> ...
>>
> I am aware of plotting problems and I am currently trying to debug it.
> Does the problem already occurs while plotting or when printing?
>
> Possible solutions:
>
> (a) try the following (it makes sure that gnuplot is used)
>
> octave-cli --no-window-system
>> graphics_toolkit gnuplot;
>> setenv GNUTERM qt;
>> x = 0:0.1:4; plot(x, sin(x));
>
> (b) if you are more adventurous and you like compiling
>
> # get the very latest gnuplot (5.1)
> brew uninstall gnuplot
> brew install gnuplot --with-qt --with-cairo --HEAD
>
> # get fig2dev
> brew install schoeps/xfig/transfig
>
> # reinstall octave
> brew uninstall octave
> brew install octave --build-from-source
>
> Please tell me if (a) or (b) are working for you.
I forgot to mention: I am planning to release the Mac app of Octave 4.0.2 soon
officially. Maybe you like to test
https://dl.dropboxusercontent.com/u/2079838/octave_gui_402.dmg
or
https://dl.dropboxusercontent.com/u/2079838/octave_cli_402.dmg
Sebastian