Last active
August 29, 2015 13:57
-
-
Save genoma/9830028 to your computer and use it in GitHub Desktop.
Compile Vim official source with MacPort python on Mac OSX correctly (vim/src/auto/configure)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LINE 5781 change with | |
# then proceed as usual after a make distclean | |
vi_cv_path_python_plibs="-F/opt/local/Library/Frameworks -framework Python" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you compile Vim from source with MacPorts or Homebrew installed Python on OSX Mavericks, Vim is not compiled against the ported Python but is compiled with the default one. To fix that you just need to change the line 5781 of the configure file in your vim source folder src/auto/configure then proceed with a make distclean, and configure with --enable-pythoninterp.
This fix works for MacPorts Python configuration, for Homebrew you need to change the path accordingly.