gcc path inválido ao instalar o VMWare Tools do VMWare Workstation 7.1.1 build-282343 no squeeze da Debian

16

Estou tentando instalar ferramentas VMWare no Debian Squeeze.

Meu erro:

Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel

Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes] 

uname -a:

Linux debian 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686 GNU/Linux

dpkg -l | grep make

ii  make                                 3.81-8                               An utility for Directing compilation.

dpkg -l | grep gcc

ii  gcc                                  4:4.4.4-2                            The GNU C compiler
ii  gcc-4.4                              4.4.4-8                              The GNU C compiler
ii  gcc-4.4-base                         4.4.4-8                              The GNU Compiler Collection (base package)
ii  libgcc1                              1:4.4.4-8                            GCC support library

whereis gcc

gcc: /usr/bin/gcc /usr/lib/gcc
    
por Миша Кошелев 23.09.2010 / 20:38

2 respostas

20

A execução deste comando resolveu o problema:

sudo aptitude install gcc-4.3 make linux-headers-'uname -r' -y
    
por 23.09.2010 / 23:32
5

Como Guillaume disse no comentário do OP:

sudo aptitude install libglib2.0-0
    
por 13.03.2012 / 11:58