-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
'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:
cmake -DPYTHON_LIBRARY=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
-DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
Metadata
Metadata
Assignees
Labels
No labels