I am trying to compile vim against EPD Canopy's python, but the ./configure can't seem to find the correct config directory. Here is the command I am running
CC=clang ./configure --prefix=/usr/local \
--with-features=huge \
--enable-rubyinterp \
--enable-pythoninterp \
--enable-perlinterp \
--enable-cscope
And this is the relevant part of the output
checking --enable-pythoninterp argument... yes
checking for python... /Users/noah/Library/Enthought/Canopy_64bit/User/bin/python
checking Python version... 2.7
checking Python is 1.4 or better... yep
checking Python's install prefix... /Users/noah/Library/Enthought/Canopy_64bit/User
checking Python's execution prefix... /Users/noah/Library/Enthought/Canopy_64bit/User
checking Python's configuration directory...
can't find it!
Now, there is a config
directory in the Canopy.app bundle, so I also tried adding the flag --with-python-config-dir=/Applications/Canopy.app/Contents/lib/python2.7/config
. Which gave the error
checking if compile and link flags for Python are sane... no: PYTHON DISABLED
enI am out of ideas. Thanks for your help.