help-octave
[Top][All Lists]
Advanced

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

embedded octave and compiling Octave 2.1.67 on Debian 3 (stable)


From: Eric S Fraga
Subject: embedded octave and compiling Octave 2.1.67 on Debian 3 (stable)
Date: Tue, 15 Mar 2005 23:04:48 +0000
User-agent: Mutt/1.5.6+20040907i

Hello,

I hope people can help me with two questions/problems:

----------------------------------
   Question 1.
----------------------------------

I have tried compiling the Java<->Octave code
(http://www.d.kth.se/~bja/misc/octavej.tar.gz) but have problems because the
compilation complains about missing octave.h and quit.h

Following is the list of octave packages I have installed on my (mostly)
Debian stable system:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name                          Version                       Description
+++-=============================-=============================-==========================================================================
ii  octave-forge                  2001.11.02-4                  Contributed 
functions for GNU Octave from http://octave.sf.net
ii  octave-sp                     2.2-1                         Semidefinite 
Programming functions for GNU Octave
ii  octave2.1                     2.1.35-7woody1                The GNU Octave 
language for numerical computations (2.1 branch)
ii  octave2.1-doc                 2.1.35-7woody1                Postscript 
documentation on the GNU Octave language (2.1 branch)
ii  octave2.1-emacsen             2.1.35-7woody1                Emacs support 
for the GNU Octave language (2.1 branch)
ii  octave2.1-headers             2.1.35-7woody1                Header files 
for the GNU Octave language (2.1 branch)
ii  octave2.1-htmldoc             2.1.35-7woody1                HTML 
documentation on the GNU Octave language (2.1 branch)
ii  octave2.1-info                2.1.35-7woody1                GNU Info 
documentation on the GNU Octave language (2.1 branch)

Are the missing octave.h and quit.h files because I have too old a version
of Octave?

----------------------------------
   Question 2.
----------------------------------

Having assumed that I do indeed have a version of Octave that is too old to
use the code mentioned above, I thought I would try installing a more recent
version. Went to the web and downloaded 2.1.67 but am unable to compile the
system.  I have tried both with gcc-2.95.4 and with gcc-3.0.  For instance,
having configured using:

  ./configure --enable-shared

then compiling with "make -j 2" gives me the following output (well, some
excerpts):

...
making vx-s-ccv.d from vx-s-ccv.cc
In file included from idx-vector.h:33,
from Array-util.h:30,
from vx-s-ccv.cc:5:
oct-inttypes.h:26: limits: No such file or directory
...
g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob
-I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 idx-vector.cc
-o idx-vector.o
In file included from idx-vector.h:33,
                 from idx-vector.cc:40:
oct-inttypes.h:26: limits: No such file or directory
make[2]: *** [idx-vector.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory /home/local/src/octave-2.1.67/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory /home/local/src/octave-2.1.67'
make: *** [all] Error 2

Suggestions anybody?  I am confused because the INSTALL.OCTAVE file doesn't
mention any specific dependencies that I have not met, as far as I can tell
(famous last words...) nor does it mention the type of problems I am having.
What am I missing/doing wrong?

I should say that I am happy staying with Octave 2.1.35 if somebody can help
with the first question.  I've been using Octave very happily for years and
don't necessarily need all the new features I have been reading about.

Thanks in advance,
eric

-- 
 Eric S Fraga, Dept Chemical Engineering, UCL, address@hidden
.ooo.ooo.ooo..o...o...o....oo..ooo.oo...o.....o.o....ooo.ooo.o...



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