tod*_*dsm 5 ruby python macports macvim osx-mountain-lion
Linux家伙切换到Mac(10.8).因为我很懒...
我使用MacPorts安装MacVim.它似乎安装没有错误.我只需要在mvim中使用python,ruby和perl支持.
$ /opt/local/bin/mvim --version | egrep 'patches|python|ruby|perl'
Included patches: 1-244, 246-646
 +multi_lang -mzscheme +netbeans_intg +odbeditor +path_extra -perl 
+persistent_undo +postscript +printer -profile -python -python3 +quickfix 
+reltime -rightleft -ruby +scrollbind +signs +smartindent -sniff +startuptime
我查找了src目录,因为它在github中解释但没有找到任何内容:
$ find /opt/local/ -name src -type d | grep -i vim
我找到并将此文件解压缩到/ tmp/macvim
/opt/local/var/macports/software/MacVim/MacVim-7.3.snapshot65_1.darwin_12.x86_64.tbz2
然后grep'd + PORTFILE为字符串'prefix':
$ grep prefix +PORTFILE 
                    PYTHON=${prefix}/bin/python2.7
    copy ${worksrcpath}/src/MacVim/mvim ${destroot}${prefix}/bin
    ln -s mvim ${destroot}${prefix}/bin/mvimdiff
    ln -s mvim ${destroot}${prefix}/bin/mview
    ln -s mvim ${destroot}${prefix}/bin/mvimex
    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.7
    configure.args-append   --enable-python3interp --with-python3=${prefix}/bin/python3.1
    configure.args-append   --enable-python3interp --with-python3=${prefix}/bin/python3.2
在这一点上,似乎应该启用我关心的所有解释器.所以,现在我很困惑.
现在的问题是:
无论如何,我有点迷失在Mac世界.任何指导将不胜感激.
Vor*_*ive 16
如果你运行,port info macvim你会发现它有一些变种:
MacVim @7.3.snapshot65, Revision 1 (editors)
Variants:             big, cscope, huge, perl, python, python25, python26,
                      python27, python31, python32, ruby, tcl, universal, xim
Description:          MacVim is a port of the text editor Vim to Mac OS X that
                      is meant to look better and integrate more seamlessly with
                      the Mac than vim-app.
Homepage:             http://code.google.com/p/macvim
...
您可以通过使用以下方法选择这些变体来安装具有Python,Ruby和Perl支持的MacVim:
sudo port install macvim +python +perl +ruby
| 归档时间: | 
 | 
| 查看次数: | 3285 次 | 
| 最近记录: |