Build error about --with-tlib

189 views
Skip to first unread message

Suresh Govindachar

unread,
Feb 28, 2010, 11:51:29 AM2/28/10
to vim...@vim.org

Hello,

How would I fix the following error message I get when tying to build vim on fedora core 8 linux (#1 SMP Thu Dec 18 19:19:45 EST
2008 i686 i686 i386 GNU/Linux), using the vim72 sources?:

checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for dev_t... yes
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
make[1]: *** [config] Error 1
make[1]: Leaving directory `/h/sgovinda/tmp/vim72/src'
make: *** [first] Error 2

Thanks,

--Suresh

Benjamin R. Haskell

unread,
Feb 28, 2010, 12:33:36 PM2/28/10
to vim...@googlegroups.com, vim...@vim.org
On Sun, 28 Feb 2010, Suresh Govindachar wrote:

>
> Hello,
>
> How would I fix the following error message I get when tying to build vim on fedora core 8

I responded in your other thread, but it was delayed in a mail queue.
Should have gone through now.

-- Ben

Suresh Govindachar

unread,
Feb 28, 2010, 4:10:14 PM2/28/10
to vim...@googlegroups.com, vim...@vim.org

On the vim user mailing list, Benjamin R. Haskell explained the issue:

> On Sat, 27 Feb 2010, Suresh Govindachar wrote:
>[...]
>>
>> I tried 3 ways to install "vim-with-everything" on Fedora Core 8, but
>> failed:
>>
>> Attempt 1) vim-7.2.tar.bz2 - typing make resulted in the following
>> error:
>>
>> [...]


>> checking for tgetent()... configure: error: NOT FOUND!
>> You need to install a terminal library; for example ncurses.
>> Or specify the name of the library with --with-tlib.
>

> Generally, to compile software on RPM-based distributions, you need to
> install '-dev' or '-devel' packages for things that are normally installed
> as binaries.
>
> So, you might have 'curses' or 'ncurses' installed, but you also need
> 'curses-devel' or 'ncurses-dev' (I don't know the correct name).
>
> You'll probably need several such packages. [...]

Reply all
Reply to author
Forward
0 new messages