[CMake] CMake error while run ./configure in Fedora

Andi Purwito andipurwito at yahoo.com
Mon Sep 20 06:08:34 EDT 2010


Hello masters, please help me to fix this error.
I couldn't compile gammu source on my Fedora 13 when running ./configure.

Here is the error messages:

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: Could not find cmake module 
file:/home/smsgw/gammu/gammu-1.28.0/build-configure/CMakeFiles/CMakeCCompiler.cmake

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

To make sure what i'm doing, i was install cmake from fedora repository directly 
using "yum install cmake" and completed. And then to make sure again, i was 
update my gcc using "yum update gcc". But there was still errors during running 
./configure. Finally, i decided to update all needed inside my fedora using "yum 
update" to make sure again. But, i got the same errors.
:-) ???

What's next i have to do to fix this error?
Thanks and best regard. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100920/6f40be4a/attachment.htm>


More information about the CMake mailing list