help-octave
[Top][All Lists]
Advanced

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

Re: Error upon startup of Octave 2.1.57 after installing O-forge


From: Quentin Spencer
Subject: Re: Error upon startup of Octave 2.1.57 after installing O-forge
Date: Thu, 23 Sep 2004 11:16:12 -0500
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

I had a problem like this once, and it seems like I remember it being a discrepancy in the canonical host type (i686-pc-linux-gnu) between octave and octave-forge, which could the problem you are having because dispatch.oct is stored in the /usr/libexec/... path which contains the host type. In my case one of them contained i686-pc-linux-gnu and the other was something like i686-redhat-linux-gnu. Something to check ....

I hope this helps.

-Quentin


address@hidden wrote:

After compiling and installing O-forge 2004-07-07 (for Octave 2.1.57)
using gcc 3.4.0 on a Linux 2.4.26/glibc 2.2.3-system, I get the following
error upon starting Octave:

-----------------------------------

address@hidden:~$ octave
GNU Octave, version 2.1.57 (i686-pc-linux-gnu).

[simple text removed]

error: `dispatch' undefined near line 2 column 1
error: near line 2 of file
`/usr/local/share/octave/2.1.57/site/m/octave-forge/comm//PKG_ADD'
error: source: error sourcing file
`/usr/local/share/octave/2.1.57/site/m/octave-forge/comm//PKG_ADD'
octave:1>

------------------------------------

From what I can make out in the file is that there is a function
dispatch() which Octave does not know about. The checks (make check and
icheck) all work fine, although icheck is not particularly pleasant to
watch with all the graph-resizing and deleting in the GNUplot window. If I
add the two lines concerning LOADPATH and EXECPATH to my ~/.octaverc as
per instructions of the 'make install' output, Octave produces an
additional error before the prompt:

error: near line 1 of file `/home/maarten/.octaverc'

I would appreciate any hints on how to go about removing these errors.


With kind regards,
Maarten de Jong

P.S.: The install guide of Octave-forge helpfully suggests to delete all
functions in the FIXES/ directorry which were superseded by correct
functions in the main Octave distribution. It does not mention how to go
about finding this out, or where to delete which file. Could this be
rephrased or automated?



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





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



reply via email to

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