[CMake] CMAKE_MAKE_PROGRAM is not set
William A. Hoffman
billlist at nycap.rr.com
Thu Feb 23 08:29:10 EST 2006
At 03:08 AM 2/23/2006, Martin Baumann wrote:
>Hi,
>
>I have installed CMake on a Onyx2 system. When I run cmake I get the error:
>
>CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
>Missing variable is:
>CMAKE_C_COMPILER_ENV_VAR
>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
>Missing variable is:
>CMAKE_C_COMPILER
>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
>Missing variable is:
>CMAKE_CXX_COMPILER_ENV_VAR
>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
>Missing variable is:
>CMAKE_CXX_COMPILER
>Segmentation fault (core dumped)
>
>Usual Gnu compiler should be used and is set on the machine (gcc and make seem to work correct).
>Why are these variables not set by default? I installed cmake of different Linux distributions but I never had to set
>these parameters by hand.
Questions:
1. What version of cmake?
2. How was cmake built/installed
3. Is either make or gmake in your path? (which make; which gmake)
4. Are g++/gcc in your PATH?
5. What command line are you using to run CMake?
-Bill
More information about the CMake
mailing list