Monday, 15 April 2013

gcc - Unable to upgrade cmake from 2.6 to higher -



gcc - Unable to upgrade cmake from 2.6 to higher -

i using centos 6.5 has cmake 2.6. want upgrade higher version (cmake 2.8 or cmake 3.0). have downloaded setup files. when run file using ./configure next error message

[root@dtl-sameet cmake-3.0.0]# ./configure --------------------------------------------- cmake 3.0.0, copyright 2000-2014 kitware, inc. c compiler on scheme is: gcc --------------------------------------------- error when bootstrapping cmake: cannot find appropriate c++ compiler on system. please specify 1 using environment variable cxx. see cmake_bootstrap.log compilers attempted. --------------------------------------------- log of errors: /home/sameet/downloads/cmake-3.0.0/bootstrap.cmk/cmake_bootstrap.log

i have updated gcc higher version , want maintain higher version

[root@dtl-sameet cmake-3.0.0]# gcc --version gcc (gcc) 4.8.2 20140120 (red hat 4.8.2-15) copyright (c) 2013 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose. [root@dtl-sameet cmake-3.0.0]# g++ --version g++ (gcc) 4.8.2 20140120 (red hat 4.8.2-15) copyright (c) 2013 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.

the link answers similar question did not wanted install "development tools" create gcc fall old version.

this link answers similar question did not wanted install bundle manager.

i set environmental variable cxx

export cxx="/usr/bin/gcc"

it did not work.

look bootstrap.cmk/cmake_bootstrap.log.

the configure script runs number of tests. assume 1 of them failed.

you need find out one, test , how create work or disable it.

you might want update question , find out wrong cmake bootstrap on system.

gcc cmake centos6

No comments:

Post a Comment