Cannot install into CentOS 6.6
Posted: Thu Apr 16, 2015 5:33 pm
As I've seen codelite has no rpm built for CentOS (and couldn't install Fedora ones on it, due to several previous unreachable prerrequisites), I followed the instructions for common linux at http://codelite.org/Developers/Linux
But when I tried the make -j4 command, I got several unrecognized command line option "-std=c++11" errors:
$ make -j4
[ 0%] [ 0%] Built target sqlite3lib
Building CXX object codelitegcc/CMakeFiles/codelite-cc.dir/main.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitegcc/CMakeFiles/codelite-cc.dir/main.cpp.o] Error 1
make[1]: *** [codelitegcc/CMakeFiles/codelite-cc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] [ 0%] Building CXX object sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/pptable.cpp.o
Building CXX object sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/codelite_index_main.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/codelite_index_main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/pptable.cpp.o] Error 1
make[1]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/all] Error 2
Scanning dependencies of target codelite_cppcheck
[ 0%] [ 0%] [ 0%] Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/clplatform.cpp.o
Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_utils.cpp.o
Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_event.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_event.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/clplatform.cpp.o] Error 1
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_utils.cpp.o] Error 1
make[1]: *** [codelitephp/CMakeFiles/PHPParser.dir/all] Error 2
[ 0%] [ 0%] [ 0%] [ 0%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/pathmatch.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/cppcheckexecutor.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/main.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/filelister.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/pathmatch.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/cppcheckexecutor.cpp.o] Error 1
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/main.cpp.o] Error 1
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/filelister.cpp.o] Error 1
make[1]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/all] Error 2
make: *** [all] Error 2
Is it due to the gcc version (4.4.7)?
Thank you in advance
But when I tried the make -j4 command, I got several unrecognized command line option "-std=c++11" errors:
$ make -j4
[ 0%] [ 0%] Built target sqlite3lib
Building CXX object codelitegcc/CMakeFiles/codelite-cc.dir/main.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitegcc/CMakeFiles/codelite-cc.dir/main.cpp.o] Error 1
make[1]: *** [codelitegcc/CMakeFiles/codelite-cc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] [ 0%] Building CXX object sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/pptable.cpp.o
Building CXX object sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/codelite_index_main.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/codelite_index_main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/pptable.cpp.o] Error 1
make[1]: *** [sdk/codelite_indexer/CMakeFiles/codelite_indexer.dir/all] Error 2
Scanning dependencies of target codelite_cppcheck
[ 0%] [ 0%] [ 0%] Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/clplatform.cpp.o
Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_utils.cpp.o
Building CXX object codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_event.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_event.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/clplatform.cpp.o] Error 1
make[2]: *** [codelitephp/CMakeFiles/PHPParser.dir/PHPParser/php_utils.cpp.o] Error 1
make[1]: *** [codelitephp/CMakeFiles/PHPParser.dir/all] Error 2
[ 0%] [ 0%] [ 0%] [ 0%] Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/pathmatch.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/cppcheckexecutor.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/main.cpp.o
Building CXX object sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/filelister.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/pathmatch.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/cppcheckexecutor.cpp.o] Error 1
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/main.cpp.o] Error 1
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/cli/filelister.cpp.o] Error 1
make[1]: *** [sdk/codelite_cppcheck/CMakeFiles/codelite_cppcheck.dir/all] Error 2
make: *** [all] Error 2
Is it due to the gcc version (4.4.7)?
Thank you in advance