[Pkg-octave-devel] Packages with PKG_ADD fial to build

Rafael Laboissiere rafael at debian.org
Sun Mar 30 17:12:00 UTC 2008


* Thomas Weber <thomas.weber.mail at gmail.com> [2008-03-30 18:49]:

> Just start Octave in the directory and it complains about fullfile()
> missing.
> 
> Hmm, any chance of telling Octave to not check the current directory?
> This is actually independent of the package manager.

I think that this happens during the initialization of the load path.  Since
"." comes first in the path, Octave tries to load the PKG_ADD file that it
finds there.  Unfortunately, the other components are not yet in the path at
this time, and Octave fails because functions like fullfile are not found.

BTW, adding the following at the beginning of PKG_ADD fixes the problem:

     addpath (genpath ("/usr/lib/octave/3.0.0/oct"), "-begin");
     addpath (genpath ("/usr/share/octave/3.0.0/m"), "-begin");

However, the following warning is still issued:

    warning: autoload: `./partint.oct' is not an absolute file name
     
-- 
Rafael



More information about the Pkg-octave-devel mailing list