Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3680 - octave optional dependency gnuplot for "plot" command

Attached to Project: Arch Linux
Opened by chris hellriegel (shellrie) - Saturday, 31 December 2005, 07:16 GMT
Last edited by Damir Perisa (damir.perisa) - Friday, 13 January 2006, 16:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Low
Priority High
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I installed a package called octave, which is a mathematical calculational software, but one of the commands for octave requires an outside program that is not installed as any type of dependency, so if you don't install the required package manually, the command in octave will not work. The version of octave is 2.1.72-1 which is in the extra repo. The octave command is called 'plot' without the quotes. The 'plot' command uses gnuplot to do the plotting, which is a completely separate package. When I tried to use 'plot' it gave me an error that said the following:

octave:4> plot
usage: plot (y)
plot (x, y, ...)
plot (x, y, fmt, ...)
error: evaluating if command near line 30, column 3
error: called from `__plt__' in file `/usr/share/octave/2.1.72/m/plot/__plt__.m'error: called from `plot' in file `/usr/share/octave/2.1.72/m/plot/plot.m'
octave:4> sh: gnuplot: command not found

warning: connection to external plotter (pid = 32097) lost --
warning: please try your plot command(s) again
warning: broken pipe -- some output may be lost
octave:4>


When I saw reference to the gnuplot package, I then manually installed the gnuplot package, version 4.0.0-1, which was in the extra repo, and the plot command for octave then worked. A simple fix for this problem would be to just add the gnuplot package as a dependency for octave.

Sincerely,

S. Chris Hellriegel
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Saturday, 13 May 2006, 16:58 GMT
Reason for closing:  Implemented
Additional comments about closing:  octave 2.1.73-2
Comment by Damir Perisa (damir.perisa) - Saturday, 31 December 2005, 17:23 GMT
i will add a post_install info, that if one wants to plot things, gnuplot is needed.

Loading...