On Sep 24, 5:31 pm, Rainer Müller <[email protected]> wrote:
> On 2009-09-24 06:32 , Petro Verkhogliad wrote:
>
> > > The MacVim snapshot is built against Python 2.3.x. So I had to build
> > > my own version of from source. I followed the instructions on the
> > > MacVim wiki to build MacVim.app with one exception. I want to build
> > > against 2.6.2. So I did this:
>
> > > ./configure --without-x --disable-gpm --disable-nls --with-
> > > tlib=ncurses --enable-multibyte --enable-rubyinterp --enable-
> > > pythoninterp --enable-gui=macvim --with-python-config-dir=/opt/local/
> > > Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config
> > > && make
>
> > > This picks up Python 2.6 during the configure and builds the "vim"
> > > binary. [...]
>
> For the MacPorts version of vim and MacVim I patched the configure
> script to be able to choose which python to use instead of "python"
> from
> PATH. Although you can specify a config dir it still uses the "python"
> binary.
>
> Patch is available here:
> <http://trac.macports.org/browser/trunk/dports/editors/vim/files/patch-
> python.diff>
>
> After applying the patch, just use
> ./configure ... --enable-pythoninterp --with-python=${prefix}/bin/
> python2.6
> and it should work.
>
> And if you are looking for a MacVim version with python 2.6 and you
> have
> MacPorts anyway, installing MacVim +python26 would be easier than
> doing
> the build steps yourself:
> sudo port install MacVim +python26
>
> HTH,
> Rainer
I tried installing vim-app from macports but it gave me the same
result. With the most recent version of macports i did this:
sudo port install vim-app +huge +python26 +ruby +perl
When I launched the macports version it would still report python
2.5.1.
Petro
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---