erro ao instalar o mesa no comando 'make linux-x86'

0
nir@nir:~/Downloads/mesa-8.0$ make linux-x86
make default
make[1]: Entering directory '/home/nir/Downloads/mesa-8.0'
make[2]: Entering directory '/home/nir/Downloads/mesa-8.0/src'
Making sources for linux-x86
make[3]: Entering directory '/home/nir/Downloads/mesa-8.0/src/glsl'
flex --nounistd -oglcpp/glcpp-lex.c  glcpp/glcpp-lex.l
make[3]: flex: Command not found
make[3]: *** התיינבל םיללכ ןיא ךא ,'depend' תשרוד 'default' הרטמ.  Stop. **//trnaslaet from hebrew: target 'default' Requires 'depend' But there are no rules for building. Stop.**
make[3]: Leaving directory '/home/nir/Downloads/mesa-8.0/src/glsl'
make[2]: *** [subdirs] 1 הלקת **//trnaslaet from hebrew: fault**
make[2]: Leaving directory '/home/nir/Downloads/mesa-8.0/src'
make[1]: *** [default] 1 הלקת **//trnaslaet from hebrew: fault**
make[1]: Leaving directory '/home/nir/Downloads/mesa-8.0'
make: *** [linux-x86] 2 הלקת **//trnaslaet from hebrew: fault**
nir@nir:~/Downloads/mesa-8.0$ 

Existe alguma solução? Obrigado!

    
por yinon 12.02.2012 / 18:10

1 resposta

0

O erro é bastante óbvio:

make[3]: flex: Command not found

O Mesa possui uma dependência de compilação em flex , que pode ser instalado com:

sudo apt-get install flex

Para instalar todas as dependências de construção do Mesa de uma só vez, execute:

sudo apt-get build-dep mesa
    
por Lekensteyn 12.02.2012 / 19:43