[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make fails at sysdep.cc on Slackware 7.0
From: |
Hans-Christian Mueller |
Subject: |
Re: make fails at sysdep.cc on Slackware 7.0 |
Date: |
Mon, 5 Feb 2001 08:36:55 +0100 |
On Mon, 05 Feb 2001, Jeremy A. Gray wrote:
>
> This same error was asked about here on 23 October 2000, but I didn't
> see any responses in the list archive. Here are the (hopefully) relevant
> error messages from make:
>
> 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 sysdep.cc
> In file included from sysdep.cc:64:
> /usr/include/termcap.h:37: invalid exception specifications
> /usr/include/termcap.h:48: invalid exception specifications
> make[2]: *** [sysdep.o] Error 1
> make[2]: Leaving directory `/usr/local/src/octave-2.0.16/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/usr/local/src/octave-2.0.16'
> make: *** [all] Error 2
>
> Attached is the termcap.h file.
>
> Does anyone have the solution or pointers toward it?
>
One possible solution:
Change line 64 in the file sysdep.cc to
#include <ncurses/termcap.h>
This little patch works, if you have ncurses installed.
----------------------------------------------------------------------------
Hans-Christian Mueller address@hidden
Department of Communication Engineering Phone: +49 (0)203 379-2546
Gerhard-Mercator-Universitaet Fax: +49 (0)203 379-290
Bismarckstrasse 81
http://fb9nt.uni-duisburg.de/nt.html
D-47048 Duisburg (Germany)
-----------------------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------