On 18 March 2012 15:23, Philip Nienhuis <pr.nienh...@hccnet.nl> wrote: > I tried to update the linear-algebra package as ordinary user and that > proceeds OK as well; so I conclude there's something wrong in the io pkg > setup in the ./src subdir.
Actually the problem seems to be with PKG_ADD as it installs fine if I remove it. I don't have experience with it and the documentation isn't very helpful either. I'm trying to look at pkg.m source and see how it works exactly. It appears to me that when installing the package, a PKG_ADD file is added to both the .m and .oct directories and the scripts are ran before the package is loaded. However, since there's no chk_spreadsheet_support script inside the .oct directory it fails (remember the package is not loaded yet and therefore the function is not on the seach path). At least that's what I think is happening. I tried to test this by not making the package autoload but that doesn't solve the problem so maybe it's not that. I'll keep investigating. Carnë ------------------------------------------------------------------------------ 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