[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 17:18:33 +0200 |
>> On May 16, 2016, at 09:04, Vic Norton <address@hidden> wrote:
>>
>> Hi Sebastian,
>>
>> 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>’
>> ...
>>
>> Sometimes the plot shows up. Sometimes not.
>>
>> Any advice would be appreciated.
>
> You need the gl2ps library. As a work around, you can switch to GNUPLOT.
gl2ps is for sure included (check 'ls /usr/local/opt/gl2ps') but fig2dev is
not. I assume that something goes wrong when octave does not fing gl2ps and (!)
fig2dev at compile or run time.
Seb.