help-octave
[Top][All Lists]
Advanced

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

Re: Redhat 7.0 and octave


From: Trond Eivind GlomsrØd
Subject: Re: Redhat 7.0 and octave
Date: Tue, 28 Nov 2000 22:53:46 -0500 (EST)
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.91

Phil Cummins <address@hidden> writes:

>   I sent a message out about this before, when I was considering 
> installing RedHat 7.0 on my notebook PC. At that time Trond Eivind 
> Glomsrod said that octave 2.0.16 required a "compat compiler"
> (and they have supplied the appropriate rpm) but that 2.1.x
> compiles just fine.
>   I have now installed 7.0 on my notebook and gave 2.0.16 a 
> try. Indeed, it doesn't compile under the gcc-2.96-54 shipped
> with RedHat 7.0. It had many problems with function (member
> functions, I think) prototypes that didn't have argument types
> specified. I tried fixing a few of these, but there seemed 
> to be quite a few, and I don't know much C++. Since an rpm 
> exists I didn't pursue it further (what is the "compat compiler",
> anyway?).

I'm still working on this, it's just not very high on my list (since
the devel one works, and we could use compat for the old one).

The compat compilers/libraries are used by specifying CC=egcs and
CXX=egcs++

When I last tried to build octave 2.0 with the new compilers, the
problems were illegal use of keywords as enums and macro magic. Since
then (this was quite some time before the release), the compilers got
pickier so it now dislikes the way readline functions is used as well
(and I still intend to look into it...).

>   I also thought it might be a good opportunity to switch to the 
> development tree, so I tried making 2.1.31. That chugged away for 
> quite a long time, even on my 750 MHz Pentium III, but finally 
> failed trying to compile input.cc. 

************************************************************************
../liboctave/MArray-defs.h:199:30: warning: "MARRAY_BINOP_FWD_DEFS"
redefined
../liboctave/MArray-defs.h:199:1: warning: this is the location of the
previous definition
../liboctave/MArray-defs.h:205:33: warning: "MARRAY_AA_BINOP_FWD_DEFS"
redefined
../liboctave/MArray-defs.h:205:1: warning: this is the location of the
previous definition
../liboctave/MArray-defs.h:277:28: warning: "MARRAY_FORWARD_DEFS"
redefined
../liboctave/MArray-defs.h:277:1: warning: this is the location of the
previous definition
In file included from defun.h:30,
                 from builtins.cc:7:
defun-int.h:163:3: warning: nothing can be pasted after this token
input.cc:1095:1: #line may not be used inside a macro argument
input.cc:1094:46: unterminated argument list for macro "XDEFUN_INTERNAL"
load-save.cc:3121:1: #line may not be used inside a macro argument
load-save.cc:3120:38: unterminated argument list for macro "XDEFUN_INTERNAL"
make[2]: *** [builtins.o] Error 1
make[2]: Leaving directory `/usr/src/teg/octave-2.1.31/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/src/teg/octave-2.1.31'
make: *** [all] Error 2
************************************************************************
-- 
Trond Eivind Glomsrød
Red Hat, Inc.



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