ncurses not found when trying to build vim

后端 未结 2 1502
时光说笑
时光说笑 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:37

    I ran into the same issue on Fedora23. Here is my solution:

    1. make sure you have ncurses-devel installed
    2. CFLAGS=-fPIC ./configure --with-tlib=ncurses and your_options

    I checked the config.log and found that gcc complained the lack of '-fPIC'

提交回复
热议问题