我已经python3通过自制软件安装:brew install python3 --framework
用Python3编译vim(通过Homebrew安装)支持?
我有VIM源(7.3)在/usr/src
下载我运行:
./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
更新:我已经得到它通过家酿工作一拉this post与Python 2.7.1,但与Python 3仍然没有喜悦...
是的!它终于有效。谢谢你的补丁! – neezer 2011-06-20 15:23:48
Vim Patch的链接已损坏。有什么建议么? – 2014-03-11 16:28:41
路径链接对我来说也是破碎的。请提出一些建议,因为这仍然是坏的 – vitiral 2014-11-24 15:17:20