[Pkg-octave-devel] Bug#297028: octave-forge: Missing depends on grace, switching back to gnuplot hard
Dennis Jørgensen
Dennis Jørgensen , 297028@bugs.debian.org
Sat, 26 Feb 2005 16:39:29 +0100
Package: octave-forge
Version: 2004.11.16-5
Severity: important
The new octave-forge made grace the default for plotting, without
depending on it, which octave doesn't like at all:
octave:1> x=linspace(-pi,pi,100);
octave:2> plot(x,sin(x))
grplot: Cannot start xmgrace
grplot:No grace subprocess
Segmentation fault
Installing grace fixes plotting of a single plot, but "hold on" doesn't work.
Installing grace6 just gives blank plots.
(Results based on very little testing)
Turning of grace seems hard:
octave:1> toggle_grace_use
error: /usr/share/octave/2.1.65/site/octave-forge-alternatives/m/graceplot: No such file or directory
error: near line 55 of file `/usr/share/octave/site/m/octave-forge/graceplot/toggle_grace_use.m'
Looking at the code of toggle_grace_use made me aware of grace_octave_path:
octave:1> grace_octave_path('/usr/share/octave/site/m/octave-forge/graceplot/');octave:2> toggle_grace_use
Use Grace: off
octave:3>
But if I plot something after this, grace still comes up. I don't
know if this is because I'm using grace_octave_path in the wrong
way, but then I guess toggle_grace_use should have failed again.
Regards,
Dennis Jørgensen
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages octave-forge depends on:
ii atlas3-base [liblapa 3.6.0-19 Automatically Tuned Linear Algebra
ii atlas3-sse [liblapac 3.6.0-19 Automatically Tuned Linear Algebra
ii fftw3 3.0.1-11 Library for computing Fast Fourier
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libcln3 1.1.9-1 Class Library for Numbers (C++)
ii libg2c0 1:3.3.5-8 Runtime library for GNU Fortran 77
ii libgcc1 1:3.4.3-9 GCC support library
ii libginac1.3 1.3.0-2 The GiNaC framework (runtime libra
ii libgmp3 4.1.4-5 Multiprecision arithmetic library
ii libgsl0 1.6-1 The GNU Scientific Library (GSL) -
ii libhdf5-serial-1.6.2 1.6.2-3 Hierarchical Data Format 5 (HDF5)
ii libice6 4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libqhull5 2003.1-1 Calculate convex hulls and related
ii libreadline5 5.0-10 GNU readline and history libraries
ii libsm6 4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii octave2.1 2.1.66-1 GNU Octave language for numerical
ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information