【问题标题】:qt vim doesn't build on kubuntu [closed]qt vim 不在 kubuntu 上构建 [关闭]
【发布时间】:2013-02-14 19:21:50
【问题描述】:

一周来,我一直在努力尝试在我的 Kubuntu 12-10 机器上从源代码构建 qt vim

我使用的构建命令是:

./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt

这给了我这个错误:

checking for tgetent in -ltinfo... no 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.

经过多次谷歌搜索,我找到的唯一解决方案是安装 libncurses5-dev 和 ncurses5-dev,我这样做了。我还在 apt repo 中安装了每个通用的 ncurses 开发库,只是为了确保。唉,它产生了同样的错误。

安装了上述所有库后,我尝试了带有 tlib 选项的命令:

./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt --with-tlib=ncurses

产生此错误的原因:

checking --with-tlib argument... ncurses checking for linking with ncurses library... configure: error: FAILED

我不确定我做错了什么。任何帮助将不胜感激。提前致谢!

【问题讨论】:

  • 尝试apt-get build-dep vim 安装所有构建依赖项
  • 做到了!非常感谢!这是一个恰当的功能 - 不知道。感谢您指出!
  • 添加为答案,以便您可以投票/接受:-)

标签: qt vim configure ncurses kubuntu


【解决方案1】:

尝试apt-get build-dep vim 安装所有构建依赖项

【讨论】:

    猜你喜欢
    • 2011-09-21
    • 2015-04-23
    • 2014-08-04
    • 1970-01-01
    • 1970-01-01
    • 2012-04-10
    • 1970-01-01
    • 2020-08-16
    • 1970-01-01
    相关资源
    最近更新 更多