MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015334 | CMake | CMake | public | 2015-01-03 19:34 | 2016-06-10 14:31 |
| Reporter | jhuang | ||||
| Assigned To | Kitware Robot | ||||
| Priority | immediate | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Linux | OS | SUSE Linux Enterprise Server | OS Version | 11 SP3 (x86_64) |
| Product Version | CMake 3.1 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015334: CMake cannot work | ||||
| Description | I installed the latest CMake from Binary and try to test it with a very simple project, but there're some error in console: -------------------Console output--------------------------------- -- The C compiler identification is unknown CMake Error at /home/jhuang/local/package/cmake-3.1.0-Linux-x86_64/share/cmake-3 .1/Modules/CMakeDetermineCCompiler.cmake:172 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:2 (project) -- The CXX compiler identification is unknown CMake Error at /home/jhuang/local/package/cmake-3.1.0-Linux-x86_64/share/cmake-3 .1/Modules/CMakeDetermineCXXCompiler.cmake:170 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Check for working C compiler: /usr/bin/cc CMake Error at /home/jhuang/local/package/cmake-3.1.0-Linux-x86_64/share/cmake-3 .1/Modules/CMakeTestCCompiler.cmake:47 (try_compile): Unknown extension ".c" for file /home/jhuang/cmake_test/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:2 (project) -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /home/jhuang/local/package/cmake-3.1.0-Linux-x86_64/share/cmake-3 .1/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/cc" 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:2 (project) -- Configuring incomplete, errors occurred! See also "/home/jhuang/cmake_test/CMakeFiles/CMakeOutput.log". See also "/home/jhuang/cmake_test/CMakeFiles/CMakeError.log". -------------------Console output--------------------------------- Following is the 172 in CMakeDetermineCCompiler.cmake # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake @ONLY ) Why there's an CMakeERROR on this line, no any hints, even in the CMakeOutput.log and CMakeError.log | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5338/CMakeLog%20and%20CMakeList.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-01-03 19:34 | jhuang | New Issue | |||
| 2015-01-03 19:34 | jhuang | File Added: CMakeLog and CMakeList.txt | |||
| 2015-01-04 08:45 | Alex Merry | Note Added: 0037549 | |||
| 2015-01-04 08:49 | jhuang | Note Added: 0037550 | |||
| 2015-01-08 12:24 | Brad King | Note Added: 0037637 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042696 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||