View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002957||Slicer4||Core: Building (CMake, Superbuild)||public||2013-02-15 10:13||2014-04-07 14:52|
|Status||closed||Resolution||unable to reproduce|
|Target Version||Slicer 4.3.0||Fixed in Version||Slicer 4.3.0|
|Summary||0002957: CMake hangs on OSX|
The cmake nightly successfully solves problem with finding QtWebKit framework on mac with newer xcode versions.
However, instead, cmake goes into an infinite loop when compiling using "make".
|Tags||No tags attached.|
Here is where cmake goes into the infinite loop
-- Configuring SEM CLI module: DWIConvert
Please report this issue on the CMake developer list / bug tracker. Thanks
Make also sure to add a comment on the dedicated CMake issue. See http://www.cmake.org/Bug/view.php?id=13765
Yes, good idea. I decided to make a separate issue on cmake, and cross-referenced them.
1) Clean build. Reproduced multiple times.
My memory is that the framework error happens earlier in the build process, maybe PythonQt or CTK. But it's possible that I didn't remember correctly. Would it help that I confirm?
Cross reference to cmake bug report
On the CMake issue, simply describe the set of command leading to the issue. For example:
$ git clone ...
Within out more details, it will be near impossible to solve the problem. Provide details, does it occur when doing parallel build -j5 ? doing serial build ...
Attaching meaningful snipper of log file is also nice. Obtained for example using VERBOSE=1
AS suggested by Bill Hoffman, using cmake --trace could also be useful. Easier approach that what I just suggested :)
Using the nightly version reported on the following page is known to work. Make sure to use this one. See http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Build_Instructions/Prerequisites#MacOSX
Note: I suspect the following commit to cause the hang: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ccfeefae
For reference, I also copied below the email I sent to the list:
I just updated both Slicer build system  and the wiki  to support Qt 4.8.4 so that Mountain Lion can be build out of the box.
In other word, on mountain lion, you simply download a recent nightly CMake version, install Qt 4.8.4 using the dmg referenced in . And it should work out of the box.
On Mountain Lion , I did a clean build using cmake  and a Release build was done without any issue in 26mins.
$ git clone git://github.com/Slicer/Slicer
That said, it failed using the latest nightly "cmake-18.104.22.16830215-g4c900". Make sure you used CMake version 22.214.171.12430121-g92bd8.
Wiki has been updated to reference the version of CMake know to work. See 
As a follow up, building on MacOSX should work out of the box using the specific version of CMake discussed on the mailing list  and also reported on the wiki 
All that said, CMake folks (Thanks Brad King :)) just fixed an issue that was preventing the most recent nightly from being used to successfully compile Slicer. The fix has been tested and is known to work. Tomorrow nightly build of CMake and by extension the coming release of CMake 2.8.11 will work.
Thanks again for reporting the issue.
If you are curious about the details, check the commit message:
The associated CMake test have also been updated:
Closing resolved issues that have not been updated in more than 3 months
|2013-02-15 10:13||gregsharp||New Issue|
|2013-02-15 10:13||gregsharp||Status||new => assigned|
|2013-02-15 10:13||gregsharp||Assigned To||=> jcfr|
|2013-02-15 10:15||gregsharp||Note Added: 0007952|
|2013-02-15 10:17||jcfr||Note Added: 0007953|
|2013-02-15 10:17||jcfr||Status||assigned => feedback|
|2013-02-15 10:18||jcfr||Target Version||=> Slicer 4.3.0|
|2013-02-15 10:20||jcfr||Note Added: 0007954|
|2013-02-15 10:31||gregsharp||Note Added: 0007956|
|2013-02-15 10:32||gregsharp||Note Added: 0007957|
|2013-02-15 10:39||jcfr||Note Added: 0007958|
|2013-02-15 11:26||jcfr||Note Added: 0007961|
|2013-02-17 06:36||jcfr||Note Added: 0007971|
|2013-02-17 06:36||jcfr||Status||feedback => resolved|
|2013-02-17 06:36||jcfr||Fixed in Version||=> Slicer 4.3.0|
|2013-02-17 06:36||jcfr||Resolution||open => fixed|
|2013-02-18 08:59||jcfr||Note Added: 0007980|
|2013-09-02 11:19||jcfr||Relationship added||related to 0002025|
|2014-01-07 14:28||bronson||Resolution||fixed => reopened|
|2014-01-07 20:03||bronson||Resolution||reopened => unable to reproduce|
|2014-04-07 14:52||jcfr||Note Added: 0011549|
|2014-04-07 14:52||jcfr||Status||resolved => closed|