ncurses not found when trying to build vim

后端 未结 2 1491
时光说笑
时光说笑 2021-01-14 18:14

I am trying to build vim in my user dir after recently upgraded to Fedora 23

I have ncurses and ncurses-devel

[root@statquant-laptop lib]# dnf instal         


        
2条回答
  •  粉色の甜心
    2021-01-14 18:47

    You apparently do not have the development package for ncurses installed. On Fedora23, that would be ncurses-devel, e.g., ncurses-devel-5.9-21.20150214.fc23.x86_64

    Without that, you have only the runtime libraries (which are required).

    Once you have that, the configuration for vim 7.4 would show something like this:

    checking --with-tlib argument... empty: automatic terminal library selection
    checking for tgetent in -ltinfo... yes
    checking whether we talk terminfo... yes
    checking what tgetent() returns for an unknown terminal... zero
    checking whether termcap.h contains ospeed... yes
    checking whether termcap.h contains UP, BC and PC... yes
    checking whether tputs() uses outfuntype... no
    

    Further reading:

    • how to install ncurses library in fedora?
    • RPM resource ncurses-devel

提交回复
热议问题