help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

relocating octave and PKG_ADD problems.


From: Ian Stokes-Rees
Subject: relocating octave and PKG_ADD problems.
Date: Tue, 21 Dec 2010 17:42:21 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

I installed octave on one machine and then packaged it up and copied the
binaries and libraries to another machine (in fact, to several other
machines).  By setting LD_LIBRARY_PATH and OCTAVE_HOME I *almost* have
it working, it seems, but I still get problems that I can't resolve.  I
don't have root access or any easy ability to compile on the remote
machines where I run Octave, so I really need to have a "drop-in"
pre-compiled self-supporting tar ball.

The first problem I get is that Octave it can't find the "system"
M-files (e.g. standard functions like num2str()), so I tried:

export OCTAVE_PATH=
for d in `find $OCTAVE_HOME/share/octave/3.2.4/m -type d`; do
    export OCTAVE_PATH=$OCTAVE_PATH:$d;
done

but then I get weird errors when I startup Octave, like those below.

Please can someone advise how to handle this?

Thanks in advance.

Ian



error: `sort' undefined near line 102 column 15
error: evaluating if command near line 93, column 3
error: called from `unique' in file
`/osg/storage/app/sbgrid/x86_64/share/octave/3.2.4/m/set/unique.m'
error: evaluating assignment expression near line 56, column 11
error: evaluating if command near line 37, column 3
error: called from `__all_opts__' in file
`/osg/storage/app/sbgrid/x86_64/share/octave/3.2.4/m/optimization/__all_opts__.m'
error: near line 1 of file
`/osg/storage/app/sbgrid/x86_64/share/octave/3.2.4/m/optimization/PKG_ADD'
error: source: error sourcing file
`/osg/storage/app/sbgrid/x86_64/share/octave/3.2.4/m/optimization/PKG_ADD'

Attachment: ijstokes.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]