次を使用して、cygwinのPythonサポートを使用してvimを構築しようとしています:
./configure --enable-pythoninterp --enable-gui=no --without-x \
--enable-multibyte --prefix=/usr
しかし、エラーを回避できません:
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.
libncurses-devel がインストールされています (したがって、これは SO の質問Building Vim from Source in Cygwinとは異なります)
--with-tlib=ncurses
同じ結果のフラグを追加しようとしました。
vimにlibncursesライブラリを認識させるための提案はありますか?
+++++++++++++おそらく関連する情報++++++++++++++++
auto\config.log からの抜粋:
configure:9897: result: no
configure:9903: checking --with-tlib argument
configure:9938: result: empty: automatic terminal library selection
configure:9946: checking for tgetent in -ltinfo
configure:9971: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c -ltinfo >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -ltinfo
collect2: ld returned 1 exit status
configure:9971: $? = 1
configure: failed program was:
...
configure:9981: result: no
configure:9946: checking for tgetent in -lncurses
configure:9971: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c -lncurses >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lncurses
collect2: ld returned 1 exit status
configure:9971: $? = 1
configure: failed program was:
configure:9981: result: no
...
configure:9946: checking for tgetent in -ltermlib
configure:9971: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c -ltermlib >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -ltermlib
collect2: ld returned 1 exit status
configure:9971: $? = 1
configure: failed program was:
...
configure:9981: result: no
configure:9946: checking for tgetent in -ltermcap
configure:9971: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c -ltermcap >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -ltermcap
collect2: ld returned 1 exit status
configure:9971: $? = 1
configure: failed program was:
...
configure:9981: result: no
configure:9946: checking for tgetent in -lcurses
configure:9971: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c -lcurses >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lcurses
collect2: ld returned 1 exit status
configure:9971: $? = 1
configure: failed program was:
...
configure:9981: result: no
configure:10027: result: no terminal library found
configure:10033: checking for tgetent()
configure:10046: gcc -o conftest.exe -g -O2 -L/usr/local/lib conftest.c >&5
C:\cygwin\tmp\cc4wgcbm.o: In function `main':
C:\Temp\vim\src/conftest.c:46: undefined reference to `tgetent'
collect2: ld returned 1 exit status
configure:10046: $? = 1
configure: failed program was:
configure:10052: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
ls /usr/lib/libncurses.*
/usr/lib/libncurses.a /usr/lib/libncurses.dll.a /usr/lib/libncurses.la