I start in the Vim
$ pwd ~/vim/src $ ./configure \ > --prefix=$HOME/Applications/vim-compiled \ > --enable-rubyinterp=yes \ > --enable-pythoninterp=yes \ > --with-python-config-dir=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config $ make
At the end of
make, I get the following error
ld: warning: in /Library/Frameworks//Python.framework/Python, missing required architecture x86_64 in file Undefined symbols: <very long list of Undefined symbols> ... ... ... <very long list of Undefined symbols> ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [vim] Error 1
What's causing the error? I've found answers in similar questions that advise using MacPorts, Homebrew, or MacVim. I don't want to use any of those. Is there some other way around?
UPDATE: This is the output listing the
Undefined symbols http://pastebin.com/ggV87ReF
Have you tried upgrading to the OSX 32-bit/64-bit version of Python 2.7.2? I'm not sure if there was a specific 64-bit version of 2.7, and that might be causing problems.
In my case I've installed MacVim on 10.6.8 using the following command
./configure --prefix=/usr --enable-perlinterp=yes --enable-pythoninterp=yes --with-features=huge --with-python-config-dir=/System/Library/Frameworks/Python.framework/Versions/2.6