[CMake] Missing Internal Variables

"Flávio P. Duarte" fduarte at gisplan.com.br
Fri Jul 14 12:11:56 EDT 2006


Hi,
	I am trying to use CMake for first time. To accomplish that, I've
created a simple project which is basically one file.
	Whenever I run cmake I get a bunch of error messages:
$ cmake .
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_do_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_do_COMPILER
CMake Error: Could not find cmake module
file:/home/fd/tests/CMake/Project01/CMakeFiles/CMakedoCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_CMake_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_CMake_COMPILER
CMake Error: Could not find cmake module
file:/home/fd/tests/CMake/Project01/CMakeFiles/CMakeCMakeCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_-_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_-_COMPILER
CMake Error: Could not find cmake module
file:/home/fd/tests/CMake/Project01/CMakeFiles/CMake-Compiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_01_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_01_COMPILER
CMake Error: Could not find cmake module
file:/home/fd/tests/CMake/Project01/CMakeFiles/CMake01Compiler.cmake
CMake Error: CMAKE_do_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CMake_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_-_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_01_COMPILER not set, after EnableLanguage
-- Configuring done

I ma using cmake 2.4.2 (both precompiled and source packages).

My configuration is:
  Linux Distribuition: CentOS 3.7
  gmake 3.79.1
  gcc/g++ 3.2.3

  Am I doing something wrong or it is a bug ?

Flavio


More information about the CMake mailing list