octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dev (gui) build does not start on kubuntu 13.04


From: Daniel J Sebald
Subject: Re: dev (gui) build does not start on kubuntu 13.04
Date: Sun, 18 Aug 2013 17:11:05 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 08/18/2013 04:37 PM, Kirill Fuior wrote:
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:
.

That's certainly not correct.  :-)


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.

I looked back at your build description and you didn't do an install. I'm not sure, but I think one needs to be a superuser to install Octave, so you may have not installed properly. Without an install, you need to use "run-octave" to properly set up the environment. Are you doing something like this?

~/octave/run-octave --no-gui

?

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]