Problemas com o CMake no CentOS 6

5

Eu tento instalar um software no CentOS 6.2, sem sucesso. No arquivo README, diz:

Requirements:
  - qt4 gui lib version >= qt4.6.x

    Note that many linux distributions split packages into a user
    and developer package and that you need to install both.

  - ALSA Version 1.0 or newer (audio/midi input/output)
  - CMake >= 2.4.6
  - libsndfile >= 1.0.19

  - recommended: JACK audio server (audio output)

  - recommended: portaudio 19
    (required for windows version)

quando tento instalá-lo com make release , recebo o seguinte:


-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

Alguém pode me ajudar nessa questão?

    
por artaxerxe 07.03.2012 / 09:51

2 respostas

2

Eu fiz isso instalando gcc-c++ via yum .

    
por 07.03.2012 / 10:38
7

Você precisa de c ++ e alguns outros pacotes. Por exemplo:

# yum install gcc-c++
# yum install cmake'
Installed:
cmake.i386 0:2.6.4-1.el5.rf                                                  
Complete!
# yum install -y ncurses-devel
Installed:
ncurses-devel.i386 0:5.5-24.20060715                                         
Complete!
    
por 14.04.2012 / 18:41

Tags