Hi,

I have succesfully compiled macvim against a variety of non-system
Python installations. You should use the --with-python-config-dir
argument to the configure script.

Here is the configure I use:
./configure --enable-gui=macvim --enable-pythoninterp
--enable-multibyte --with-features=huge
--with-python-config-dir=/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/config/
--with-macarchs="i386" --with-macsdk="10.6" --enable-rubyinterp

Cheers

Robin

On Wed, Oct 20, 2010 at 11:06 AM, Philipp <[email protected]> wrote:
> Hi,
>
> unfortunately I can't compile with Python 2.7 support which is
> installed through Homebrew.
>
> ./configure --with-features=huge --enable-rubyinterp --enable-
> pythoninterp --enable-perlinterp --enable-cscope
>
> But running :python import sys; print sys.version always gives me
> 2.5.2 which is the default system wide python. Mac OS X 10.5.8.
>
> Python flags from my config.mk:
>
> PYTHON_SRC  = if_python.c
> PYTHON_OBJ  = objects/if_python.o
> PYTHON_CFLAGS   = -I/usr/local/bin/../Cellar/python/2.7/include/
> python2.7
> PYTHON_LIBS = -framework Python 67 PYTHON_CONFDIR  = /usr/local/bin/../
> Cellar/python/2.7/lib/python2.7/config
> PYTHON_GETPATH_CFLAGS = -DPYTHONPATH='":/usr/local/Cellar/python/2.7/
> lib/python2.7/site-pac    kages/distribute-0.6.14-py2.7.egg:/usr/local/
> Cellar/python/2.7/lib/python2.7/site-packages/    pip-0.8.1-py2.7.egg:/
> usr/local/Cellar/python/2.7/lib/python27.zip:/usr/local/Cellar/
> python/    2.7/lib/python2.7:/usr/local/Cellar/python/2.7/lib/
> python2.7/plat-darwin:/usr/local/Cellar/    python/2.7/lib/python2.7/
> plat-mac:/usr/local/Cellar/python/2.7/lib/python2.7/plat-mac/lib-s
> criptpackages:/usr/local/Cellar/python/2.7/lib/python2.7/lib-tk:/usr/
> local/Cellar/python/2.    7/lib/python2.7/lib-old:/usr/local/Cellar/
> python/2.7/lib/python2.7/lib-dynload:/usr/local/C    ellar/python/2.7/
> lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:/
> usr/lo
>    cal/Cellar/python/2.7/lib/python2.7/site-packages/
> setuptools-0.6c11-py2.7.egg-info"' -DPREF
>    IX='"/usr/local/bin/../Cellar/python/2.7"' -DEXEC_PREFIX='"/usr/
> local/bin/../Cellar/python/
>    2.7"'
>
> Thank you
>
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to