MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015951 | CMake | CMake | public | 2016-02-02 17:51 | 2016-06-10 14:21 |
Reporter | Kemin Zhou | ||||
Assigned To | |||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Linux Centos | OS Version | 6.5 |
Product Version | CMake 3.4.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015951: cannot configure cmake | ||||
Description | Cannot pass the configuration step of cmake while trying to build cmake. The problem is the the g++ compiler is in /usr/local which g++ /usr/local/bin/g++ g++ --version g++ (GCC) 5.3.0 Copyright (C) 2015 Free Software Foundation, Inc. echo $CXX /usr/local/bin/g++ ./configure --------------------------------------------- CMake 3.5.0-rc1, Copyright 2000-2016 Kitware, Inc. C compiler on this system is: cc --------------------------------------------- Error when bootstrapping CMake: Cannot find appropriate C++ compiler on this system. Please specify one using environment variable CXX. See cmake_bootstrap.log for compilers attempted. --------------------------------------------- Log of errors: /da/coding/download/cmake-3.5.0-rc1/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- When I look into the log file: I found the location and the reason for the failure: cmake_bootstrap_12256_test.cxx:5:23: fatal error: iostream.h: No such file or directory compilation terminated. Test failed to compile Try: /usr/local/bin/g++ Line: /usr/local/bin/g++ -DTEST3 cmake_bootstrap_12256_test.cxx -o cmake_bootstrap_12256_test ==== it is not using the include directory: /usr/local/include/c++/5.3.0 CPLUS_INCLUDE_PATH=/usr/local/include/c++/5.3.0 the configuration script should add this variable to the make file. | ||||
Steps To Reproduce | You need to install the gcc to /usr/local | ||||
Additional Information | It is the -I$CPLUS_INCLUDE_PATH that is not being used by cmake | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-02-02 17:51 | Kemin Zhou | New Issue | |||
2016-02-03 09:01 | Brad King | Note Added: 0040431 | |||
2016-02-03 13:15 | Kemin Zhou | Note Added: 0040433 | |||
2016-02-03 13:38 | Brad King | Note Added: 0040434 | |||
2016-02-04 22:34 | Kemin Zhou | Note Added: 0040440 | |||
2016-02-05 08:26 | Brad King | Note Added: 0040441 | |||
2016-02-13 12:57 | Kemin Zhou | Note Added: 0040484 | |||
2016-02-13 13:02 | Kemin Zhou | Note Added: 0040485 | |||
2016-02-13 14:26 | Kemin Zhou | Note Added: 0040486 | |||
2016-02-16 09:21 | Brad King | Status | new => resolved | ||
2016-02-16 09:21 | Brad King | Resolution | open => no change required | ||
2016-06-10 14:21 | Kitware Robot | Note Added: 0041254 | |||
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|