FS#33014 - [octave] changing graphics toolkit
Attached to Project:
Arch Linux
Opened by Gajo Petrovic (gajop) - Saturday, 08 December 2012, 14:54 GMT
Last edited by Ronald van Haren (pressh) - Monday, 23 December 2013, 18:01 GMT
Opened by Gajo Petrovic (gajop) - Saturday, 08 December 2012, 14:54 GMT
Last edited by Ronald van Haren (pressh) - Monday, 23 December 2013, 18:01 GMT
|
Details
can't switch to fltk plotting toolkit even though it's
installed
steps: > available_graphics_toolkits ans = { [1,1] = fltk [1,2] = gnuplot } > graphics_toolkit() ans = gnuplot > graphics_toolkit("fltk") error: feval: function `__init_fltk__' not found error: called from: error: /usr/share/octave/3.6.3/m/plot/graphics_toolkit.m at line 59, column > __init_fltk__ % autocompletes, but.. error: error: `__init_fltk__' undefined near line 7 column 1 > __init_gnuplot__ % autocompletes and executes successfully resolution: upgrade octave to 3.7.0+, seems it works there versions: $ pacman -Qi octave Name : octave Version : 3.6.3-1 URL : http://www.octave.org Licenses : GPL Groups : None Provides : None Depends On : fftw curl graphicsmagick glpk hdf5 qhull fltk suitesparse arpack Optional Deps : texinfo: for help-support in octave gnuplot: alternative plotting Required By : None Conflicts With : None Replaces : None Installed Size : 45236.00 KiB Packager : Eric Belanger <eric@archlinux.org> Architecture : x86_64 Build Date : Sat 17 Nov 2012 03:46:39 PM CET Install Date : Fri 23 Nov 2012 08:29:09 PM CET Install Reason : Explicitly installed Install Script : Yes Description : A high-level language, primarily intended for numerical computations. $ pacman -Qi fltk Name : fltk Version : 1.3.1-1 URL : http://www.fltk.org/ Licenses : custom:LGPL Groups : None Provides : None Depends On : libjpeg libpng libxft libxinerama hicolor-icon-theme desktop-file-utils xdg-utils Optional Deps : None Required By : octave Conflicts With : None Replaces : None Installed Size : 5716.00 KiB Packager : Eric Belanger <eric@archlinux.org> Architecture : x86_64 Build Date : Wed 07 Nov 2012 11:54:21 PM CET Install Date : Sat 10 Nov 2012 03:34:51 AM CET Install Reason : Explicitly installed Install Script : Yes Description : Graphical user interface toolkit for X |
This task depends upon
Closed by Ronald van Haren (pressh)
Monday, 23 December 2013, 18:01 GMT
Reason for closing: Works for me
Monday, 23 December 2013, 18:01 GMT
Reason for closing: Works for me
error: `__init_fltk__' undefined near line 2 column 1
Unlike the reporter I rebuilt the very same version from extra repository rather than 3.7.0, the resulting 3.6.3-2 package works just fine and I see that the size of __init_fltk__.oct is different than the one provided by prebuild package in repository.
Could it just be that file /usr/lib/octave/3.6.3/oct/i686-pc-linux-gnu/__init_fltk__.oct got corrupted in the package from repository?
Can the maintainer reproduce the issue at all? If so can the maintainer just push in a new build?