[CMake] CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".

Carlos Giménez scire1905 at gmail.com
Mon May 27 07:41:45 EDT 2013


Dear Rolf Eike Beer, thanks for the help. Exactly! That was my
error... Now is working.

Best regards!

Am 27.05.2013 11:50, schrieb Carlos Giménez:
>* Dear all, I'm trying to install one program in my system (Debian 7.0*>* Wheezy), but I have this problem with cmake.*>* *>* *>* *FC=gfotran CC=gcc CXX=g++ cmake -DENABLE_MPI=OFF -DENABLE_SGI_MPT=OFF*>* -DENABLE_BLAS=ON -DENABLE_LAPACK=ON -DENABLE_TESTS=OFF*>* -DENABLE_64BIT_INTEGERS=OFF -DCMAKE_BUILD_TYPE=Release*>* /home/Darth-Razor/Documentos/DIRAC-12.6-Source*>* *>* 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.*
Do you have "make" installed?

HTH,

Eike
-- 



2013/5/27 Carlos Giménez <scire1905 at gmail.com>

> Dear all, I'm trying to install one program in my system (Debian 7.0
> Wheezy), but I have this problem with cmake.
>
>
> *FC=gfotran CC=gcc CXX=g++ cmake -DENABLE_MPI=OFF -DENABLE_SGI_MPT=OFF
> -DENABLE_BLAS=ON -DENABLE_LAPACK=ON -DENABLE_TESTS=OFF
> -DENABLE_64BIT_INTEGERS=OFF -DCMAKE_BUILD_TYPE=Release
> /home/Darth-Razor/Documentos/DIRAC-12.6-Source
>
> 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_Fortran_COMPILER_ENV_VAR
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_Fortran_COMPILER
> CMake Error: Could not find cmake module
> file:/home/Darth-Razor/Documentos/DIRAC-12.6-Source/build/CMakeFiles/CMakeFortranCompiler.cmake
> 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/Darth-Razor/Documentos/DIRAC-12.6-Source/build/CMakeFiles/CMakeCCompiler.cmake
> 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
> CMake Error: Could not find cmake module
> file:/home/Darth-Razor/Documentos/DIRAC-12.6-Source/build/CMakeFiles/CMakeCXXCompiler.cmake
> CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
> -- Configuring incomplete, errors occurred!*
>
> I have this versions:
>
> *cmake version = 2.8.9
> gfortran version = GNU Fortran (Debian 4.7.2-5) 4.7.2
> *
> *gcc version = gcc (Debian 4.7.2-5) 4.7.2
> *
> *g++ version = g++ (Debian 4.7.2-5) 4.7.2*
>
> I try to setup the .bashrc with
>
> *export CMAKE_Fortran_COMPILER="/usr/bin/gfortran"
> export CMAKE_C_COMPILER="/usr/bin/gcc"
> export CMAKE_CXX_COMPILER="/usr/bin/g++"*
>
> and with
>
> *export
> PATH=$PATH:"/usr/bin/cmake:/usr/bin/gfortran:/usr/bin/gcc:/usr/bin/g++"*
>
> But I have the same error.
>
> Thanks for the help in advance!
>
> All the best!
>
>
> --
> Lic. Carlos A. Giménez
> PhD student
> Natural and Exact Science Faculty
> Northeastern University of Argentina
> Institute of Modeling and Innovation on Technology
> CONICET UNNE http://imit.unne.edu.ar
> Personal web page: https://sites.google.com/site/scire1905/
>
> (Enough reason to think if is necessary to print this document.)
>



-- 
Lic. Carlos A. Giménez
PhD student
Natural and Exact Science Faculty
Northeastern University of Argentina
Institute of Modeling and Innovation on Technology
CONICET UNNE http://imit.unne.edu.ar
Personal web page: https://sites.google.com/site/scire1905/

(Enough reason to think if is necessary to print this document.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130527/6d23da1a/attachment.htm>


More information about the CMake mailing list