-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X building? #3
Comments
I get the same problem:
|
Same here! |
Do you all have Python (2 or 3) installed through Homebrew? Some Googling around seems to indicate that there is an upstream CMake problem where CMake incorrectly selects Mac OS X's Python libraries over other Python libraries (Homebrew is the usual culprit); http://www.itk.org/Bug/view.php?id=14809 is the CMake tracking bug, and Homebrew/legacy-homebrew#25118 is a Homebrew bug with some discussion. I've committed 01e2392 to master to fix this. However, even without that commit I haven't been able to reproduce a crash, even after |
Hi, Still crashes, i removed the As you can see i'm using python 2.7.9 from homebrew. |
I'm not sure this big external Find.cmake module is required. After all, YouCompleteMe also only uses the systemlibs. The commit broke systems that use Python 3 as a default system lib. |
Looking at FindPythonLibrary.cmake now, I don't think you're really fixing any problems by using it because it uses FindPythonInterp which is supplied by CMake and will still find the wrong versions of Python on a badly configured OSX. |
gonzaloserrano, can you provide the output of svenstaro, according to the CMake bug report, FindPythonInterp may find a different Python than FindPythonLibs since it honors PATH. |
Yep looks like cpsm uses the system python and homebrewed vim the corresponding homebrew python one: https://gist.github.com/gonzaloserrano/f1a70e42069c8815b875 |
Can you run |
AFAIK in my env
I'll try to dig further tomorrow. Thanks four your help! |
Did you come upon a solution here @gonzaloserrano? I'm having the same issue. |
Not yet, this week has been so busy. Sorry! :-( |
This appears to be a solution to the same/related problem: ycm-core/YouCompleteMe#8 |
I tried this: |
Well, I actually haven't solved it entirely, though it of course works by flattening namespace:
|
jedverity, can you provide the output of the following:
|
I do have the problem of cpsm using System python On Wed, Jun 10, 2015 at 11:01 PM, Jamie Liu notifications@github.com
|
Anyone on OSX with home brew python gotten this working? |
@nixprime but, If installed Python and vim use Homebrew, In the current state,
Since the {exe | include} and lib is different python, an error will occur. Simple hack solution is I do not know how to write CMakefile, I can not post the PR. Sorry. - set (PYTHON_LIBRARY "-framework Python" CACHE FILEPATH "Python Framework" FORCE)
+ set (PYTHON_LIBRARY "/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" CACHE FILEPATH "Python Framework" FORCE) |
@nixprime FYI, Not fix
Fixed
|
I've installed
boost
andcmake
through homebrew and./install.sh
seems to go through without a hitch.When I load up vim and try to use CtrlP, vim crashes with the following:
The text was updated successfully, but these errors were encountered: