[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failure installing octave 2.1.50 on suse linux 9.0
From: |
Henry F. Mollet |
Subject: |
Re: failure installing octave 2.1.50 on suse linux 9.0 |
Date: |
Tue, 02 Mar 2004 09:01:52 -0800 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
Can somebody help me with my confusion about echo $PATH, PATH, EXEC_PATH,
and LOADPATH at the octave prompt. I assume the first should give the value
of the variable PATH but I get info about echo. The second one gives a
warning that I don't understand and the two path are from my octavrc located
in in my home directory. The EXEC_PATH must be the default directory
created by Fink during installation. Finally LOADPATH seems to be again the
paths from my octaverc but starts out with two ":". Then there is a m-file
called PATH.m or is it path.m mentioned in the warning?
Henry
octave:1> echo $PATH
*** echo:
- Command: echo options
Control whether commands are displayed as they are executed. Valid
options are:
`on'
Enable echoing of commands as they are executed in script
files.
cut
octave:2> PATH
warning: near line 2, column 1:
>>> PATH
warning: function name `path' does not agree with function file name
`/sw/share/octave/2.1.46/m/miscellaneous/PATH.m'
LOADPATH contains the following directories:
/sw/share/doc/octave/examples
/Users/mollet/CandO/epstk2
octave:3> EXEC_PATH
EXEC_PATH = :/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:.:/usr/X11R6/bin
octave:4> LOADPATH
LOADPATH = ::/sw/share/doc/octave/examples:/Users/mollet/CandO/epstk2
## Author: jwe
function p = path (varargin)
if (nargin == 0)
if (nargout == 0)
stdout << "\nLOADPATH contains the following directories:\n\n ";
stdout << strrep (LOADPATH, ":", "\n ") << "\n\n";
else
p = LOADPATH;
endif
else
p = varargin{1};
for i = 2:nargin
p = sprintf ("%s:%s", p, varargin{i});
endfor
LOADPATH = p;
endif
endfunction
on 3/2/04 5:43 AM, Christoph Dalitz at address@hidden
wrote:
> On Tue, 2 Mar 2004 14:31:34 +0100 (MET)
> "Björn Florack" <address@hidden> wrote:
>>
>> 5) trying to execute it by calling "octave" or "octave-2.1.50" returns with
>> the message
>> "bash: octave: command not found" (even though it exists with seemingly
>> proper rights, i.e. rwxr-xr-x)
>>
> Is /usr/local/bin in your search path? What is the output of "echo $PATH"?
>
> Christoph
>
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------