What is the location of the directory of C header files that match your running kernel – Debian y Ubuntu

vmware logo

Introduccion

La instalacion de WMware Server 2 sobre Ubuntu 9.04 fallo debido a que es necesario recompilar los modulos de vmware para mi sistema operativo.

Sobre las distros de Linux Debian/Ubuntu y demas derivados es necesario instalar las herramientas de compilacion necesarias, asi como las fuentes y los encabezados del kernel para poder compilar e instalar la suite de virtualizacion VMware. Ya que la falta de estos componentes nos despliega el siguiente error:

What is the location of the directory of C header files that match your running kernel

Desplegar la version del kernel de Linux

Para conocer que version o release de kernel tenemos en ejecucion, tecleamos:

:~# uname -r

Como instalar las fuentes/encabezados del kernel

Para instalar los encabezados y el compilador gcc tan solo es necesario ejecutar apt, de siguiente manera:

:~#  apt-get install linux-headers-`uname -r`
:~# apt-get install build-essential

root@server:~/vmware-server-distrib# sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-2.6.28-15
The following NEW packages will be installed:
linux-headers-2.6.28-15 linux-headers-2.6.28-15-server
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
Need to get 9373kB of archives.
After this operation, 74.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com jaunty-updates/main linux-headers-2.6.28-15 2.6.28-15.52 [8699kB]
Get:2 http://us.archive.ubuntu.com jaunty-updates/main linux-headers-2.6.28-15-server 2.6.28-15.52 [673kB]
Fetched 9373kB in 2min 37s (59.4kB/s)
Selecting previously deselected package linux-headers-2.6.28-15.
(Reading database ... 36308 files and directories currently installed.)
Unpacking linux-headers-2.6.28-15 (from .../linux-headers-2.6.28-15_2.6.28-15.52_all.deb) ...
Selecting previously deselected package linux-headers-2.6.28-15-server.
Unpacking linux-headers-2.6.28-15-server (from .../linux-headers-2.6.28-15-server_2.6.28-15.52_i386.deb) ...
Setting up linux-headers-2.6.28-15 (2.6.28-15.52) ...
Setting up linux-headers-2.6.28-15-server (2.6.28-15.52) ...

Luego de la instalacionVMware deberia de encontrar automaticamente el path de los C headers.

Terminos de busqueda

  • vmware logo
  • What is the location of the directory of C header files that match your running kernel?
  • what is the location of the directory of c header files that match your running kernel
  • what is the location of the directory of c header files that match your running
  • What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
  • logo vmware
  • what is the location of the directory of c header files that match your running kernel ubuntu
  • The path /usr/src/linux/include is not an existing directory
  • what is the location of the directory of c header files that match your running kernel ubuntu 10 10
  • what is the location of the directory of c header files that match your running kernel fedora 13
  • 4 Comments

    1. fher98 13/11/2009
    2. hugo 08/08/2011
    3. Luis Robles 02/03/2012
      • fher98 02/03/2012

    Comentario, Preguntas o agradecimientos?

    %d bloggers like this: