On 19.08.13 00:09, Daniel J Sebald wrote:
But src/octave-cli runs octave in terminal.
Plotting is fine?
I've tried a simple plot. It's fine on installed octave, but on built
sources it says:
octave-cli:1> x = -10:0.1:10;
octave-cli:2> plot (x, sin (x));
error: 'plot' undefined near line 1 column 1
That is strange. plot.m should be in the path. Type
type path
and check
path
to see if the path makes sense.
Dan
octave-cli:1> path
Octave's search path contains the following directories:
.
If I add all the subdirectories of octave/scripts/ directory (btw, is
there any way to do it in a single command?),
it answers on any command something like this:
error: unable to open /usr/local/share/octave/3.7.5/etc/macros.texi for
reading
error: called from:
error: /home/amateur/octave/scripts/help/__makeinfo__.m at line 100,
column 5
error: /home/amateur/octave/scripts/help/print_usage.m at line 128,
column 18
error: /home/amateur/octave/scripts/help/print_usage.m at line 59,
column 28
error: /home/amateur/octave/scripts/plot/plot.m at line 206, column 5
there is no /usr/local/share/octave/ folder, even if I do make install.