[CMake] cmake ./configure hangs after "Check for working C compiler: /usr/bin/cc "

Joseph VanAndel vanandel at ucar.edu
Tue Nov 25 22:33:05 EST 2008


I'm trying to build cmake on Mac OS 10.5.5, using XCode 3.1.1, gcc  
4.0.1  I've tried building cmake 2.6.2, and cmake from cvs, as of 2:30  
GMT, 11/26/2008.  While running './configure' for either version, it  
hangs after the message:

Check for working C compiler: /usr/bin/cc

'ps' shows
/Users/vanandel/src/cmake_cvs/CMake/Bootstrap.cmk/cmake -E  
cmake_link_scrip
(gcc-4.0)

It's not obvious what gcc is trying to compile.

When I ran 'dtruss -f' on ./configure for cmake 2.6.2, the last system  
call was:
  4252/0x85842e8:  wait4(0x109D, 0xBFFFEE68, 0x0)                 =  
4253 0

where 4252 is the process id for gcc-4.0, which is still hung.  dtruss  
does not seem to show what gcc-4.0 is waiting on.  If I run 'top', no  
task is using any CPU.

I've checked the last few months of the mailing list, and not seen  
anyone else encounter this problem.  I've googled 'cmake hang', and  
not found any solution so far.



More information about the CMake mailing list