Slicer build failed on Mac OS 10.12 Sierra

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Slicer build failed on Mac OS 10.12 Sierra

This post has NOT been accepted by the mailing list yet.
I'm having difficulty building Slicer on Sierra.
Operating system: OSX 10.12.5
Slicer: Newest nightly (Jun 6 2017)
Qt: cartr/qt4/qt
CMake: 3.8.0
Xcode: 8.3.2
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/
    cd /Users/michaelschumaker/Packages/Slicer
    /bin/sh -c /Users/michaelschumaker/Packages/Slicer-SuperBuild-Debug/

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?

Sorry for any duplicate posts. I just subscribed to this list.
Software Developer at Sunnybrook Health Sciences Centre