Wheeler, Frederick W (GE, Research)
2007-10-05 17:31:21 UTC
I'm having trouble running cygwin cmake 2.4.7-2 on two different
machines, one running XP, and one Windows 2000. Here's the error:
% /bin/cmake
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/bin
39 [main] cmake 1196 _cygtls::handle_exceptions: Error while
dumping state (probably corrupted stack)
Segmentation fault (core dumped)
In each case I've installed cmake using the cygwin setup.exe
installer. On the XP machine I just did a reinstall of cmake using
setup.exe, but the problem persists. I'm not sure when this problem
began. It could have started months ago without me noticing.
/usr/share/cmake-2.4.7/Modules/ is full of .cmake and other files.
Looks normal to me. About 192 files dated "Jul 31 09:51".
% ls -l /usr/share/cmake-2.4.7/Modules/|wc -l
194
I thought maybe I had an environment variable problem. But if I unset
every environment variable I get the same behavior.
I get the same error in rxvt, and the usual cygwin bash shell. But
cygwin cmake does in fact work (!!!) when run from a DOS window using:
c:\cygwin\bin\cmake
I tried running bash, sh, tcsh and zsh from a DOS window and then
running /bin/cmake. In each case - same error. I never use tcsh or
zsh, so I don't have any configuration files for them.
cygcheck thinks my cmake install is OK (and cygcheck -c says every
installed package is OK)
% cygcheck -c cmake
Cygwin Package Information
Package Version Status
cmake 2.4.7-2 OK
I updated every installed cygwin package the "current" version a
couple of hours ago.
% md5sum /bin/cmake.exe
af465bc5ad9e6157a4898c476bfe62a3 */bin/cmake.exe
I don't see anything about this problem on the cmake or cygwin mailing
lists, so this must be something about my personal setup on these two
machines. Any help or ideas for solving/debugging this would be
appreciated.
Thanks,
Fred Wheeler
machines, one running XP, and one Windows 2000. Here's the error:
% /bin/cmake
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/bin
39 [main] cmake 1196 _cygtls::handle_exceptions: Error while
dumping state (probably corrupted stack)
Segmentation fault (core dumped)
In each case I've installed cmake using the cygwin setup.exe
installer. On the XP machine I just did a reinstall of cmake using
setup.exe, but the problem persists. I'm not sure when this problem
began. It could have started months ago without me noticing.
/usr/share/cmake-2.4.7/Modules/ is full of .cmake and other files.
Looks normal to me. About 192 files dated "Jul 31 09:51".
% ls -l /usr/share/cmake-2.4.7/Modules/|wc -l
194
I thought maybe I had an environment variable problem. But if I unset
every environment variable I get the same behavior.
I get the same error in rxvt, and the usual cygwin bash shell. But
cygwin cmake does in fact work (!!!) when run from a DOS window using:
c:\cygwin\bin\cmake
I tried running bash, sh, tcsh and zsh from a DOS window and then
running /bin/cmake. In each case - same error. I never use tcsh or
zsh, so I don't have any configuration files for them.
cygcheck thinks my cmake install is OK (and cygcheck -c says every
installed package is OK)
% cygcheck -c cmake
Cygwin Package Information
Package Version Status
cmake 2.4.7-2 OK
I updated every installed cygwin package the "current" version a
couple of hours ago.
% md5sum /bin/cmake.exe
af465bc5ad9e6157a4898c476bfe62a3 */bin/cmake.exe
I don't see anything about this problem on the cmake or cygwin mailing
lists, so this must be something about my personal setup on these two
machines. Any help or ideas for solving/debugging this would be
appreciated.
Thanks,
Fred Wheeler