ibm - "No terminal library found error" during vim configure -


i tried build vim 7.4 in ibm aix 6.1. when run configure script ./configure getting following error

checking --with-tlib argument... empty: automatic terminal library selection checking tgetent in -ltinfo... no checking tgetent in -lncurses... no checking tgetent in -ltermlib... no checking tgetent in -ltermcap... no checking tgetent in -lcurses... no no terminal library found checking tgetent()... configure: error: not found!       need install terminal library; example ncurses.       or specify name of library --with-tlib. 

inspecting config.info able see following error

| int | main () | { | char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); |   ; |   return 0; | } configure:10492: error: not found!       need install terminal library; example ncurses.       or specify name of library --with-tlib. 

but curses library (libcurses.a) present in /usr/lib directory. tried following command ./configure --with-tlib=curses , time getting different error below

checking --with-tlib argument... curses checking linking curses library... configure: error: failed 

config.info error message was

| #include <sys/types.h> | #if stdc_headers | # include <stdlib.h> | # include <stddef.h> | #endif | #include <signal.h> | #include "confdefs.h" | | int | main () | { | stack_t sigstk; sigstk.ss_base = 0; |   ; |   return 0; | } configure:10339: result: no configure:10345: checking --with-tlib argument configure:10354: result: curses configure:10357: checking linking curses library configure:10370: gcc -o conftest -g -o2   conftest.c  -lcurses >&5 collect2: /lib/libcurses.a: not coff file configure:10370: $? = 1 configure: failed program was: | /* confdefs.h */ 

what doing wrong , how can build?

installing libncurses5-dev , libtinfo-dev packages did trick me. didn't bother using --with-tlib argument , configure worked. might libtinfo-dev package alone do. system fresh debian 8.3.

`


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -