From help-request at octave dot org Wed Nov 2 14:35:41 2005 Subject: Re: Installing octave on Linux From: Quentin Spencer To: Martin Rosenberger CC: help at octave dot org Date: Wed, 02 Nov 2005 14:30:14 -0600 Martin Rosenberger wrote: >Hello! > >I did install octave 2.1.71 and octave-forge-2005.06.13 successfully on >windows OP using cygwin. I did some tests executing a matlab routine >with plenty of m.files > >The next step was to install octave 2.1.71 and octave-forge-2005.06.13 >on a linux Cluster. > >I got some trouble. > >When starting octave the first error message was: > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >error: > >/usr/local/libexec/octave/2.1.71/site/oct/i686-pc-linux-gnu/octave-forge >/dispatch.oct >is not a valid shared library >error: `dispatch' undefined near line 2 column 1 >error: near line 2 of file > >`/usr/local/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD' >error: source: error sourcing file > >`/usr/local/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD' > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >When executing my matlab routine with a lot of m-files the next message >occurs: > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >error: > >/usr/local/libexec/octave/2.1.71/site/oct/i686-pc-linux-gnu/octave-forge >/pchip_deriv.o > >ct is not a valid shared library >error: `pchip_deriv' undefined near line 74 column 7 >error: evaluating assignment expression near line 74, column 5 >error: called from `pchip' in file > >`/usr/local/share/octave/2.1.71/site/m/octave-forge/splines/pchip.m' >error: evaluating assignment expression near line 143, column 17 >error: evaluating if command near line 112, column 3 >error: called from `interp1' in file > >`/usr/local/share/octave/2.1.71/site/m/octave-forge/general/interp1.m' >error: evaluating assignment expression near line 286, column 17 >error: called from `InitFZGL' in file >`/home/rosenberger/OPT/Init/InitFZGL.m' >error: near line 45 of file `/home/rosenberger/OPT/CalcSingle.m' > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >Another problem was, that I always get error-messages when there is a >statement to execute in .octaverc, no matter what statement it is > >e. g.: >error: near line 32 of file `/home/rosenberger/.octaverc' > >the .octaverc file ist attached > > >I do not know lot of linux, so if you have some information to give, >please give it in detail > > It would help if you provided more information. What Linux distribution are you installing this on? Did you compile from source or install binary packages? Where did you get the binary packages? From the error message you gave, it sounds like maybe the octave forge you installed was compiled with a different compiler. -Quentin ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------