2013-02-14 19 views
0

我一直在敲打我的頭靠在牆上一個星期試圖建立從源頭qt vim我的Kubuntu 12-10臺機器上。QT Vim不會建立在Kubuntu的

我正在使用的生成命令是:

./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.

經過一番google搜索,我發現的唯一的解決辦法是有好libncurses5 -dev和安裝ncurses5-dev的,這是我做的。我也安裝在每個普通的ncurses dev下的lib中容易回購,只是爲了確保。可惜的是,它產生同樣的錯誤。

在安裝上述所有的圖書館,我試圖與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

我不知道我是什麼做錯了。任何幫助將不勝感激。提前致謝!

+1

嘗試'apt-get的建設-DEP vim'安裝所有編譯依賴 – 2013-02-14 19:28:02

+0

這做到了!非常感謝!這是一個容易的特點 - 不知道這件事。感謝您指出! – bronzehedwick 2013-02-14 23:22:19

+0

增加了一個答案,所以你可以給予好評/接受:-) – 2013-02-15 07:49:19

回答

2

嘗試apt-get build-dep vim安裝所有的編譯依賴