On Sun, Mar 25, 2012 at 5:20 PM, c. <carlo.defa...@gmail.com> wrote: > > On 25 Mar 2012, at 18:07, Juan Pablo Carbajal wrote: > >> Maybe this is too much work, but I guess rebuild should work as follows: >> 1. Parse ~/.octave_packages file to get all folders set at >> installation time (i.e. get the right prefix for each package) >> 2. Rebuild accordingly >> 3. Replace ~/.octave_packages > > actually the idea of "pkg rebuild" is to fix a broken/missing > ~/.octave_packages > so step 1. does not make sense.
Actually the original idea of "rebuild" was to support relocation. Absolute paths were stored in octave_packages, but this only works if the octave installation path is fixed. When installing from binaries, that assumption is OK under Linux, but not under Windows (not sure about Mac OS X). Michael. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev