On Sat, Mar 17, 2012 at 01:42:19PM +0100, Juan Pablo Carbajal wrote:
> On Sun, Mar 11, 2012 at 12:56 PM, Clemens Buchacher <dri...@aon.at> wrote:
> > Hi Juan,
> >
> > Version 1.4.0 of the geometry package produces the following warnings on
> > load:
> >
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/geom2d: No such 
> > file or directory
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/io: No such file 
> > or directory
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/polygons2d: No 
> > such file or directory
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/shape2d: No such 
> > file or directory
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/octclip: No such 
> > file or directory
> > warning: addpath: /usr/lib/octave/packages/geometry-1.4.0/graphs: No such 
> > file or directory
> >
> > This happens only if I install with different prefixes:
> >
> > pkg prefix /usr/share/octave/packages /usr/lib/octave/packages
> 
> This is fixed for me. Could you double check?

With svn r10045, I now get the following on load instead:

warning: addpath: /home/drizzd/octave/geometry-1.4.2/geom2d: No such file or 
directory
...

The problem is that the installation prefix is set only during
installation, but not during module load.

The only way I can find to determine this path reliably is to create a
inst/geometry_module_path.m file which returns mfilename("fullpath").

Clemens

------------------------------------------------------------------------------
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

Reply via email to