-
Notifications
You must be signed in to change notification settings - Fork 17
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
make check on MacOS X #15
Comments
Yes, python seems to be a mess on Mac. |
But in general on a Mac you do not want to be using the system python, especially since you need to install some extra packages. I currently can't do a |
After a
and a
I did
and On my other laptop, where I only have a brew version of I have a couple of loose ends to tie up today, but I should be able to make a pull request with the port shortly. |
Make sure it works for people who don't use brew. |
And for contrast, without specifying the
I will look into the what happens to people who try and use the system python (contrary to Apple's advice), once the port is over. |
I tried some cmake hack. Can you guys check if this works. |
OK will try out now ... Nope:
|
But does it crash? ( |
Amazing! No it doesn't crash. What sort of magic is this? |
OK after my beach walk I will pull this into my python3 branch and see if it works there too. |
facebook magic :-( |
Ok, so I changed cmake to do the following:
|
So it works on my python3 port. Why do we need the PythonLibs stuff still? |
'make check' can be made to work on a Mac but it's hard.
Several issues get in the way:
pip doesn't work with the default system python because of openssl issues (don't know
when that stopped working).
it's common to have several versions of python but they have to be installed outside of
/usr/bin and /usr/lib where the system python lives.
the CMAKE find_package(PythonLibs) is not reliable. It may find /usr/lib/libpython2.7.dylib
(i.e., the system version) instead of the version one actually wants.
The only way I got it to work is by finding the right library and forcing cmake to use it:
The text was updated successfully, but these errors were encountered: