[OctDev] Addpath warnings for secs1d and secs2d

Carlo de Falco carlo.defalco at gmail.com
Wed May 14 10:41:15 CDT 2008


On 14/mag/08, at 15:01, c. wrote:

>
> On 14/mag/08, at 13:38, Marius Schamschula wrote:
>
>> After installing secs1d and secs2d I get the following warnings when
>> starting octave 3.0.1:
>>
>> warning: addpath:
>> /usr/local/libexec/octave/packages/secs1d-0.0.6/powerpc-apple-
>> darwin8.11.0-api-v32/../Utilities:
>>
>
>> It appears that these paths existed in older versions of these
>> packages, but were not removed.
>> --  
>
> no those paths are still there, I see from the error messages you are
> getting that you are running octave on a mac,
> how di did you install it? I cannot replicate your problem on my
> macbook with Octave.app from the OF website.
>
>> Marius
>
> c.
>

Having a better look it seems this is a problem with global  
installation.
as m-files are instlalled under /usr/local/share and oct-files under / 
usr/local/libexec
it is not sufficient to set a relative path into PKG_ADD to add sub- 
directories to the path.

I do not see why PKG_ADD and PKG_DEL go only into
/usr/local/libexec/octave/packages/<pkg_name>/<arch_name>/
and not into /usr/local/share/octave/packages/<pkg_name>/

I don't know how to solve this at the moment so, for the time being,  
I suggest installing secs locally
on a per-user base
c.



More information about the Help-octave mailing list