[CMake] Cannot find appropriate C++ compiler

Ilias Miroslav Miroslav.Ilias at umb.sk
Sun Jun 9 14:37:49 EDT 2013


Dear experts,

I got this error:

lias at grid.ui.savba.sk:~/bin/cmake/cmake-2.8.11.1/../configure --prefix=/home/ilias/bin/cmake 
---------------------------------------------
CMake 2.8.11.1, Copyright 2000-2012 Kitware, Inc.
Found GNU toolchain
C compiler on this system is: gcc 
---------------------------------------------
Error when bootstrapping CMake:
Cannot find appropriate C++ compiler on this system.
Please specify one using environment variable CXX.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------
Log of errors: /home/ilias/bin/cmake/cmake-2.8.11.1/Bootstrap.cmk/cmake_bootstrap.log


But I have g++ installed:

ilias at grid.ui.savba.sk:~/bin/cmake/cmake-2.8.11.1/.g++ --version
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ilias at grid.ui.savba.sk:~/bin/cmake/cmake-2.8.11.1/.uname -a
Linux grid.ui.savba.sk 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 11:21:38 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

Any help, please ?

Thanks, Miro



More information about the CMake mailing list