compilando o vim com suporte a python no Ubuntu

Estou tentando compilar o vim da fonte com o intérprete python no Ubuntu. Instalei as dependências do vim, instalei os pacotes python2.7-devel e python2.7-dbg no Ubuntu e execute a etapa de configuração como esta

./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config

O diretório config contém o arquivo config.c. A etapa de criação falha com o seguinte err

...

objects/py_config.o:(.data+0xcc): undefined reference to `initcStringIO'
objects/py_config.o:(.data+0xd4): undefined reference to `initcPickle'
objects/py_config.o:(.data+0xdc): undefined reference to `initzlib'
collect2: ld returned 1 exit status
make: *** [vim] Error 1

Tentei compilações estáveis, aprimorei o configure etc. Mas não encontro uma resposta definitiva. Também o vim constrói sem o interpretador python.

Aqui está o

output -http: //paste.pocoo.org/show/577749

error -http: //paste.pocoo.org/show/577752

Makefile -http: //paste.pocoo.org/show/577751

questionAnswers(3)

yourAnswerToTheQuestion