Compilando o VIM no LMDE: faltando tlib

0

Eu tenho um problema com a compilação do vim. Eu continuo recebendo um erro tlib faltando ... mas eu tenho libncurses5 instalado.

$ ./configure --prefix=$HOME/opt     --enable-multibyte     --with-tlib=ncurses     --enable-pythoninterp     --enable-rubyinterp     --with-features=huge
# ... bunch of other checks ...
checking --with-tlib argument... ncurses
checking for linking with ncurses library... configure: error: FAILED

$ sudo dpkg -l | grep ncurse
ii  lib32ncurses5                                               5.9-6                           shared libraries for terminal handling (32-bit)
ii  libncurses5:amd64                                           5.9-6                           shared libraries for terminal handling
ii  libncursesw5:amd64                                          5.9-6                           shared libraries for terminal handling (wide character support)
ii  ncurses-base                                                5.9-6                           basic terminal type definitions
ii  ncurses-bin                                                 5.9-6                           terminal-related programs and man pages

$ sudo apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libncurses5-dev : Depends: libncurses5 (= 5.9-4) but 5.9-6 is to be installed
                   Depends: libtinfo-dev (= 5.9-4) but it is not going to be installed
                   Depends: ncurses-bin (= 5.9-4) but 5.9-6 is to be installed
E: Broken packages

Alguém pode me aconselhar sobre como resolver esse problema? Tudo que eu quero fazer é compilar VIM com python & suporte perl.

    
por bitcycle 09.08.2012 / 20:08

1 resposta

1

Talvez atualize seus bancos de dados de pacotes. A mensagem de erro diz que libncurses5-dev (que você deseja instalar) é muito antigo (sua versão é 5.9-4 e você tem a versão 5.9-6 do ncurses binaries).

A versão (e release) do pacote devel deve ser igual à versão (e release) dos binários.

Ou tente fazer o downgrade dos binários instalados.

    
por 10.08.2012 / 12:33