[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] CMAKE_MAKE_PROGRAM is not set
From:       "William A. Hoffman" <billlist () nycap ! rr ! com>
Date:       2006-02-23 13:29:10
Message-ID: 6.2.3.4.2.20060223082712.08f12050 () pop ! nycap ! rr ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic