On 20 October 2010 12:06, 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
The "-framework Python" will cause the Python framework that comes with OS X to be used, thus overriding all other flags. Maybe you can work around the problem by deleting that flag, but I'm not sure as I've never tried compiling with a non-system provided Python version myself. Björn -- 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
