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.

Popularity: 3% [?]


Otros articulos de interes:

  1. Instalar el codigo fuente del Kernel de Redhat Enterprise Linux / CentOS para VMware
  2. Cómo usar 4 GB de RAM en Ubuntu 8.10: Intrepid Ibex
  3. Como utilizar mas de 4 GB de RAM en Debian/Ubuntu
  4. CentOs DRBD Kernel conflicts
  5. Ubuntu lanza parche para corregir fallo en el kernel
  6. Convertir imagenes de discos IMG a ISO en Linux Debian/Ubuntu
  7. Como instalar la tarjeta wireless Broadcom en Ubuntu 9.10
  8. MadWifi – Instalando Atheros Wireless Card sobre Linux
  9. Actualizacion Critica del Kernel de Red Hat Enterprise Linux
  10. Cómo utilizar apt-get/aptitude detrás del servidor proxy – Debian/Ubuntu

Etiquetado como: , , , , , , , , , ,

1 Comentario

  1. Si luego de actualizar a un nuevo kernel e instalar los headers, nos despliega:

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The path “/usr/src/linux/include” is not an existing directory.

    Solo es necesario agregarle, el directorio de los headers del nuevo kernel, en mi caso:

    /lib/modules/2.6.28-16-server/build/include

    Ya que tengo instalado ubuntu server

Por favor, escriba un comentario

Por favor tome en cuenta lo siguiente:
Los comentarios son moderados, por lo cual puede tardar en ser publicados. No hay necesidad de repetir su comentario.
Su correo electronico nunca sera revelado.

Terminos de busqueda


  • what is the location of the directory of c header files that match your running kernel fedora 13
  • kernel header path fedora 13
  • searching for a valid kernel header path
  • What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
  • directorio encabezados kernel fedora
  • C header files that match your running kernel
  • localizar el directorio del kernel fedora13
  • What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path /usr/src/linux/include is not an existing directory fedora13
  • header files in fedora 13
  • Searching for a valid kernel header path ubuntu
  • kernel headers vmware fedora
  • What is the location of the directory of C header files that match your running
  • fedora 13 The path /usr/src/linux/include is not an existing directory
  • Searching for a valid kernel header path vmware tools
  • Searching for a valid kernel header path The path is not valid Fedora
  • Searching for a valid kernel header path The path is not valid
  • ubuntu running kernel header c is not valid
  • searching for a valid kernel header path rhel
  • ubuntu The path is not valid vmware
  • searching for a valid kernel header path fedora
  • searching for a valid kernel header
  • path header file linux kernel vmware
  • path C header mandriva
  • mandriva vmware header files installation
  • mandriva Searching for a valid kernel header path
  • mandriva 2010 c header files kernel
  • location of the directory of C header files that match
  • location of the directory of C header
  • ubuntu vmtools install valid kernel header path
  • ubuntu vmware the path /usr/src/linux is not an existing directory
  • what is location c header fedora 13
  • what is the location of the directory fedora 13
  • what is the location of the directory of c header files that match you running kernel fedora13
  • What is the location of the directory of C header files that match your running kernel? fedoa 13
  • What is the location of the directory of C header files that match your running debian lenny
  • 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 fedora?
  • What is the location of the directory of C header files that match your running kernel?- on mandriva
  • What is the location of the directory of C header files that match your runningdebian
  • VMware7 What is the location of the directory of C header files that match your running
  • vmware7 fedora 13 What is the location of the directory of C header files that match your running kernel
  • valid c header path fedora
  • vmware 7 0 fedora 13 vmware tools install errorkernel headers
  • vmware fedora 13
  • vmware fedora Searching for a valid kernel header path
  • vmware lunux localition of the directory c
  • VMware server What is the location of the directory of C header files that match your running kernel?
  • vmware the path is not valid fedora 13
  • vmware tools headers kernel
  • vmware valid kernel header fedora
  • what is the location of the directory of the c header files fedora 13
  • /usr/src/linux/include is not existing directory fedora vware
  • debian vmware what is the location of the directory of C header files
  • directory c header file backtrack
  • directory of c header file in red hat
  • error kernel headers vmware server
  • fedora 13 c header directory
  • fedora 13 kernel header path
  • fedora 13 kernel headers
  • /usr/src/kernels/linux c header