[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
default path to oct files
From: |
John W. Eaton |
Subject: |
default path to oct files |
Date: |
Thu, 10 Jul 2008 11:00:22 -0400 |
On 9-Jul-2008, JF Cardoso wrote:
| Hello,
|
|
| With octave 3.0.0, the defaut path includes both:
| /usr/local/libexec/octave/3.0.0/oct/i686-pc-linux-gnu
| /usr/local/libexec/octave/site/oct/api-v32/i686-pc-linux-gnu
|
| With octave 3.0.1, it only includes:
| /usr/local/libexec/octave/3.0.1/oct/i686-pc-linux-gnu
|
| This is a minor annoyance to me which I fixed by adding
| addpath(octave_config_info.localapioctfiledir) ;
| to my ~/.octaverc file.
|
| I am reporting this in case this change is unintentional (I cannot
| find mention of it in the Changelog, but I may be looking at the wrong
| places).
Does the /usr/local/libexec/octave/site/oct/api-v32/i686-pc-linux-gnu
directory exist on your system?
The load_path::do_initialize function in src/load-path.cc includes the
lines
...
if (set_initial_path)
{
maybe_add_path_elts (sys_path, Vlocal_ver_oct_file_dir);
maybe_add_path_elts (sys_path, Vlocal_api_oct_file_dir);
maybe_add_path_elts (sys_path, Vlocal_oct_file_dir);
maybe_add_path_elts (sys_path, Vlocal_ver_fcn_file_dir);
maybe_add_path_elts (sys_path, Vlocal_api_fcn_file_dir);
maybe_add_path_elts (sys_path, Vlocal_fcn_file_dir);
maybe_add_path_elts (sys_path, Voct_file_dir);
maybe_add_path_elts (sys_path, Vfcn_file_dir);
}
...
and Vlocal_api_oct_file_dir should be set to the site/oct/APIVER/ARCH
directory, so I think it should be added to the path if it exists.
I see that it is not created by "make install", however, so I've fixed
that in my sources.
Thanks,
jwe
- default path to oct files, JF Cardoso, 2008/07/09
- default path to oct files,
John W. Eaton <=
- Re: default path to oct files, JF Cardoso, 2008/07/10
- Re: default path to oct files, John W. Eaton, 2008/07/10
- Re: default path to oct files, JF Cardoso, 2008/07/10
- Re: default path to oct files, John W. Eaton, 2008/07/10
- Re: default path to oct files, Moritz Borgmann, 2008/07/10
- Re: default path to oct files, Thomas Weber, 2008/07/11