Click to See Complete Forum and Search --> : term.h missing


Petrolhead
09-14-2005, 01:18 AM
Hello,

While compiling a debugger, I get the following error messages:

gdb/utils.c:56:20: curses.h: No such file or directory
gdb/utils.c:59:18: term.h: No such file or directory

Which means I'm probably missing some header files. Any idea, how I can install these header files and where they need to be placed?

Thanks

Petrolhead
09-14-2005, 10:47 AM
OK, so these files were part of the ncurses which I built and installed to take care of these error messages.

However, later in the installation this error message comes up:

/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status

Seems like termcap is missing. There is nothing in /lib starting with "libtermcap". Any idea how I can get this library?
I have already installed the termcap-2.0.8-878.src.rpm and it does not provide this file.

Thanks

Thanks

Petrolhead
09-14-2005, 12:30 PM
I've also downloaded and installed termcap-2.0.8-878.i586.rpm.

linux:/tmp # rpm -ivh termcap-2.0.8-878.src.rpm
1:termcap ########################################### [100%]
linux:/tmp #

According to the download page (http://rpm.pbone.net/index.php3/stat/4/idpl/1625151/com/termcap-2.0.8-878.i586.rpm.html) this rpm provides:
libcurses.so.1
libtermcap.so.2
termcap

But after installation, I don't see any of these files. Can someome tell me what's going on?

Thanks