<div dir="ltr">Hi all,<br><br>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:<br><br><br><div class="gmail_quote"><div dir="ltr"><div><div>-- The C compiler identification is unknown<br>

CMake Error at Modules/CMakeDetermineCCompiler.cmake:186 (configure_file):<br>  configure_file Problem configuring file<br>Call Stack (most recent call first):<br>  CMakeLists.txt:14 (project)<br><br><br>-- The CXX compiler identification is unknown<br>

CMake Error at Modules/CMakeDetermineCXXCompiler.cmake:185 (configure_file):<br>  configure_file Problem configuring file<br>Call Stack (most recent call first):<br>  CMakeLists.txt:14 (project)<br><br><br>-- Check for working C compiler: /afs/<a href="http://enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc" target="_blank">enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc</a><br>

CMake Error at Modules/CMakeTestCCompiler.cmake:47 (try_compile):<br>  Unknown extension &quot;.c&quot; for file<br><br>    /afs/.<a href="http://enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeTmp/testCCompiler.c" target="_blank">enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeTmp/testCCompiler.c</a><br>

<br>  try_compile() works only for enabled languages.  Currently these are:<br><br>    C CXX<br><br>  See project() command to enable other languages.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:14 (project)<br>

<br><br>-- Check for working C compiler: /afs/<a href="http://enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc" target="_blank">enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc</a> -- broken<br>
CMake Error at Modules/CMakeTestCCompiler.cmake:61 (message):<br>
  The C compiler<br>  &quot;/afs/<a href="http://enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc" target="_blank">enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2/gcc/bin/gcc</a>&quot; is<br>  not able to compile a simple test program.<br>

<br>  It fails with the following output:<br><br>   <br><br>  <br><br>  CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:14 (project)<br><br><br>-- Configuring incomplete, errors occurred!<br>

See also &quot;/afs/.<a href="http://enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeOutput.log" target="_blank">enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeOutput.log</a>&quot;.<br>

See also &quot;/afs/.<a href="http://enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeError.log" target="_blank">enea.it/project/sysbiolab/software_scientifico/cmake-2.8.12/CMakeFiles/CMakeError.log</a>&quot;.<br>

---------------------------------------------<br>Error when bootstrapping CMake:<br>Problem while running initial CMake<br>---------------------------------------------<br><br><br><br><br><br><br>I am using gcc 4.5.2 and this is my bootstrap command line:<br>
<br>./bootstrap --no-system-libs --prefix=$GLOBAL_PREFIX/cmake/$CMAKE_VERSION<br><br>I am also attaching CMakeFiles/CMakeOutput.log and CMakeFiles/CMakeError.log. Can anyone help me to understand what&#39;s going on here, please?<br>
<br>Many thanks in advance.<br></div></div></div></div></div>