[CMake] Error when bootstrapping CMake (v. 2.8.12)
Giuseppe Aprea
giuseppe.aprea at gmail.com
Tue Oct 29 23:21:48 EDT 2013
Hi all,
I am trying to install Cmake v. 2.8.12 but I receive the error in
attachment (file mylog); the final part of the output is:
-- The C compiler identification is unknown
CMake Error at Modules/CMakeDetermineCCompiler.cmake:186 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:14 (project)
-- The CXX compiler identification is unknown
CMake Error at Modules/CMakeDetermineCXXCompiler.cmake:185 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:14 (project)
-- Check for working C compiler: /afs/
enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc
CMake Error at Modules/CMakeTestCCompiler.cmake:47 (try_compile):
Unknown extension ".c" for file
/afs/.
enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeTmp/testCCompiler.c
try_compile() works only for enabled languages. Currently these are:
C CXX
See project() command to enable other languages.
Call Stack (most recent call first):
CMakeLists.txt:14 (project)
-- Check for working C compiler: /afs/
enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc -- broken
CMake Error at Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc" is
not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:14 (project)
-- Configuring incomplete, errors occurred!
See also "/afs/.
enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeOutput.log
".
See also "/afs/.
enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeError.log
".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
I am using gcc 4.5.2 and this is my bootstrap command line:
./bootstrap --no-system-libs --prefix=$GLOBAL_PREFIX/cmake/$CMAKE_VERSION
I am also attaching CMakeFiles/CMakeOutput.log and
CMakeFiles/CMakeError.log. Can anyone help me to understand what's going on
here, please?
Many thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131030/738b0f04/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mylog
Type: application/octet-stream
Size: 101842 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131030/738b0f04/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: text/x-log
Size: 3491 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131030/738b0f04/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: text/x-log
Size: 1983 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131030/738b0f04/attachment-0003.bin>
More information about the CMake
mailing list