Slicer build failed on Mac OS 10.12 Sierra

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Slicer build failed on Mac OS 10.12 Sierra

mschumaker
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/Slicer.build/Debug/python.build/Script-30496EF0E9A74020BE818B09.sh
    cd /Users/michaelschumaker/Packages/Slicer
    /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?

Sorry for any duplicate posts. I just subscribed to this list.



-----
Software Developer at Sunnybrook Health Sciences Centre
--
View this message in context: http://slicer-devel.65872.n3.nabble.com/Slicer-build-failed-on-Mac-OS-10-12-Sierra-tp4038521.html
Sent from the slicer-devel mailing list archive at Nabble.com.
_______________________________________________
slicer-devel mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/FAQ
Software Developer at Sunnybrook Health Sciences Centre
Reply | Threaded
Open this post in threaded view
|

Re: Slicer build failed on Mac OS 10.12 Sierra

lasso2
Sorry, we moved all discussions to discourse.slicer.org, could you please post your question there?

Where did you find a link to the mailing list?

Andras

-----Original Message-----
From: slicer-devel [mailto:[hidden email]] On Behalf Of mschumaker
Sent: Tuesday, June 6, 2017 11:29 AM
To: SPL Slicer Devel <[hidden email]>
Subject: [slicer-devel] Slicer build failed on Mac OS 10.12 Sierra

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/Slicer.build/Debug/python.build/Script-30496EF0E9A74020BE818B09.sh
    cd /Users/michaelschumaker/Packages/Slicer
    /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?

Sorry for any duplicate posts. I just subscribed to this list.



-----
Software Developer at Sunnybrook Health Sciences Centre
--
View this message in context: http://slicer-devel.65872.n3.nabble.com/Slicer-build-failed-on-Mac-OS-10-12-Sierra-tp4038521.html
Sent from the slicer-devel mailing list archive at Nabble.com.
_______________________________________________
slicer-devel mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
To unsubscribe: send email to [hidden email] with unsubscribe as the subject http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/FAQ
_______________________________________________
slicer-devel mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Slicer build failed on Mac OS 10.12 Sierra

mschumaker
Thanks. I posted it there. I think I found the link to this list from a post
in discourse.slicer.org. I was looking for posts to try to solve my issue,
and a topic from the old list looked relevant.



-----
Software Developer at Sunnybrook Health Sciences Centre
--
View this message in context: http://slicer-devel.65872.n3.nabble.com/Slicer-build-failed-on-Mac-OS-10-12-Sierra-tp4038522p4038524.html
Sent from the slicer-devel mailing list archive at Nabble.com.
_______________________________________________
slicer-devel mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/FAQ
Software Developer at Sunnybrook Health Sciences Centre
Reply | Threaded
Open this post in threaded view
|

Re: Slicer build failed on Mac OS 10.12 Sierra

mschumaker
This post has NOT been accepted by the mailing list yet.
In reply to this post by lasso2
Thanks. I posted it there. I think I found the link to this list from a post in discourse.slicer.org. I was looking for posts to try to solve my issue, and a topic from the old list looked relevant.
Software Developer at Sunnybrook Health Sciences Centre