You are not logged in.

#1 2014-02-12 06:55:14

jameh0
Member
Registered: 2013-04-06
Posts: 40

gl2ps.h missing in Octave 3.8.0 pacman install

The following produces the following error when I try to save a plot in octave:

...
octave:9> saveas(h, "my_plot.png")
error: fltk: printing not available without gl2ps library
error: octave_base_value::double_value (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: octave_base_value::matrix_value(): wrong type argument '<unknown type>'
error: drawnow: A(I,J): row index out of bounds; value 1 out of bound 0
error: called from:
error:   /usr/share/octave/3.8.0/m/plot/util/private/__fltk_print__.m at line 166, column 5
error:   /usr/share/octave/3.8.0/m/plot/util/print.m at line 422, column 14
error:   /usr/share/octave/3.8.0/m/plot/util/saveas.m at line 105, column 3

when I search for it, I get nothing:

find /usr/include/ -name 'gl2ps.h'

and it is not on the file list for the current version (3.8.0):

pkgfile 'gl2ps.h'

however, before I updated pkgfile's references, the previous command did yield 'extra/octave'


Life is very short, and there's no time for fussing and fighting, my friends.

Offline

Board footer

Powered by FluxBB