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

Thomas Weber thomas.weber.mail at gmail.com
Sun Mar 30 20:53:40 UTC 2008


On 30/03/08 19:12 +0200, Rafael Laboissiere wrote:
> * Thomas Weber <thomas.weber.mail at gmail.com> [2008-03-30 18:49]:
> 
> 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.

I wonder if this is a bug or not? The current behavious makes it
impossible to have any sensible PKG_ADD file in the startup directory.

 
> 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");

Mhm, we could write a Perl script, inserting this into every PKG_ADD
file ... just kidding :)

> However, the following warning is still issued:
> 
>     warning: autoload: `./partint.oct' is not an absolute file name

Looking into it.

	Thomas



More information about the Pkg-octave-devel mailing list