I’m having difficulty building Slicer on Sierra.
Operating system: OSX 10.12.5
Slicer: Newest nightly (Jun 6 2017)
I’ve tried CMAKE_BUILD_TYPE set to Debug and Release, CMAKE_OSX_DEPLOYMENT_TARGET set to 10.12 and 10.9. CMAKE_C_COMPILER is set to /usr/bin/clang and CMAKE_CXX_COMPILER is set to /usr/bin/clang++. QT_QMAKE_EXECUTABLE is set to /usr/local/bin/qmake, which has a symbolic link to qmake in the Cellar directory.
The build fails on the “python” target. Error output is:
PhaseScriptExecution CMake\ Rules /Users/michaelschumaker/Packages/Slicer-SuperBuild-Debug/Slicer.build/Debug/python.build/Script-30496EF0E9A74020BE818B09.sh
/bin/sh -c /Users/michaelschumaker/Packages/Slicer-SuperBuild-Debug/Slicer.build/Debug/python.build/Script-30496EF0E9A74020BE818B09.sh
make: *** No rule to make target
/Users/michaelschumaker/Packages/Slicer-SuperBuild-Debug/python-source-prefix/src/python-source-stamp/Release/python-source-done', needed by/Users/michaelschumaker/Packages/Slicer-SuperBuild-Debug/python-prefix/src/python-stamp/Release/python-configure’. Stop.
Command /bin/sh failed with exit code 2
What’s interesting is that, even when I set it to the Debug build type, the directories of python-source-done and python-configure in the error are still “Release”. Is there a mistake in the configuration script?