[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg.m does not find installed packages after downgrading from 3.4 to
From: |
E. Joshua Rigler |
Subject: |
Re: pkg.m does not find installed packages after downgrading from 3.4 to 3.2.4 |
Date: |
Fri, 13 May 2011 10:49:55 -0600 |
2011/5/12 Jordi GutiƩrrez Hermoso <address@hidden>:
> On 12 May 2011 14:15, E. Joshua Rigler <address@hidden> wrote:
>> I cannot see any of the packages I installed from 3.4.0 when I run
>> 3.2.4, even though 'pkg prefix' seems to be pointing to the correct
>> location(s). Any suggestions, or is this a bug?
>
> I'm almost sure that this can't work correctly because packages need
> to be compiled against the specific version of the Octave library in
> use, and we make no attempt to stay binary compatible across releases
> (although I think that changed, but after 3.2.4).
>
> - Jordi G. H.
>
This makes sense, but sort of invites the following question:
Why are octave_packages and the packages directory itself not located
in release-specific directories by default (e.g.,
/usr/local/share/octave/3.2.4/)? If I wanted to do this myself, do
you anticipate that modifying startup scripts to run things like 'pkg
-global prefix /usr/local/share/octave/3.2.4/packages' and 'pkg
global_list /usr/local/share/octave/3.2.4/octave_packages' will cause
(m)any problems?
-EJR