LoginSignup
8
8

More than 5 years have passed since last update.

Ubuntu 13.04 での Vimコンパイル

Last updated at Posted at 2013-05-18

時間があったのでコンパイルしました。Vim 7.3.967です。
ほとんど http://vim-jp.org/docs/build_linux.html の通りでよかったのですが、一点だけ。

よーしパパpython拡張つかっちゃうぞーって感じで、

./configure --with-features=huge --enable-pythoninterp --enable-fail-if-missing

とすると

checking Python version... 2.7
checking Python is 2.2 or better... yep
checking Python's install prefix... /usr
checking Python's execution prefix... /usr
checking Python's configuration directory... 
can't find it!
configure: error: could not configure python

となってしまいます。
たぶんubuntu側が設定変えたんですかね?

ubuntuのpython設定ディレクトリは、普通にaptで入れた場合/usr/lib/python2.7/config-i386-linux-gnuにあるようなので、

./configure --with-features=huge --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-i386-linux-gnu --enable-fail-if-missing

でうまく通りました。

追記(2013/6/3):
上記の問題はパッチ1101で修正されたようです。
https://groups.google.com/forum/?hl=ja&fromgroups#!topic/vim_dev/zghHy2bWK1o

PS
パッチ1101とかvimこわい

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8