LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configure: WARNING: no enhanced curses library found; disabling TUI (https://www.linuxquestions.org/questions/linux-newbie-8/configure-warning-no-enhanced-curses-library-found%3B-disabling-tui-4175443971/)

jamesoo7 01-03-2013 08:51 AM

configure: WARNING: no enhanced curses library found; disabling TUI
 
Hi Everyone,

I am new for Linux. I had download gdb-7.5 from gnu resourses. I am building gdb in cygwin environment and I got an error as shown below.

configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/xyz/..../xyz'
make: *** [all] Error 2
[xyz/..../xyz]$

I had also referred others thread and I already installed the ncurses-5.9 but when I was going to make that file then <i got the error message like

collect2: ld returned 1 exit status
make[1]: *** [demo.exe] Error 1
make[1]: Leaving directory xyz/.../xyz/ncurses-5.9/c++'
make: *** [all] Error 2

So if anyone has idea how to solve this problem then it would be very kind...

Thanks in advance...

theNbomr 01-03-2013 04:08 PM

The ncurses package you have will provide runtime support for ncurses applications. To build those applications, you need the ncurses development package. My Debian repository seems to describe it as "libncurses5-dev - developer's libraries and docs for ncurses", as well as a 64-bit specific version.
--- rod.

jamesoo7 01-04-2013 05:36 AM

Hi,

Thank you for the reply. But I haven't solve the problem yet. As per your reply, I went to http://packages.debian.org website and I download this file lib64ncurses5-dev_5.9-10ubuntu1_i386.deb. As you mention in answer that it would be a package rather than a file. Furthermore I didn't find any package for "lib64ncurses5-dev - developer's libraries and docs for ncurses". So if this package avaiable in a direct link than can you give me a direct link. Moreover I build ncurses5 again with adding that file but it didn't work out....

Thanks in advance..

theNbomr 01-04-2013 09:05 AM

It is hard to know how a Debian or Ubuntu package works in a Cygwin environment. Were you able to install the .deb file? It might be necessary to install the devel package from a source tarball.
There may be a specific option to configure that lets you tell it where to find libraries and header for external packages. Try running 'configure --help' to see if it suggests one.

--- rod.

ntubski 01-04-2013 11:00 AM

You shouldn't install a Debian package in cygwin, cygwin provides it's own packages:

Quote:

Choosing Packages
...
Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation.
The name will be something with libncurses-devel instead of -dev because cygwin is closer to Redhat.


All times are GMT -5. The time now is 07:32 AM.