vim可以用来编译python吗_使用Python3(通过自制程序安装)支持编译vim?

我已经通过自制程序安装了python3:brew install python3 --framework

我在/usr/src中下载了vim源代码(7.3)

我跑:./configure --prefix=/usr/local --enable-rubyinterp --enable-python3interp --disable-gpm --enable-gui=no --enable-multibyte

在我的src/auto/config.log中,我看到:configure:5442: checking --enable-python3interp argument

configure:5451: result: yes

configure:5456: checking for python3

configure:5489: result: no

我在一些地方搜索了一下,找到了this,所以我尝试为python3.2创建符号链接,然后运行如下配置:./configure --prefix=/usr/local --enable-rubyinterp --enable-python3interp --disable-gpm --enable-gui=no --enable-multibyte --with-python3-config-dir=/usr/local/Cellar/python3/3.2/Frameworks/Python.framework/Versions/3.2/lib/python3.2/config-3.2m

我的日志也显示了同样的错误。要使用Python3支持编译vim需要做什么?

不:我不想用MacVim。➜ ls -al /System/Library/Frameworks/Python.framework/Versions

total 16

drwxr-xr-x 7 root wheel 238 May 28 15:33 .

drwxr-xr-x 7 root wheel 238 Sep 21 2010 ..

drwxr-xr-x 8 root wheel 272 Sep 17 2010 2.3

drwxr-xr-x 12 root wheel 408 Dec 1 12:49 2.5

drwxr-xr-x 12 root wheel 408 Dec 1 12:49 2.6

lrwxr-xr-x 1 root wheel 70 May 28 15:33 Current -> /usr/local/Cellar/python3/3.2/Frameworks/Python.framework/Versions/3.2

lrwxr-xr-x 1 root wheel 3 Sep 17 2010 old-Current -> 2.6

➜ which python3.2

/usr/local/bin/python3.2

更新:我已经让它通过自制的Python2.7.1在lathis post上运行,但是仍然没有Python3的乐趣。。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值