UbuntuでPythonインタープリターを使用してソースからvimをコンパイルしようとしています。私はvimの依存関係をインストールし、Ubuntuにpython2.7-develおよびpython2.7-dbgパッケージをインストールし、次のような構成手順を実行します
./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
configディレクトリにはconfig.cファイルが含まれています。makeステップは、次のエラーで失敗します。
...
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
私は安定したビルドを試し、configureなどを微調整しました。しかし、決定的な答えは見つかりません。また、vimはpython-interpreterなしでビルドします。
ここに完全な
出力-http://paste.pocoo.org/show/577749/
エラー-http://paste.pocoo.org/show/577752/
Makefile- http://paste.pocoo.org/show/577751/