缺少Python支持
我按照这个链接从源代码安装了vim,成功了。但是没有python-support
。我已经安装了python-dev
,并且查找了Python的config-file
所在的目录,以便设置正确的标志:
--with-python-config-dir=/usr/lib/python2.7-config
--enable-pythoninterp
我已经从源代码安装了vim两次,因为第一次我忘记了一些东西。那我现在该怎么获得python-support
呢?
1 个回答
1
你展示的安装指南里也提到
你可能需要在配置命令中加上
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/
。
你试过这样做吗?
顺便说一下,这里是我在Debian jessie(也就是测试版)x86_64上的目录内容。
$ ls /usr/lib/python2.7/config-x86_64-linux-gnu
Makefile Setup Setup.config Setup.local config.c config.c.in
install-sh* libpython2.7-pic.a libpython2.7.a libpython2.7.so@ makesetup* python.o