[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Re: Compilation problem / octave-2.0.16 / movie / mpeg question
From: |
Benjamin Bunck |
Subject: |
Re: Fwd: Re: Compilation problem / octave-2.0.16 / movie / mpeg question |
Date: |
Thu, 21 Feb 2002 09:12:20 -0600 (CST) |
On Thu, 21 Feb 2002, SA wrote:
>
>
>
> Dear Octave Help,
>
> I have 2 questions-
>
> (1) I have an RPM installed and working for octave 2.1 but I would like
> to be able to
> compile 2.0.16 but I have a problem-
> ./configure
> ....
> ...
> ./make
> ...
> ..
> .
> make[2]: Entering directory
> `/home/matt/download/octave-2.0.16/liboctave'
> c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
> -I../glob -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions
> -fno-implicit-templates -g -O2 -Wall cmd-hist.cc
> cmd-hist.cc: In method `command_history::command_history (const string
> &, int)':
> ../readline/history.h:161: too many arguments to function `int
> read_history ()'
> cmd-hist.cc:69: at this point in file
> cmd-hist.cc: In method `void command_history::add (const string &)':
> ../readline/history.h:71: too many arguments to function `void
> add_history ()'
> cmd-hist.cc:132: at this point in file
> cmd-hist.cc: In method `void command_history::remove (int)':
> ../readline/history.h:76: too many arguments to function `HIST_ENTRY
> *remove_history ()'
> + lots more of this stuff
> cmd-hist.cc:434: at this point in file
> make[2]: *** [cmd-hist.o] Error 1
> make[2]: Leaving directory `/home/matt/download/octave-2.0.16/liboctave'
>
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/home/matt/download/octave-2.0.16'
> make: *** [all] Error 2
>
>
> Before I start delving into the code anyone know what is going on here?
> // sysinfo
> uname -a
> Linux trouble 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown
>
>
Just a wild guess, but maybe the version of Readline you have installed on
your system is too *new*. I recall (opposite situation) compiling 2.0.16
fine on my machine, but had to install a newer readline to get 2.1.35
built. I don't know if readline is backward compatible, but if not, it
could certainly explain the situation. To verify this, you can
try running 'configure' with the --disable-readline option, and then try
'make' to see if it will build.
Ben
<snip>
-------------------------------------------------------------
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
-------------------------------------------------------------